René's URL Explorer Experiment


Title: Remove redundant if check from argparser file. by sp1rs · Pull Request #8766 · python/cpython · GitHub

Open Graph Title: Remove redundant if check from argparser file. by sp1rs · Pull Request #8766 · python/cpython

X Title: Remove redundant if check from argparser file. by sp1rs · Pull Request #8766 · python/cpython

Description: Remove redundant if check from optional argument function in argparser.

Open Graph Description: Remove redundant if check from optional argument function in argparser.

X Description: Remove redundant if check from optional argument function in argparser.

Opengraph URL: https://github.com/python/cpython/pull/8766

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d10474a1-e81d-c8a1-b29d-57c04d706fe5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA086:2A0D62:1D03B84:27D6E72:696ABB10
html-safe-nonced50855e2a94110914178950aada0b709315fa4e9c4e1267a1e8c3a1df72af687
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDg2OjJBMEQ2MjoxRDAzQjg0OjI3RDZFNzI6Njk2QUJCMTAiLCJ2aXNpdG9yX2lkIjoiNjIwMTI4MjU3OTI3MzUzMDEyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7a20bcb1abec80164beca06bd8cd25acecc508b800de8093a4ee45fadcfd9d33
hovercard-subject-tagpull_request:208388842
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/8766/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a48f0c083687fbe3da89708f0872d40c74539c0bebf4f77cc9836de55668ecbb/python/cpython/pull/8766
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a48f0c083687fbe3da89708f0872d40c74539c0bebf4f77cc9836de55668ecbb/python/cpython/pull/8766
og:image:altRemove redundant if check from optional argument function in argparser.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesp1rs
hostnamegithub.com
expected-hostnamegithub.com
None46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release30300f30bb3949de255e84a146706a3bdb5c19c9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/8766#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8766
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F8766
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/8766
Reloadhttps://github.com/python/cpython/pull/8766
Reloadhttps://github.com/python/cpython/pull/8766
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/8766
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/8766
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 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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/8766#issue-comment-box
benjaminphttps://github.com/benjaminp
python:masterhttps://github.com/python/cpython/tree/master
sp1rs:masterhttps://github.com/sp1rs/cpython/tree/master
Remove redundant if check from argparser file. https://github.com/python/cpython/pull/8766#top
benjaminphttps://github.com/benjaminp
python:masterhttps://github.com/python/cpython/tree/master
sp1rs:masterhttps://github.com/sp1rs/cpython/tree/master
Conversation 12 https://github.com/python/cpython/pull/8766
Commits 1 https://github.com/python/cpython/pull/8766/commits
Checks 0 https://github.com/python/cpython/pull/8766/checks
Files changed https://github.com/python/cpython/pull/8766/files
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sp1rs
sp1rshttps://github.com/sp1rs
Aug 14, 2018https://github.com/python/cpython/pull/8766#issue-350570273
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/sp1rs
Update argparse.pyhttps://github.com/python/cpython/pull/8766/commits/43276dd0273f321945d7fe83c8073a0e00e4a46f
43276ddhttps://github.com/python/cpython/pull/8766/commits/43276dd0273f321945d7fe83c8073a0e00e4a46f
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
Aug 14, 2018https://github.com/python/cpython/pull/8766#issuecomment-412991754
PSF contributor agreementhttps://www.python.org/psf/contrib/contrib-form/
bugs.python.orghttps://bugs.python.org/
the steps outlined in the CPython devguidehttps://devguide.python.org/pullrequest/#licensing
check yourselfhttps://check-python-cla.herokuapp.com/
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Aug 14, 2018https://github.com/python/cpython/pull/8766#event-1788657775
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 14, 2018https://github.com/python/cpython/pull/8766#event-1788657792
https://github.com/sp1rs
sp1rshttps://github.com/sp1rs
Aug 14, 2018https://github.com/python/cpython/pull/8766#issuecomment-412994889
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/andresdelfino
andresdelfinohttps://github.com/andresdelfino
Aug 14, 2018 https://github.com/python/cpython/pull/8766#ref-pullrequest-350200922
Fix line breaks in NO_CLA_TEMPLATE python/the-knights-who-say-ni#161 https://github.com/python/the-knights-who-say-ni/pull/161
https://github.com/asottile
asottilehttps://github.com/asottile
Aug 15, 2018 https://github.com/python/cpython/pull/8766#pullrequestreview-146316439
View reviewed changes https://github.com/python/cpython/pull/8766/files/43276dd0273f321945d7fe83c8073a0e00e4a46f
Lib/argparse.pyhttps://github.com/python/cpython/pull/8766/files/43276dd0273f321945d7fe83c8073a0e00e4a46f#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479
asottilehttps://github.com/asottile
Aug 15, 2018https://github.com/python/cpython/pull/8766#discussion_r210158945
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/8766
sp1rshttps://github.com/sp1rs
Aug 15, 2018https://github.com/python/cpython/pull/8766#discussion_r210228402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/8766
asottilehttps://github.com/asottile
Aug 15, 2018https://github.com/python/cpython/pull/8766#discussion_r210277480
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/8766
sp1rshttps://github.com/sp1rs
Aug 16, 2018https://github.com/python/cpython/pull/8766#discussion_r210593871
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/8766
sp1rshttps://github.com/sp1rs
Aug 17, 2018https://github.com/python/cpython/pull/8766#discussion_r210802369
Please reload this pagehttps://github.com/python/cpython/pull/8766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@asottilehttps://github.com/asottile
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Aug 16, 2018https://github.com/python/cpython/pull/8766#event-1792393015
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 16, 2018https://github.com/python/cpython/pull/8766#event-1792393056
https://github.com/asottile
asottilehttps://github.com/asottile
Aug 17, 2018 https://github.com/python/cpython/pull/8766#pullrequestreview-147095664
View reviewed changes https://github.com/python/cpython/pull/8766/files/43276dd0273f321945d7fe83c8073a0e00e4a46f
asottilehttps://github.com/asottile
https://github.com/python/cpython/pull/8766#pullrequestreview-147095664
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 17, 2018https://github.com/python/cpython/pull/8766#event-1793854434
https://github.com/sp1rs
sp1rshttps://github.com/sp1rs
Aug 24, 2018https://github.com/python/cpython/pull/8766#issuecomment-415728597
@asottilehttps://github.com/asottile
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/asottile
asottilehttps://github.com/asottile
Aug 24, 2018https://github.com/python/cpython/pull/8766#issuecomment-415751965
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/sp1rs
sp1rshttps://github.com/sp1rs
Nov 29, 2018https://github.com/python/cpython/pull/8766#issuecomment-442914167
@bedevere-bothttps://github.com/bedevere-bot
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/csabella
csabellahttps://github.com/csabella
benjaminphttps://github.com/benjaminp
merwokhttps://github.com/merwok
May 19, 2019 00:45https://github.com/python/cpython/pull/8766#event-2351198638
https://github.com/sp1rs
sp1rshttps://github.com/sp1rs
Jun 20, 2019https://github.com/python/cpython/pull/8766#issuecomment-504083826
@benjaminphttps://github.com/benjaminp
@merwokhttps://github.com/merwok
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/merwok
merwokhttps://github.com/merwok
June 20, 2019 16:03https://github.com/python/cpython/pull/8766#event-2427895205
https://github.com/benjaminp
benjaminphttps://github.com/benjaminp
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jun 21, 2019https://github.com/python/cpython/pull/8766#event-2429131913
https://github.com/benjaminp
benjaminphttps://github.com/benjaminp
b9600b0https://github.com/python/cpython/commit/b9600b0fbd71908f9fb3dd1bf78ebba6c4a16115
Jun 21, 2019https://github.com/python/cpython/pull/8766#event-2429132405
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 21, 2019https://github.com/python/cpython/pull/8766#event-2429132435
CuriousLearnerhttps://github.com/CuriousLearner
Jun 21, 2019 https://github.com/python/cpython/pull/8766#ref-commit-7bf6445
https://github.com/CuriousLearner
Merge branch 'master' into fix-issue24255https://github.com/CuriousLearner/cpython/commit/7bf6445191ff324b55b6dbf7ad9b6004607c6ffa
7bf6445https://github.com/CuriousLearner/cpython/commit/7bf6445191ff324b55b6dbf7ad9b6004607c6ffa
pythonGH-14069https://github.com/python/cpython/pull/14069
pythonGH-8766https://github.com/python/cpython/pull/8766
pythonGH-14127https://github.com/python/cpython/pull/14127
pythonGH-14253https://github.com/python/cpython/pull/14253
pythonGH-14251https://github.com/python/cpython/pull/14251
pythonGH-14269https://github.com/python/cpython/pull/14269
pythonGH-14263https://github.com/python/cpython/pull/14263
pythonGH-14260https://github.com/python/cpython/pull/14260
pythonGH-14241https://github.com/python/cpython/pull/14241
pythonGH-14239https://github.com/python/cpython/pull/14239
pythonGH-14249https://github.com/python/cpython/pull/14249
pythonGH-14246https://github.com/python/cpython/pull/14246
pythonGH-13454https://github.com/python/cpython/pull/13454
pythonGH-14240https://github.com/python/cpython/pull/14240
pythonGH-14234https://github.com/python/cpython/pull/14234
pythonGH-14229https://github.com/python/cpython/pull/14229
pythonGH-14221https://github.com/python/cpython/pull/14221
pythonGH-14222https://github.com/python/cpython/pull/14222
pythonGH-14218https://github.com/python/cpython/pull/14218
pythonGH-14216https://github.com/python/cpython/pull/14216
lisroachhttps://github.com/lisroach
Sep 10, 2019 https://github.com/python/cpython/pull/8766#ref-commit-4b4b926
https://github.com/sp1rs
https://github.com/lisroach
Remove redundant if check from optional argument function in argparse. (https://github.com/lisroach/cpython/commit/4b4b9261fe71c637403d7cd727be84348b8431c5
4b4b926https://github.com/lisroach/cpython/commit/4b4b9261fe71c637403d7cd727be84348b8431c5
pythonGH-8766https://github.com/python/cpython/pull/8766
DinoVhttps://github.com/DinoV
Jan 14, 2020 https://github.com/python/cpython/pull/8766#ref-commit-5ee7076
https://github.com/sp1rs
https://github.com/DinoV
Remove redundant if check from optional argument function in argparse. (https://github.com/DinoV/cpython/commit/5ee7076490842a8c50a029218879b5f921815cd7
5ee7076https://github.com/DinoV/cpython/commit/5ee7076490842a8c50a029218879b5f921815cd7
pythonGH-8766https://github.com/python/cpython/pull/8766
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8766
https://github.com/benjaminp
benjaminp https://github.com/benjaminp
https://github.com/asottile
asottile https://github.com/asottile
https://github.com/python/cpython/pull/8766/files/43276dd0273f321945d7fe83c8073a0e00e4a46f
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/8766
https://github.com/sp1rs
https://github.com/the-knights-who-say-ni
https://github.com/asottile
https://github.com/benjaminp
https://github.com/bedevere-bot
https://github.com/miss-islington
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.