@@ -183,31 +183,32 @@ static PyMethodDef functions[] = {
183
183
"Check whether the current X11 or Wayland display is valid.\n\n"
184
184
"On Linux, returns True if either $DISPLAY is set and XOpenDisplay(NULL)\n"
185
185
"succeeds, or $WAYLAND_DISPLAY is set and wl_display_connect(NULL)\n"
186
- "succeeds. On other platforms, always returns True." },
186
+ "succeeds.\n\n"
187
+ "On other platforms, always returns True." },
187
188
{"Win32_GetCurrentProcessExplicitAppUserModelID" ,
188
189
(PyCFunction )mpl_GetCurrentProcessExplicitAppUserModelID , METH_NOARGS ,
189
190
"Win32_GetCurrentProcessExplicitAppUserModelID()\n--\n\n"
190
- "Wrapper for Windows's GetCurrentProcessExplicitAppUserModelID. On \n"
191
- "non-Windows platforms, always returns None." },
191
+ "Wrapper for Windows's GetCurrentProcessExplicitAppUserModelID.\n \n"
192
+ "On non-Windows platforms, always returns None." },
192
193
{"Win32_SetCurrentProcessExplicitAppUserModelID" ,
193
194
(PyCFunction )mpl_SetCurrentProcessExplicitAppUserModelID , METH_O ,
194
195
"Win32_SetCurrentProcessExplicitAppUserModelID(appid, /)\n--\n\n"
195
- "Wrapper for Windows's SetCurrentProcessExplicitAppUserModelID. On \n"
196
- "non-Windows platforms, a no-op ." },
196
+ "Wrapper for Windows's SetCurrentProcessExplicitAppUserModelID.\n \n"
197
+ "On non-Windows platforms, does nothing ." },
197
198
{"Win32_GetForegroundWindow" ,
198
199
(PyCFunction )mpl_GetForegroundWindow , METH_NOARGS ,
199
200
"Win32_GetForegroundWindow()\n--\n\n"
200
- "Wrapper for Windows' GetForegroundWindow. On non-Windows platforms, \n"
201
- "always returns None." },
201
+ "Wrapper for Windows' GetForegroundWindow.\n \n"
202
+ "On non-Windows platforms, always returns None." },
202
203
{"Win32_SetForegroundWindow" ,
203
204
(PyCFunction )mpl_SetForegroundWindow , METH_O ,
204
205
"Win32_SetForegroundWindow(hwnd, /)\n--\n\n"
205
- "Wrapper for Windows' SetForegroundWindow. On non-Windows platforms, \n"
206
- "a no-op ." },
206
+ "Wrapper for Windows' SetForegroundWindow.\n \n"
207
+ "On non-Windows platforms, does nothing ." },
207
208
{"Win32_SetProcessDpiAwareness_max" ,
208
209
(PyCFunction )mpl_SetProcessDpiAwareness_max , METH_NOARGS ,
209
210
"Win32_SetProcessDpiAwareness_max()\n--\n\n"
210
- "Set Windows' process DPI awareness to best option available.\n"
211
+ "Set Windows' process DPI awareness to best option available.\n\n "
211
212
"On non-Windows platforms, does nothing." },
212
213
{NULL , NULL }}; // sentinel.
213
214
static PyModuleDef util_module = {
0 commit comments