Message364328
I found what appears to be a very similar issue so instead of creating a new issue I will place it here as a comment.
The following code:
==
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('letter', choices=['a', 'b', 'c'], default=argparse.SUPPRESS, nargs='?')
args = parser.parse_args([])
==
results in this error:
==
usage: pok.py [-h] [{a,b,c}]
pok.py: error: argument letter: invalid choice: '==SUPPRESS==' (choose from 'a', 'b', 'c')
== |
|
| Date |
User |
Action |
Args |
| 2020-03-16 14:57:54 | jeyekomon | set | recipients:
+ jeyekomon, paul.j3, n8falke, fhsxfhsx |
| 2020-03-16 14:57:54 | jeyekomon | set | messageid: <1584370674.52.0.443727954892.issue36078@roundup.psfhosted.org> |
| 2020-03-16 14:57:54 | jeyekomon | link | issue36078 messages |
| 2020-03-16 14:57:54 | jeyekomon | create | |
|