Implement type[...]
This commit is contained in:
1 parent
0702da22f2
commit
418598d8c1
4 files changed
+22
-1
No files matched your search
@@ -149,6 +149,10 @@ class InferenceState:
|
||||
def typing_tuple(self):
|
||||
return self.typing_module.py__getattribute__("Tuple")
|
||||
|
||||
@inference_state_function_cache()
|
||||
def typing_type(self):
|
||||
return self.typing_module.py__getattribute__("Type")
|
||||
|
||||
def reset_recursion_limitations(self):
|
||||
self.recursion_detector = recursion.RecursionDetector()
|
||||
self.execution_recursion_detector = recursion.ExecutionRecursionDetector(self)
|
||||
|
||||
Reference in new issue
Block a user