1
0
forked from VimPlug/jedi

move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment

This commit is contained in:
David Halter
2013-02-11 01:21:51 +01:00
parent f423de1956
commit 52b32a01c1
4 changed files with 11 additions and 11 deletions

View File

@@ -318,7 +318,7 @@ def strip_imports(scopes):
@cache.cache_star_import
def remove_star_imports(scope, ignored_modules=[]):
def remove_star_imports(scope, ignored_modules=()):
"""
Check a module for star imports:
>>> from module import *