Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
library
optparse.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 13, 2026
Python 3.16.0a1
savannahostrowski
committed
22d79d9
View commit details
Copy full SHA for 22d79d9
View code at this point
Browse repository at this point
Commits on Sep 26, 2026
Remove outdated information from `optparse` module docstring and docs (#157982)
StanFromIreland
authored
499dff1
View commit details
Copy full SHA for 499dff1
View code at this point
Browse repository at this point
Commits on Aug 13, 2026
gh-155044: Support copy.replace() for optparse.Values (GH-155050)
Show description for c0d0b28
serhiy-storchaka
and
claude
authored
c0d0b28
View commit details
Copy full SHA for c0d0b28
View code at this point
Browse repository at this point
Commits on Feb 19, 2026
Docs: remove unneeded author attributions (#145002)
Show description for 852ec18
nedbat
authored
852ec18
View commit details
Copy full SHA for 852ec18
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Docs: module pages should not link to themselves (#144505)
Show description for 638d22c
nedbat
authored
638d22c
View commit details
Copy full SHA for 638d22c
View code at this point
Browse repository at this point
Commits on Dec 23, 2024
gh-126180: Remove getopt and optparse deprecation notices (GH-126227)
Show description for 831b6de
ncoghlan
and
serhiy-storchaka
authored
831b6de
View commit details
Copy full SHA for 831b6de
View code at this point
Browse repository at this point
Commits on Jul 22, 2024
Docs: spelling and grammar fixes (#122084)
Show description for bc264ea
3 people
authored
bc264ea
View commit details
Copy full SHA for bc264ea
View code at this point
Browse repository at this point
Commits on May 26, 2024
docs: fix a few typos identified by codespell (#119516)
nedbat
authored
d25954d
View commit details
Copy full SHA for d25954d
View code at this point
Browse repository at this point
Commits on May 8, 2024
docs: module page titles should not start with a link to themselves (#117099)
nedbat
authored
bcb435e
View commit details
Copy full SHA for bcb435e
View code at this point
Browse repository at this point
Commits on Jul 21, 2023
gh-106909: Use role :const: for referencing module constants (GH-106910)
serhiy-storchaka
authored
4b99486
View commit details
Copy full SHA for 4b99486
View code at this point
Browse repository at this point
Commits on Jul 7, 2023
gh-106535: Document PEP 387 Soft Deprecation (#106536)
Show description for d524b6f
vstinner
authored
d524b6f
View commit details
Copy full SHA for d524b6f
View code at this point
Browse repository at this point
Commits on Jun 28, 2023
gh-101100: Fix reference to `parse_args` in `optparse.rst` (#105265)
F3eQnxN3RriK
authored
18f51f9
View commit details
Copy full SHA for 18f51f9
View code at this point
Browse repository at this point
Commits on Apr 24, 2023
gh-101100: Fix Sphinx warnings in `argparse` module (#103289)
Show description for 79ae019
3 people
authored
79ae019
View commit details
Copy full SHA for 79ae019
View code at this point
Browse repository at this point
Commits on Apr 18, 2023
[Doc] Fix a typo in optparse.rst (#103504)
zyckk4
authored
4e04393
View commit details
Copy full SHA for 4e04393
View code at this point
Browse repository at this point
Commits on Jan 20, 2023
GH-101111: Disambigaute origin of const for store_const and append_const (#101121)
Show description for 9a15513
jugmac00
authored
9a15513
View commit details
Copy full SHA for 9a15513
View code at this point
Browse repository at this point
Commits on Jul 5, 2022
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551)
Show description for 3440d19
nedbat
authored
3440d19
View commit details
Copy full SHA for 3440d19
View code at this point
Browse repository at this point
Commits on May 10, 2022
gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529)
CAM-Gerlach
authored
f1bbcba
View commit details
Copy full SHA for f1bbcba
View code at this point
Browse repository at this point
Commits on Sep 27, 2020
bpo-41858: Clarify line in optparse doc (GH-22407)
Show description for 00eb063
eamanu
authored
00eb063
View commit details
Copy full SHA for 00eb063
View code at this point
Browse repository at this point
Commits on Nov 12, 2019
bpo-38738: Fix formatting of True and False. (GH-17083)
Show description for 138ccbb
serhiy-storchaka
authored
138ccbb
View commit details
Copy full SHA for 138ccbb
View code at this point
Browse repository at this point
Commits on Nov 7, 2018
Remove duplicate "Reference Guide" in optparse.rst. (GH-10372)
andresdelfino
authored and
serhiy-storchaka
committed
d2b11af
View commit details
Copy full SHA for d2b11af
View code at this point
Browse repository at this point
Commits on Oct 31, 2018
bpo-35110: Fix yet few spaces before dashes. (GH-10255)
serhiy-storchaka
authored
511747b
View commit details
Copy full SHA for 511747b
View code at this point
Browse repository at this point
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
serhiy-storchaka
authored
3f819ca
View commit details
Copy full SHA for 3f819ca
View code at this point
Browse repository at this point
Commits on Jun 18, 2018
bpo-33892: Doc: Use gender neutral words (GH-7770)
andresdelfino
authored and
methane
committed
5092439
View commit details
Copy full SHA for 5092439
View code at this point
Browse repository at this point
Commits on Feb 4, 2018
bpo-32746: Fix multiple typos (GH-5144)
Show description for c3d9508
Leo Arias
authored and
terryjreedy
committed
c3d9508
View commit details
Copy full SHA for c3d9508
View code at this point
Browse repository at this point
Commits on Oct 19, 2016
Issue #19795: Mark up None as literal text.
serhiy-storchaka
committed
ecf41da
View commit details
Copy full SHA for ecf41da
View code at this point
Browse repository at this point
Commits on Jul 26, 2016
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Show description for 1050d2d
vadmium
committed
1050d2d
View commit details
Copy full SHA for 1050d2d
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on May 10, 2016
Issue #23921: Standardized documentation whitespace formatting.
Show description for dba9039
serhiy-storchaka
committed
dba9039
View commit details
Copy full SHA for dba9039
View code at this point
Browse repository at this point
Commits on Nov 2, 2015
Issue #25523: Correct "a" article to "an" article
Show description for 7462b64
vadmium
committed
7462b64
View commit details
Copy full SHA for 7462b64
View code at this point
Browse repository at this point
Commits on Mar 24, 2014
Fix a few scoping issues with versionadded/versionchanged directives.
birkenfeld
committed
df48b97
View commit details
Copy full SHA for df48b97
View code at this point
Browse repository at this point
Commits on Feb 23, 2013
Issue #8890: Stop advertising an insecure use of /tmp in docs
akheron
committed
9f74c6c
View commit details
Copy full SHA for 9f74c6c
View code at this point
Browse repository at this point
Commits on Sep 14, 2012
#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
ezio-melotti
committed
e0add76
View commit details
Copy full SHA for e0add76
View code at this point
Browse repository at this point
Commits on Sep 8, 2012
#5088: document behavior of optparse defaults with 'append' action.
bitdancer
committed
14d66a9
View commit details
Copy full SHA for 14d66a9
View code at this point
Browse repository at this point
Commits on Nov 16, 2011
fixing typos in optparse doc
eliben
committed
eeae149
View commit details
Copy full SHA for eeae149
View code at this point
Browse repository at this point
Commits on Aug 18, 2011
Add a few missing source links from 2.7 and harmonize lib docs headers
merwok
committed
19f9b71
View commit details
Copy full SHA for 19f9b71
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.