add an empty IsScope class to match all scopes

This commit is contained in:
David Halter committed 2013-02-14 20:54:26 +04:00
1 parent 52b32a01c1
commit cda84dc92a
3 files changed
+9 -5

No files matched your search

+5 -1
View File
@@ -97,7 +97,11 @@ class Simple(Base):
(type(self).__name__, code, self.start_pos[0])
class Scope(Simple):
class IsScope(Base):
pass
class Scope(Simple, IsScope):
"""
Super class for the parser tree, which represents the state of a python
text file.