Claim support for Python 3.12

This commit is contained in:
Peter Law
2023-09-16 21:41:06 +01:00
parent 29890c1f29
commit 770cdade00
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class InferenceState:
self.compiled_subprocess = environment.get_inference_state_subprocess(self)
self.grammar = environment.get_grammar()
self.latest_grammar = parso.load_grammar(version='3.11')
self.latest_grammar = parso.load_grammar(version='3.12')
self.memoize_cache = {} # for memoize decorators
self.module_cache = imports.ModuleCache() # does the job of `sys.modules`.
self.stub_module_cache = {} # Dict[Tuple[str, ...], Optional[ModuleValue]]