mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-09 06:04:54 +08:00
Make parso work at least somewhat with an older Jedi version
This commit is contained in:
@@ -1213,6 +1213,11 @@ class SyncCompFor(PythonBaseNode):
|
|||||||
return _defined_names(self.children[1])
|
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):
|
class UsedNamesMapping(Mapping):
|
||||||
"""
|
"""
|
||||||
This class exists for the sole purpose of creating an immutable dict.
|
This class exists for the sole purpose of creating an immutable dict.
|
||||||
|
|||||||
Reference in New Issue
Block a user