Title: Add nargs='...' to the reference of add_argument in argparse · Issue #101472 · python/cpython · GitHub
Open Graph Title: Add nargs='...' to the reference of add_argument in argparse · Issue #101472 · python/cpython
X Title: Add nargs='...' to the reference of add_argument in argparse · Issue #101472 · python/cpython
Description: Documentation The reference for the nargs parameter of add_argument does not include the case when nargs is '...'. A pull request is provided that adds this case to the documentation, including an example of the use. Linked PRs gh-101473
Open Graph Description: Documentation The reference for the nargs parameter of add_argument does not include the case when nargs is '...'. A pull request is provided that adds this case to the documentation, including an ...
X Description: Documentation The reference for the nargs parameter of add_argument does not include the case when nargs is '...'. A pull request is provided that adds this case to the documentation, inclu...
Opengraph URL: https://github.com/python/cpython/issues/101472
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add nargs='...' to the reference of add_argument in argparse","articleBody":"# Documentation\r\n\r\nThe [reference](https://docs.python.org/3/library/argparse.html#nargs) for the `nargs` parameter of `add_argument` does not include the case when `nargs` is `'...'`. A pull request is provided that adds this case to the documentation, including an example of the use.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-101473\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ppaez","@type":"Person","name":"ppaez"},"datePublished":"2023-01-31T18:08:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/101472/cpython/issues/101472"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a86da5e2-b941-5ef4-c828-3fccce745e6d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 843A:318A18:ABDF71:F2E0B5:696A5FF2 |
| html-safe-nonce | fc0652934a2725345561655ef007cc02f046c5fca157055551fd355d4ac5aaf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDNBOjMxOEExODpBQkRGNzE6RjJFMEI1OjY5NkE1RkYyIiwidmlzaXRvcl9pZCI6IjMzNjU0Nzc1Mjk1NjcyNTY1NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 68f0a7beef4604d6eaf8c9aa8c505f703f3d1f5d4724f4ea091a22fce5d7ea68 |
| hovercard-subject-tag | issue:1564784955 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/101472/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc9352d4b49e76ac6167d7125cb7bf3b5cc505ca80787d05f5fdf34ae90c58cf/python/cpython/issues/101472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc9352d4b49e76ac6167d7125cb7bf3b5cc505ca80787d05f5fdf34ae90c58cf/python/cpython/issues/101472 |
| og:image:alt | Documentation The reference for the nargs parameter of add_argument does not include the case when nargs is '...'. A pull request is provided that adds this case to the documentation, including an ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppaez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width