Make parso work at least somewhat with an older Jedi version

This commit is contained in:
Dave Halter
2019-06-20 20:33:14 +02:00
parent 3fa8630ba9
commit 803cb5f25f

View File

@@ -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.