File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ def unregister_command_set(self, cmdset: CommandSet) -> None:
778
778
cmdset .on_unregister ()
779
779
self ._unregister_subcommands (cmdset )
780
780
781
- methods = inspect .getmembers (
781
+ methods : List [ Tuple [ str , Callable [[ Any ], Any ]]] = inspect .getmembers (
782
782
cmdset ,
783
783
predicate = lambda meth : isinstance (meth , Callable ) # type: ignore[arg-type]
784
784
and hasattr (meth , '__name__' )
@@ -809,7 +809,7 @@ def unregister_command_set(self, cmdset: CommandSet) -> None:
809
809
self ._installed_command_sets .remove (cmdset )
810
810
811
811
def _check_uninstallable (self , cmdset : CommandSet ) -> None :
812
- methods = inspect .getmembers (
812
+ methods : List [ Tuple [ str , Callable [[ Any ], Any ]]] = inspect .getmembers (
813
813
cmdset ,
814
814
predicate = lambda meth : isinstance (meth , Callable ) # type: ignore[arg-type]
815
815
and hasattr (meth , '__name__' )
You can’t perform that action at this time.
0 commit comments