mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-25 22:17:21 +08:00
Make parso work at least somewhat with an older Jedi version
This commit is contained in:
1 parent
3fa8630ba9
commit
803cb5f25f
1 file changed
+5
@@ -1213,6 +1213,11 @@ class SyncCompFor(PythonBaseNode):
|
||||
return _defined_names(self.children[1])
|
||||
|
||||
|
||||
# This is simply here so an older Jedi version can work with this new parso
|
||||
# version. Can be deleted in the next release.
|
||||
CompFor = SyncCompFor
|
||||
|
||||
|
||||
class UsedNamesMapping(Mapping):
|
||||
"""
|
||||
This class exists for the sole purpose of creating an immutable dict.
|
||||
|
||||
Reference in new issue
Block a user