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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.4k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
reference
simple_stmts.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 3, 2026
gh-105812: Make use of the Sphinx `deco` role in documentation (#139598)
Viicos
authored
deb33ec
View commit details
Copy full SHA for deb33ec
View code at this point
Browse repository at this point
Commits on May 19, 2026
gh-149321: Remove lazy_imports=none startup mode (#149389)
pablogsal
authored
1f3c267
View commit details
Copy full SHA for 1f3c267
View code at this point
Browse repository at this point
Commits on May 4, 2026
gh-137337: Clarify import statement namespace binding (GH-144607)
Show description for b8ebd07
Kit Dallege
authored
b8ebd07
View commit details
Copy full SHA for b8ebd07
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
gh-148588: Document `__lazy_modules__` (#148590)
johnslavik
authored
9dab866
View commit details
Copy full SHA for 9dab866
View code at this point
Browse repository at this point
Commits on Mar 10, 2026
Python 3.15.0a7
hugovk
committed
6024d3c
View commit details
Copy full SHA for 6024d3c
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)
Show description for 46d5106
4 people
authored
46d5106
View commit details
Copy full SHA for 46d5106
View code at this point
Browse repository at this point
Commits on Feb 5, 2026
gh-74955: Document that __all__ must contain strings in normalization form NFKC (GH-144504)
serhiy-storchaka
authored
c81e184
View commit details
Copy full SHA for c81e184
View code at this point
Browse repository at this point
Commits on Feb 4, 2026
gh-141984: Reword and reorganize Subscription (and Slicing) docs (GH-141985)
Show description for e423e0c
3 people
authored
e423e0c
View commit details
Copy full SHA for e423e0c
View code at this point
Browse repository at this point
Commits on Sep 15, 2025
gh-138871: Clarify NameError exception in 'del' (#138881)
kianelbo
authored
481588a
View commit details
Copy full SHA for 481588a
View code at this point
Browse repository at this point
Commits on Sep 3, 2025
GH-101100: Resolve reference warnings in whatsnew/3.6.rst (#138411)
Show description for 6d730b1
AA-Turner
and
hugovk
authored
6d730b1
View commit details
Copy full SHA for 6d730b1
View code at this point
Browse repository at this point
Commits on Aug 21, 2025
gh-137376: Add note on top-level `global` declarations (GH-137707)
Show description for 9f05f98
encukou
and
brianschubert
authored
9f05f98
View commit details
Copy full SHA for 9f05f98
View code at this point
Browse repository at this point
Commits on Nov 15, 2024
Docs: Miscellaneous corrections to simple statements in the language reference (GH-126720)
Show description for 94a7a4e
bombs-kim
authored
94a7a4e
View commit details
Copy full SHA for 94a7a4e
View code at this point
Browse repository at this point
Commits on Nov 12, 2024
gh-58749: Remove incorrect language spec claims about the global statement (GH-126523)
Show description for 494360a
bombs-kim
authored
494360a
View commit details
Copy full SHA for 494360a
View code at this point
Browse repository at this point
Commits on Sep 11, 2024
gh-119180: Documentation for PEP 649 and 749 (#122235)
Show description for 5436d8b
4 people
authored
5436d8b
View commit details
Copy full SHA for 5436d8b
View code at this point
Browse repository at this point
Commits on Jul 4, 2024
gh-121355: Fix incorrect word in simple_stmts.rst (#121356)
Wondaeng
authored
715ec63
View commit details
Copy full SHA for 715ec63
View code at this point
Browse repository at this point
Commits on Jun 15, 2024
annotations: expand documentation on "simple" assignment targets (#120535)
Show description for 9e0b11e
JelleZijlstra
and
AlexWaygood
authored
9e0b11e
View commit details
Copy full SHA for 9e0b11e
View code at this point
Browse repository at this point
Commits on Mar 19, 2024
gh-56374: Clarify documentation of nonlocal (#116942)
Show description for 025ef7a
terryjreedy
authored
025ef7a
View commit details
Copy full SHA for 025ef7a
View code at this point
Browse repository at this point
Commits on Mar 7, 2024
gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298)
serhiy-storchaka
authored
808a776
View commit details
Copy full SHA for 808a776
View code at this point
Browse repository at this point
Commits on Dec 14, 2023
gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (#113107)
AlexWaygood
authored
4b3cb08
View commit details
Copy full SHA for 4b3cb08
View code at this point
Browse repository at this point
Commits on Dec 13, 2023
gh-101100: Improve docs on exception attributes (GH-113057)
Show description for d05a180
AlexWaygood
authored
d05a180
View commit details
Copy full SHA for d05a180
View code at this point
Browse repository at this point
Commits on Jul 3, 2023
Replace the esoteric term 'datum' when describing dict comprehensions (#106119)
nedbat
authored
987b712
View commit details
Copy full SHA for 987b712
View code at this point
Browse repository at this point
Commits on May 26, 2023
gh-103921: Document PEP 695 (#104642)
Show description for 060277d
JelleZijlstra
and
AlexWaygood
authored
060277d
View commit details
Copy full SHA for 060277d
View code at this point
Browse repository at this point
Commits on May 6, 2023
GH-97950: Use new-style index directive ('builtin') (#104164)
Show description for f508800
AA-Turner
authored
f508800
View commit details
Copy full SHA for f508800
View code at this point
Browse repository at this point
Commits on May 4, 2023
GH-97950: Use new-style index directive ('statement') (#104162)
AA-Turner
authored
55d50d1
View commit details
Copy full SHA for 55d50d1
View code at this point
Browse repository at this point
GH-97950: Use new-style index directive ('exception') (#104160)
AA-Turner
authored
3e7995c
View commit details
Copy full SHA for 3e7995c
View code at this point
Browse repository at this point
GH-97950: Use new-style index directive ('object') (#104158)
Show description for 6ab4636
AA-Turner
authored
6ab4636
View commit details
Copy full SHA for 6ab4636
View code at this point
Browse repository at this point
GH-97950: Use new-style index directive ('keyword') (#104153)
Show description for 33ca322
AA-Turner
authored
33ca322
View commit details
Copy full SHA for 33ca322
View code at this point
Browse repository at this point
Commits on Nov 7, 2022
doc: Formatting and typo fixes (#98974)
irismessage
authored
728e42f
View commit details
Copy full SHA for 728e42f
View code at this point
Browse repository at this point
Commits on Oct 7, 2022
Docs: Fix backtick errors found by sphinx-lint (#97998)
Show description for fa2d43e
hugovk
and
ezio-melotti
authored
fa2d43e
View commit details
Copy full SHA for fa2d43e
View code at this point
Browse repository at this point
Commits on May 3, 2022
gh-87304: Improve comments in language reference for imports (#92164)
robert861212
authored
ee2205b
View commit details
Copy full SHA for ee2205b
View code at this point
Browse repository at this point
Commits on Apr 3, 2022
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
jiasli
authored
4f5d56f
View commit details
Copy full SHA for 4f5d56f
View code at this point
Browse repository at this point
Commits on Jan 27, 2022
bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236)
kinshukdua
authored
08c0ed2
View commit details
Copy full SHA for 08c0ed2
View code at this point
Browse repository at this point
Commits on Nov 30, 2021
bpo-45711: Change exc_info related APIs to derive type and traceback from the exception instance (GH-29780)
iritkatriel
authored
8a45ca5
View commit details
Copy full SHA for 8a45ca5
View code at this point
Browse repository at this point
Commits on May 14, 2021
Update doc as relative import can be used with star import (GH-25667)
gousaiyang
authored
3d4b5f1
View commit details
Copy full SHA for 3d4b5f1
View code at this point
Browse repository at this point
Commits on Apr 21, 2021
bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490)
Show description for b0544ba
pablogsal
authored
b0544ba
View commit details
Copy full SHA for b0544ba
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.