summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-08-06 20:34:44 (GMT)
committerBrett Cannon <brett@python.org>2012-08-06 20:34:44 (GMT)
commitcb4996afe4952e219d13bbb5a84162ab1aaa6887 (patch)
treec4d7cd79f10e23fc3c369d6d5636e0ed24182acb /Doc/library/functions.rst
parent638de338e66b6e84a98c7bd8f6f6959575b53c51 (diff)
downloadcpython-cb4996afe4952e219d13bbb5a84162ab1aaa6887.zip
cpython-cb4996afe4952e219d13bbb5a84162ab1aaa6887.tar.gz
cpython-cb4996afe4952e219d13bbb5a84162ab1aaa6887.tar.bz2
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index e7ee51b..212b4e1 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1443,7 +1443,7 @@ are always available. They are listed here in alphabetical order.
True
-.. function:: __import__(name, globals={}, locals={}, fromlist=[], level=0)
+.. function:: __import__(name, globals=None, locals=None, fromlist=(), level=0)
.. index::
statement: import