@@ -260,8 +260,8 @@ importlib.import_module() to programmatically import a module.
260
260
261
261
The globals argument is only used to determine the context;
262
262
they are not modified. The locals argument is unused. The fromlist
263
- should be a list of names to emulate ``from name import ...'' , or an
264
- empty list to emulate ``import name'' .
263
+ should be a list of names to emulate ``from name import ...`` , or an
264
+ empty list to emulate ``import name`` .
265
265
When importing a module from a package, note that __import__('A.B', ...)
266
266
returns package A when fromlist is empty, but its submodule B when
267
267
fromlist is not empty. The level argument is used to determine whether to
@@ -272,7 +272,7 @@ is the number of parent directories to search relative to the current module.
272
272
static PyObject *
273
273
builtin___import___impl (PyObject * module , PyObject * name , PyObject * globals ,
274
274
PyObject * locals , PyObject * fromlist , int level )
275
- /*[clinic end generated code: output=4febeda88a0cd245 input=35e9a6460412430f ]*/
275
+ /*[clinic end generated code: output=4febeda88a0cd245 input=73f4b960ea5b9dd6 ]*/
276
276
{
277
277
return PyImport_ImportModuleLevelObject (name , globals , locals ,
278
278
fromlist , level );
@@ -1509,13 +1509,13 @@ setattr as builtin_setattr
1509
1509
1510
1510
Sets the named attribute on the given object to the specified value.
1511
1511
1512
- setattr(x, 'y', v) is equivalent to ``x.y = v''
1512
+ setattr(x, 'y', v) is equivalent to ``x.y = v``
1513
1513
[clinic start generated code]*/
1514
1514
1515
1515
static PyObject *
1516
1516
builtin_setattr_impl (PyObject * module , PyObject * obj , PyObject * name ,
1517
1517
PyObject * value )
1518
- /*[clinic end generated code: output=dc2ce1d1add9acb4 input=bd2b7ca6875a1899 ]*/
1518
+ /*[clinic end generated code: output=dc2ce1d1add9acb4 input=5e26417f2e8598d4 ]*/
1519
1519
{
1520
1520
if (PyObject_SetAttr (obj , name , value ) != 0 )
1521
1521
return NULL ;
@@ -1532,12 +1532,12 @@ delattr as builtin_delattr
1532
1532
1533
1533
Deletes the named attribute from the given object.
1534
1534
1535
- delattr(x, 'y') is equivalent to ``del x.y''
1535
+ delattr(x, 'y') is equivalent to ``del x.y``
1536
1536
[clinic start generated code]*/
1537
1537
1538
1538
static PyObject *
1539
1539
builtin_delattr_impl (PyObject * module , PyObject * obj , PyObject * name )
1540
- /*[clinic end generated code: output=85134bc58dff79fa input=db16685d6b4b9410 ]*/
1540
+ /*[clinic end generated code: output=85134bc58dff79fa input=164865623abe7216 ]*/
1541
1541
{
1542
1542
if (PyObject_SetAttr (obj , name , (PyObject * )NULL ) != 0 )
1543
1543
return NULL ;
0 commit comments