File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -261,25 +261,4 @@ def kwdict(self):
261
261
break
262
262
263
263
kwdict [option ] += alias .value
264
-
265
- # # Support short-form parameter names specified in kwargs.
266
- # # Short-form parameters can be either one-letter (e.g., '-B'), or two-letters
267
- # # (e.g., '-Td').
268
- # for option, value in self.options.items():
269
- # # Here, we assume that long-form parameters specified in kwargs are longer
270
- # # than two characters. Sometimes, we may use parameter like 'az', but it's
271
- # # not specified in kwargs. So, the assumption is still valid.
272
- # if len(option) > 2:
273
- # continue
274
-
275
- # # Two cases for short-form parameters:
276
- # #
277
- # # If it has an alias and the long-form parameter is also specified, (e.g.,
278
- # # 'projection="X10c", J="X10c"'), then we silently ignore the short-form
279
- # # parameter.
280
- # #
281
- # # If it has an alias but the long-form parameter is not specified, or it
282
- # # doesn't has an alias, then we use the value of the short-form parameter.
283
- # if option not in self.options or option not in kwdict:
284
- # kwdict[option] = value
285
264
return kwdict
You can’t perform that action at this time.
0 commit comments