Skip to content

Commit 073e2ff

Browse files
committed
Undo docstring changes
1 parent be2fe07 commit 073e2ff

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Modules/_interpretersmodule.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -862,14 +862,14 @@ typically by using _interpreters.destroy(). This can be managed
862862
automatically by passing "reqrefs=True" and then using _incref() and
863863
_decref() appropriately.
864864
865-
*config* must be a valid interpreter config or the name of a
865+
"config" must be a valid interpreter config or the name of a
866866
predefined config ('isolated' or 'legacy'). The default
867867
is 'isolated'.
868868
[clinic start generated code]*/
869869

870870
static PyObject *
871871
_interpreters_create_impl(PyObject *module, PyObject *configobj, int reqrefs)
872-
/*[clinic end generated code: output=c1cc6835b1277c16 input=7d7dbdefcd992b7e]*/
872+
/*[clinic end generated code: output=c1cc6835b1277c16 input=74f4d259e9f6f3d0]*/
873873
{
874874
PyInterpreterConfig config;
875875
if (config_from_object(configobj, &config) < 0) {
@@ -1121,7 +1121,7 @@ This is equivalent to running the builtin exec() under the target
11211121
interpreter, using the __dict__ of its __main__ module as both
11221122
globals and locals.
11231123
1124-
*code* may be a string containing the text of a Python script.
1124+
"code" may be a string containing the text of a Python script.
11251125
11261126
Functions (and code objects) are also supported, with some restrictions.
11271127
The code/function must not take any arguments or be a closure
@@ -1134,7 +1134,7 @@ is ignored, including its __globals__ dict.
11341134
static PyObject *
11351135
_interpreters_exec_impl(PyObject *module, PyObject *id, PyObject *code,
11361136
PyObject *shared, int restricted)
1137-
/*[clinic end generated code: output=492057c4f10dc304 input=8e0199d4a220bbb8]*/
1137+
/*[clinic end generated code: output=492057c4f10dc304 input=687f3f6ac5294593]*/
11381138
{
11391139
PyThreadState *tstate = _PyThreadState_GET();
11401140
int reqready = 1;
@@ -1511,13 +1511,13 @@ _interpreters.capture_exception
15111511
15121512
Return a snapshot of an exception.
15131513
1514-
If *exc* is None then the current exception, if any, is used (but not cleared).
1514+
If "exc" is None then the current exception, if any, is used (but not cleared).
15151515
The returned snapshot is the same as what _interpreters.exec() returns.
15161516
[clinic start generated code]*/
15171517

15181518
static PyObject *
15191519
_interpreters_capture_exception_impl(PyObject *module, PyObject *exc_arg)
1520-
/*[clinic end generated code: output=ef3f5393ef9c88a6 input=5ffe1ced0ec8e093]*/
1520+
/*[clinic end generated code: output=ef3f5393ef9c88a6 input=e67d59d7fbb6d58c]*/
15211521
{
15221522
PyObject *exc = exc_arg;
15231523
if (exc == NULL || exc == Py_None) {

Modules/clinic/_interpretersmodule.c.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)