Message187206
By the way, parser.parse_args() uses parse_known_arg(). parse_known_args returns a Namespace and a list of unknown arguments. If that list is empty, parse_args returns the Namespace. If the list is not empty, parse_args raises an error.
So parse_known_args does not change how arguments are parsed. It just changes how the unknowns are handled. |
|
Date |
User |
Action |
Args |
2013-04-17 20:33:57 | paul.j3 | set | recipients:
+ paul.j3, jaraco, eric.araujo, chris.jerdonek, idank, rr2do2, Michael.Edwards |
2013-04-17 20:33:57 | paul.j3 | set | messageid: <1366230837.86.0.0358928161189.issue14174@psf.upfronthosting.co.za> |
2013-04-17 20:33:57 | paul.j3 | link | issue14174 messages |
2013-04-17 20:33:57 | paul.j3 | create | |
|