Fix pycode becomes slow

On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag.
This commit is contained in:
Takeshi KOMIYA 2020-11-26 02:48:44 +09:00
parent c941b9cb14
commit 3e7ae1efe6

View File

@ -179,7 +179,7 @@ class ModuleAnalyzer:
self.overloads = parser.overloads
self.tags = parser.definitions
self.tagorder = parser.deforders
self._parsed = True
self._analyzed = True
except Exception as exc:
raise PycodeError('parsing %r failed: %r' % (self.srcname, exc)) from exc