Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 78456:4240282a9f4a
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Mon, 06 Aug 2012 16:34:44 -0400 |
| parents | 2a4ca86cc2b7 |
| children | e4877d59613d |
line wrap: on
line diff
--- a/Python/bltinmodule.c Mon Aug 06 16:08:40 2012 -0400 +++ b/Python/bltinmodule.c Mon Aug 06 16:34:44 2012 -0400 @@ -195,7 +195,7 @@ } 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\
