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

@@ -300,7 +300,7 @@ class Script(object):
definitions = [user_stmt]
return definitions, search_name
def related_names(self, additional_module_paths=[]):
def related_names(self, additional_module_paths=()):
"""
Return :class:`api_classes.RelatedName` objects, which contain all
names that point to the definition of the name under the cursor. This