forked from VimPlug/jedi
move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment
This commit is contained in:
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user