@@ -73,21 +73,21 @@ class FullConstructor(SafeConstructor):
7373 def construct_python_long (self , node ): ...
7474 def construct_python_complex (self , node ): ...
7575 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 ): ...
7878 def construct_python_name (self , suffix , node ): ...
7979 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 : ...
8282 def construct_python_object (self , suffix , node ): ...
8383 def construct_python_object_apply (self , suffix , node , newobj = False ): ...
8484 def construct_python_object_new (self , suffix , node ): ...
8585
8686class 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]
9191
9292class Constructor (SafeConstructor ):
9393 def construct_python_str (self , node ): ...
0 commit comments