Title: gh-99735: Handle no arguments when using sub-commands in argparse by ppaez · Pull Request #99736 · python/cpython · GitHub
Open Graph Title: gh-99735: Handle no arguments when using sub-commands in argparse by ppaez · Pull Request #99736 · python/cpython
X Title: gh-99735: Handle no arguments when using sub-commands in argparse by ppaez · Pull Request #99736 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This provides a fix to improve the example in the documentation. Issue: Handle no arguments when using sub-commands in argparse #99735
X Description: This provides a fix to improve the example in the documentation. Issue: Handle no arguments when using sub-commands in argparse #99735
Opengraph URL: https://github.com/python/cpython/pull/99736
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:c8d6ab0f-7a10-bb0e-8ebc-243c2f588db8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA08:21E6C4:EDF39E:14C370D:696A3DC8 |
| html-safe-nonce | aa9d9bcbd6c58fb401f075250bb86cfcc933ae39bbaf297ecebed114047fab21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTA4OjIxRTZDNDpFREYzOUU6MTRDMzcwRDo2OTZBM0RDOCIsInZpc2l0b3JfaWQiOiI2OTQxMTgyMjM4OTQyNDQ1MDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f6c38f2dc46a6949062146ff4309a119f66360a329e3210e0ebb6c2024132227 |
| hovercard-subject-tag | pull_request:1134100119 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/99736/commits |
| twitter:image | https://opengraph.githubassets.com/941aedb0c6ce3b2639027c09581ae5a8508eedc81ce1e63fe3f5ffa3d38d9b81/python/cpython/pull/99736 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/941aedb0c6ce3b2639027c09581ae5a8508eedc81ce1e63fe3f5ffa3d38d9b81/python/cpython/pull/99736 |
| og:image:alt | This provides a fix to improve the example in the documentation. Issue: Handle no arguments when using sub-commands in argparse #99735 |
| 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 | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-cache |
| 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 | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width