introduce an is_scope function to make it easier to work with scopes
This commit is contained in:
1 parent
3ee3a04bcb
commit
ddca14980e
4 files changed
+12
-4
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ from jedi.parser.tokenize import (source_tokens, Token, FLOWS, NEWLINE,
|
||||
COMMENT, ENDMARKER)
|
||||
|
||||
|
||||
class Module(pr.Simple, pr.Module):
|
||||
class Module(pr.Module, pr.Simple):
|
||||
def __init__(self, parsers):
|
||||
super(Module, self).__init__(self, (1, 0))
|
||||
self.parsers = parsers
|
||||
|
||||
Reference in new issue
Block a user