mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
This commit is contained in:
parent
638de338e6
commit
cb4996afe4
6 changed files with 81 additions and 74 deletions
|
@ -63,7 +63,7 @@ Details on custom importers can be found in :pep:`302`.
|
|||
Functions
|
||||
---------
|
||||
|
||||
.. function:: __import__(name, globals={}, locals={}, fromlist=list(), level=0)
|
||||
.. function:: __import__(name, globals=None, locals=None, fromlist=(), level=0)
|
||||
|
||||
An implementation of the built-in :func:`__import__` function.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue