diff options
author | Brett Cannon <brett@python.org> | 2012-08-06 16:34:44 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-08-06 16:34:44 -0400 |
commit | cb4996afe4952e219d13bbb5a84162ab1aaa6887 (patch) | |
tree | c4d7cd79f10e23fc3c369d6d5636e0ed24182acb /Python/bltinmodule.c | |
parent | 638de338e66b6e84a98c7bd8f6f6959575b53c51 (diff) | |
download | cpython-git-cb4996afe4952e219d13bbb5a84162ab1aaa6887.tar.gz |
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3617b5a056..e6511a1ae6 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -195,7 +195,7 @@ builtin___import__(PyObject *self, PyObject *args, PyObject *kwds) } PyDoc_STRVAR(import_doc, -"__import__(name, globals={}, locals={}, fromlist=[], level=0) -> module\n\ +"__import__(name, globals=None, locals=None, fromlist=(), level=0) -> module\n\ \n\ Import a module. Because this function is meant for use by the Python\n\ interpreter and not for general use it is better to use\n\ |