@@ -1276,8 +1276,8 @@ _interpreters_run_func_impl(PyObject *module, PyObject *id, PyObject *func,
1276
1276
_interpreters.call
1277
1277
id: object
1278
1278
callable: object
1279
- args as args_obj : object(subclass_of='&PyTuple_Type', c_default='NULL') = ()
1280
- kwargs as kwargs_obj : object(subclass_of='&PyDict_Type', c_default='NULL') = {}
1279
+ args: object(subclass_of='&PyTuple_Type', c_default='NULL') = ()
1280
+ kwargs: object(subclass_of='&PyDict_Type', c_default='NULL') = {}
1281
1281
*
1282
1282
preserve_exc: bool = False
1283
1283
restrict as restricted: bool = False
@@ -1289,9 +1289,9 @@ Pass the given args and kwargs, if possible.
1289
1289
1290
1290
static PyObject *
1291
1291
_interpreters_call_impl (PyObject * module , PyObject * id , PyObject * callable ,
1292
- PyObject * args_obj , PyObject * kwargs_obj ,
1293
- int preserve_exc , int restricted )
1294
- /*[clinic end generated code: output=983ee27b3c43f6ef input=77590fdb3f519d65 ]*/
1292
+ PyObject * args , PyObject * kwargs , int preserve_exc ,
1293
+ int restricted )
1294
+ /*[clinic end generated code: output=b7a4a27d72df3ebc input=b026d0b212a575e6 ]*/
1295
1295
{
1296
1296
PyThreadState * tstate = _PyThreadState_GET ();
1297
1297
int reqready = 1 ;
@@ -1302,7 +1302,7 @@ _interpreters_call_impl(PyObject *module, PyObject *id, PyObject *callable,
1302
1302
}
1303
1303
1304
1304
struct interp_call call = {0 };
1305
- if (_interp_call_pack (tstate , & call , callable , args_obj , kwargs_obj ) < 0 ) {
1305
+ if (_interp_call_pack (tstate , & call , callable , args , kwargs ) < 0 ) {
1306
1306
return NULL ;
1307
1307
}
1308
1308
@@ -1376,25 +1376,24 @@ _interpreters_is_running_impl(PyObject *module, PyObject *id, int restricted)
1376
1376
1377
1377
/*[clinic input]
1378
1378
_interpreters.get_config
1379
- id as idobj : object
1379
+ id: object
1380
1380
*
1381
1381
restrict as restricted: bool = False
1382
1382
1383
1383
Return a representation of the config used to initialize the interpreter.
1384
1384
[clinic start generated code]*/
1385
1385
1386
1386
static PyObject *
1387
- _interpreters_get_config_impl (PyObject * module , PyObject * idobj ,
1388
- int restricted )
1389
- /*[clinic end generated code: output=63f81d35c2fe1387 input=aa38d50f534eb3c5]*/
1387
+ _interpreters_get_config_impl (PyObject * module , PyObject * id , int restricted )
1388
+ /*[clinic end generated code: output=56773353b9b7224a input=59519a01c22d96d1]*/
1390
1389
{
1391
- if (idobj == Py_None ) {
1392
- idobj = NULL ;
1390
+ if (id == Py_None ) {
1391
+ id = NULL ;
1393
1392
}
1394
1393
1395
1394
int reqready = 0 ;
1396
1395
PyInterpreterState * interp = \
1397
- resolve_interp (idobj , restricted , reqready , "get the config of" );
1396
+ resolve_interp (id , restricted , reqready , "get the config of" );
1398
1397
if (interp == NULL ) {
1399
1398
return NULL ;
1400
1399
}
0 commit comments