]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-150285: Fix too long docstrings in _wmi.exec_query (GH-150373) (GH-150520...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 May 2026 18:22:45 +0000 (21:22 +0300)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 18:22:45 +0000 (18:22 +0000)
(cherry picked from commit 40c80434a68613403ecf278ae0744ffd0867490c)

(cherry picked from commit fbeafc062e55a52ba7369c36be0b3eb34eabb560)

PC/_wmimodule.cpp
PC/clinic/_wmimodule.cpp.h

index 58cb9a8c463ed8725250a649bfa29d14583b7adb..251088253f66a5e7ac96f108331c86eed761402f 100644 (file)
@@ -230,13 +230,13 @@ _wmi.exec_query
 
 Runs a WMI query against the local machine.
 
-This returns a single string with 'name=value' pairs in a flat array separated
-by null characters.
+This returns a single string with 'name=value' pairs in a flat array
+separated by null characters.
 [clinic start generated code]*/
 
 static PyObject *
 _wmi_exec_query_impl(PyObject *module, PyObject *query)
-/*[clinic end generated code: output=a62303d5bb5e003f input=48d2d0a1e1a7e3c2]*/
+/*[clinic end generated code: output=a62303d5bb5e003f input=a8d5710acdfbf515]*/
 
 /*[clinic end generated code]*/
 {
index fccf3d795d5340856d51509e5778f7625792bfb9..73d93ed9eafc45d179e603a9a961bcd726b1e705 100644 (file)
@@ -14,8 +14,8 @@ PyDoc_STRVAR(_wmi_exec_query__doc__,
 "\n"
 "Runs a WMI query against the local machine.\n"
 "\n"
-"This returns a single string with \'name=value\' pairs in a flat array separated\n"
-"by null characters.");
+"This returns a single string with \'name=value\' pairs in a flat array\n"
+"separated by null characters.");
 
 #define _WMI_EXEC_QUERY_METHODDEF    \
     {"exec_query", _PyCFunction_CAST(_wmi_exec_query), METH_FASTCALL|METH_KEYWORDS, _wmi_exec_query__doc__},
@@ -69,4 +69,4 @@ _wmi_exec_query(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObj
 exit:
     return return_value;
 }
-/*[clinic end generated code: output=ba04920d127f3ceb input=a9049054013a1b77]*/
+/*[clinic end generated code: output=fefbbab59fa1584b input=a9049054013a1b77]*/