Message341939
Ryan, I have reviewed the documentation at https://docs.python.org/3/library/argparse.html#nargs and must admit that there is not a definitive answer that I can see regarding the defined behavior should there be no command line arguments that are in fact remaining. One could certainly argue that the empty list is the expression of the fact that no remaining arguments could be found. One can also argue that when seeking the remaining arguments, a list that may be zero to many elements in size, that by definition there cannot be a default.
Can you cite any documentation that would support your claim? |
|
Date |
User |
Action |
Args |
2019-05-08 20:15:15 | mblahay | set | recipients:
+ mblahay, bethard, paul.j3, rgov |
2019-05-08 20:15:15 | mblahay | set | messageid: <1557346515.75.0.955983412541.issue35495@roundup.psfhosted.org> |
2019-05-08 20:15:15 | mblahay | link | issue35495 messages |
2019-05-08 20:15:15 | mblahay | create | |
|