We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a0a8f commit b036a70Copy full SHA for b036a70
fire/helptext.py
@@ -124,12 +124,12 @@ def ReturnAllArgs(Inherit_classes_list):
124
Return: list of all arguments which is retrieved from parent classes.
125
"""
126
all_args = []
127
- if len(Inherit_classes_list)>2:
128
- for classes in Inherit_classes_list:
129
- argspec_tuple=inspect.getargspec(classes)
130
- args_list=argspec_tuple[0]
131
- for arg in args_list[1:]:
132
- all_args.append(arg)
+
+ for classes in Inherit_classes_list:
+ argspec_tuple=inspect.getargspec(classes)
+ args_list=argspec_tuple[0]
+ for arg in args_list[1:]:
+ all_args.append(arg)
133
134
return all_args
135
0 commit comments