From 803cb5f25fcee525c4eac1242d64e5327cde2b47 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 20 Jun 2019 20:33:14 +0200 Subject: [PATCH] Make parso work at least somewhat with an older Jedi version --- parso/python/tree.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parso/python/tree.py b/parso/python/tree.py index f5d17d5..baf2226 100644 --- a/parso/python/tree.py +++ b/parso/python/tree.py @@ -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.