Skip to content

Commit 22c956d

Browse files
committed
Rename 'idobj' to 'id' in _interpretersmodule.c
1 parent 2f44a95 commit 22c956d

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

Modules/_interpretersmodule.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,25 +1376,24 @@ _interpreters_is_running_impl(PyObject *module, PyObject *id, int restrict)
13761376

13771377
/*[clinic input]
13781378
_interpreters.get_config
1379-
id as idobj: object
1379+
id: object
13801380
*
13811381
restrict: bool = False
13821382
13831383
Return a representation of the config used to initialize the interpreter.
13841384
[clinic start generated code]*/
13851385

13861386
static PyObject *
1387-
_interpreters_get_config_impl(PyObject *module, PyObject *idobj,
1388-
int restrict)
1389-
/*[clinic end generated code: output=eb69d3a5cafb6b17 input=57c06ac75061acf0]*/
1387+
_interpreters_get_config_impl(PyObject *module, PyObject *id, int restrict)
1388+
/*[clinic end generated code: output=b739277cc30cf365 input=d268b92b96b0712b]*/
13901389
{
1391-
if (idobj == Py_None) {
1392-
idobj = NULL;
1390+
if (id == Py_None) {
1391+
id = NULL;
13931392
}
13941393

13951394
int reqready = 0;
13961395
PyInterpreterState *interp = \
1397-
resolve_interp(idobj, restrict, reqready, "get the config of");
1396+
resolve_interp(id, restrict, reqready, "get the config of");
13981397
if (interp == NULL) {
13991398
return NULL;
14001399
}

Modules/clinic/_interpretersmodule.c.h

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

0 commit comments

Comments
 (0)