Message222394
Apart from sorting, `_get_kwargs` does little more than:
return [k for k in action.__dict__.items() if not k[0].startswith('_')]
That is, it's the `items()` of the 'public' attributes of the action (or parser). Those attributes are already accessible to the code that is using 'argparse'. |
|
Date |
User |
Action |
Args |
2014-07-06 05:56:57 | paul.j3 | set | recipients:
+ paul.j3, dsuch, bethard, tim.golden, eric.araujo |
2014-07-06 05:56:56 | paul.j3 | set | messageid: <1404626216.94.0.25180262627.issue10190@psf.upfronthosting.co.za> |
2014-07-06 05:56:56 | paul.j3 | link | issue10190 messages |
2014-07-06 05:56:56 | paul.j3 | create | |
|