| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:14be21a7-377b-8888-c080-3e40d743ff04 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC66:397C3B:B993C:FB411:6A51CEEF |
| html-safe-nonce | 090bed397df9b43047c3142f6b7b6e7df2a19ea51c790e7314d695c3ef45235b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzY2OjM5N0MzQjpCOTkzQzpGQjQxMTo2QTUxQ0VFRiIsInZpc2l0b3JfaWQiOiI4MDAxNjE5ODY4MDU2MTYzNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0fb4f892c8832ee04655ebb648af2f416fbfc478b5226929c6ab29efbd058b49 |
| hovercard-subject-tag | pull_request:309581232 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/15362/files |
| twitter:image | https://avatars.githubusercontent.com/u/9103416?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9103416?s=400&v=4 |
| og:image:alt | Co-Authored-by: Xuanji Li xuanji@gmail.com
https://bugs.python.org/issue9938
Automerge-Triggered-By: @matrixise |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/15362/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15362%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15362%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/15362/files |
| Reload | https://github.com/python/cpython/pull/15362/files |
| Reload | https://github.com/python/cpython/pull/15362/files |
| Please reload this page | https://github.com/python/cpython/pull/15362/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/15362/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| miss-islington | https://github.com/miss-islington |
| python:master | https://github.com/python/cpython/tree/master |
| shihai1991:bpo_9938 | https://github.com/shihai1991/cpython/tree/bpo_9938 |
|
Conversation
28
| https://github.com/python/cpython/pull/15362 |
|
Commits
12
| https://github.com/python/cpython/pull/15362/commits |
|
Checks
0
| https://github.com/python/cpython/pull/15362/checks |
|
Files changed
| https://github.com/python/cpython/pull/15362/files |
| Please reload this page | https://github.com/python/cpython/pull/15362/files |
|
bpo-9938: Add optional keyword argument exit_on_error to argparse.ArgumentParser
| https://github.com/python/cpython/pull/15362/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/15362/files |
|
c1c85e1
Improving interactive use of argparse
shihai1991 Aug 21, 2019
| https://github.com/python/cpython/pull/15362/commits/c1c85e1331065d26cbdf9d924231440bd17ad706 |
|
948e135
📜🤖 Added by blurb_it.
blurb-it[bot] Aug 21, 2019
| https://github.com/python/cpython/pull/15362/commits/948e135d4172307e679846cf8ee2d0121c7caf1f |
|
07336d5
update desc
shihai1991 Aug 22, 2019
| https://github.com/python/cpython/pull/15362/commits/07336d58d31f7c23fd3557d57e949cad9857d1e8 |
|
8cb0b26
Update Lib/argparse.py
shihai1991 Aug 23, 2019
| https://github.com/python/cpython/pull/15362/commits/8cb0b262f8a82fa473a6d55288e538b04a28077d |
|
a163c4a
Update Doc/library/argparse.rst
shihai1991 Aug 23, 2019
| https://github.com/python/cpython/pull/15362/commits/a163c4a0a88048ec77f0483f0149ddc664728769 |
|
bdecd79
add argument examples
shihai1991 Aug 23, 2019
| https://github.com/python/cpython/pull/15362/commits/bdecd7955b8e9fcef3fd2841e71e9178e552439d |
|
1eadaee
update argument's desc
shihai1991 Aug 23, 2019
| https://github.com/python/cpython/pull/15362/commits/1eadaeea9db43152feea03ad4b92620ba113e917 |
|
25924d1
update detail of colon
shihai1991 Aug 23, 2019
| https://github.com/python/cpython/pull/15362/commits/25924d1501fb61d139bf9c749df7d5b173e61312 |
|
872b47a
Update Doc/library/argparse.rst
shihai1991 Aug 24, 2019
| https://github.com/python/cpython/pull/15362/commits/872b47a44317edc087c4832efc4f0978560a64cb |
|
facfb4c
Update Doc/library/argparse.rst
shihai1991 Aug 24, 2019
| https://github.com/python/cpython/pull/15362/commits/facfb4cce127b996803e06f5c3368daded2ae483 |
|
aee9372
update desc of exit_on_error in argparse
shihai1991 Sep 12, 2019
| https://github.com/python/cpython/pull/15362/commits/aee9372f4deec3b0eb6313443a45f51c568f4eb0 |
|
03451ed
Fix typo
matrixise Sep 12, 2019
| https://github.com/python/cpython/pull/15362/commits/03451ed51a544110e3abf0a2e4f41abaa1949728 |
|
Clear filters
| https://github.com/python/cpython/pull/15362/files |
| Please reload this page | https://github.com/python/cpython/pull/15362/files |
| Please reload this page | https://github.com/python/cpython/pull/15362/files |
|
argparse.rst
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
argparse.py
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
test_argparse.py
| https://github.com/python/cpython/pull/15362/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1 |
|
2019-08-21-16-38-56.bpo-9938.t3G7N9.rst
| https://github.com/python/cpython/pull/15362/files#diff-b4d94b173c2a3a67c4a805feb9ec23843c8df6c7d95fe9c17e8c3ad62ed9d203 |
| Doc/library/argparse.rst | https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
View file
| https://github.com/shihai1991/cpython/blob/03451ed51a544110e3abf0a2e4f41abaa1949728/Doc/library/argparse.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15362/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
|
| https://github.com/python/cpython/pull/15362/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7 |
| Lib/argparse.py | https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
View file
| https://github.com/shihai1991/cpython/blob/03451ed51a544110e3abf0a2e4f41abaa1949728/Lib/argparse.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15362/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
|
| https://github.com/python/cpython/pull/15362/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479 |
| Lib/test/test_argparse.py | https://github.com/python/cpython/pull/15362/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1 |
|
View file
| https://github.com/shihai1991/cpython/blob/03451ed51a544110e3abf0a2e4f41abaa1949728/Lib/test/test_argparse.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15362/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15362/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1 |
|
| https://github.com/python/cpython/pull/15362/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1 |
| Misc/NEWS.d/next/Library/2019-08-21-16-38-56.bpo-9938.t3G7N9.rst | https://github.com/python/cpython/pull/15362/files#diff-b4d94b173c2a3a67c4a805feb9ec23843c8df6c7d95fe9c17e8c3ad62ed9d203 |
|
View file
| https://github.com/shihai1991/cpython/blob/03451ed51a544110e3abf0a2e4f41abaa1949728/Misc/NEWS.d/next/Library/2019-08-21-16-38-56.bpo-9938.t3G7N9.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15362/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |