@@ -73,21 +73,21 @@ class FullConstructor(SafeConstructor):
73
73
def construct_python_long (self , node ): ...
74
74
def construct_python_complex (self , node ): ...
75
75
def construct_python_tuple (self , node ): ...
76
- def find_python_module (self , name , mark , unsafe = False ): ...
77
- def find_python_name (self , name , mark , unsafe = False ): ...
76
+ def find_python_module (self , name : str , mark , unsafe : bool = False ): ...
77
+ def find_python_name (self , name : str , mark , unsafe : bool = False ): ...
78
78
def construct_python_name (self , suffix , node ): ...
79
79
def construct_python_module (self , suffix , node ): ...
80
- def make_python_instance (self , suffix , node , args = None , kwds = None , newobj = False , unsafe = False ): ...
81
- def set_python_instance_state (self , instance , state , unsafe : bool = False ) -> None : ...
80
+ def make_python_instance (self , suffix , node , args = None , kwds = None , newobj : bool = False , unsafe : bool = False ): ...
81
+ def set_python_instance_state (self , instance : Any , state , unsafe : bool = False ) -> None : ...
82
82
def construct_python_object (self , suffix , node ): ...
83
83
def construct_python_object_apply (self , suffix , node , newobj = False ): ...
84
84
def construct_python_object_new (self , suffix , node ): ...
85
85
86
86
class UnsafeConstructor (FullConstructor ):
87
- def find_python_module (self , name , mark ): ...
88
- def find_python_name (self , name , mark ): ...
89
- def make_python_instance (self , suffix , node , args = None , kwds = None , newobj = False ): ...
90
- def set_python_instance_state (self , instance , state ): ...
87
+ def find_python_module (self , name : str , mark ): ... # type: ignore[override]
88
+ def find_python_name (self , name : str , mark ): ... # type: ignore[override]
89
+ def make_python_instance (self , suffix : str , node , args = None , kwds = None , newobj : bool = False ): ... # type: ignore[override]
90
+ def set_python_instance_state (self , instance : Any , state ): ... # type: ignore[override]
91
91
92
92
class Constructor (SafeConstructor ):
93
93
def construct_python_str (self , node ): ...
0 commit comments