File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import argparse
7
7
import collections .abc as C
8
- import typing as T
8
+ import typing as ty
9
9
10
10
11
11
class SubDec :
@@ -118,7 +118,7 @@ def decorator(fn):
118
118
self .__decorators_cache [name ] = decorator_wrapper
119
119
return decorator_wrapper
120
120
121
- def __get_command (self , fn : T .Callable ):
121
+ def __get_command (self , fn : ty .Callable ):
122
122
if fn not in self .__commands :
123
123
self .__commands [fn ] = {
124
124
'name' : None ,
@@ -128,7 +128,7 @@ def __get_command(self, fn: T.Callable):
128
128
}
129
129
return self .__commands [fn ]
130
130
131
- def __create_parser (self , cmd : dict , subparsers : T .Any ):
131
+ def __create_parser (self , cmd : dict , subparsers : ty .Any ):
132
132
name = cmd ['name' ]
133
133
if not name :
134
134
name = cmd ['fn' ].__name__
You can’t perform that action at this time.
0 commit comments