1
0
forked from VimPlug/jedi

use GlobalNamespace differently

This commit is contained in:
David Halter
2013-10-07 23:50:27 +04:30
parent ea25b1489a
commit 4ea5f370eb
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -39,11 +39,11 @@ class ImportPath(pr.Base):
"""
An ImportPath is the path of a `pr.Import` object.
"""
class _GlobalNamespace(object):
class GlobalNamespace(object):
def __init__(self):
self.line_offset = 0
GlobalNamespace = _GlobalNamespace()
GlobalNamespace = GlobalNamespace()
def __init__(self, import_stmt, is_like_search=False, kill_count=0,
direct_resolve=False, is_just_from=False):