Message364328
| Author | jeyekomon |
|---|---|
| Recipients | fhsxfhsx, jeyekomon, n8falke, paul.j3 |
| Date | 2020-03-16.14:57:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1584370674.52.0.443727954892.issue36078@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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')
== |
|
| History | |||
|---|---|---|---|
| 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 | |