We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f51783 commit c7244bcCopy full SHA for c7244bc
Parser/asdl.py
@@ -112,7 +112,7 @@ def __repr__(self):
112
# interesting node.
113
# We also define a Check visitor that makes sure the parsed ASDL is well-formed.
114
115
-class VisitorBase:
+class VisitorBase(object):
116
"""Generic tree visitor for ASTs."""
117
def __init__(self):
118
self.cache = {}
@@ -137,7 +137,7 @@ class Check(VisitorBase):
137
Errors are printed and accumulated.
138
"""
139
140
- super().__init__()
+ super(Check, self).__init__()
141
self.cons = {}
142
self.errors = 0
143
self.types = {}
0 commit comments