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
Accelerator
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.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
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
tutorial
on
fe6adde
User selector
All users
All time
Commit history
Commits on Sep 27, 2024
Docs: for for/else clarify that return or raise also skip the else (#124591)
Show description for 5329d1b
nedbat
and
JelleZijlstra
authored
5329d1b
View commit details
Copy full SHA for 5329d1b
View code at this point
Browse repository at this point
Commits on Sep 25, 2024
For-else deserves its own section in the tutorial (#123946)
Show description for ffdc80e
nedbat
and
JelleZijlstra
authored
ffdc80e
View commit details
Copy full SHA for ffdc80e
View code at this point
Browse repository at this point
gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480)
AlexWaygood
authored
0d9d56c
View commit details
Copy full SHA for 0d9d56c
View code at this point
Browse repository at this point
Commits on Sep 13, 2024
Update to 3.13 the output of exceptions raised (#123888)
rffontenelle
authored
3961210
View commit details
Copy full SHA for 3961210
View code at this point
Browse repository at this point
Commits on Aug 30, 2024
gh-123492: Remove unnecessary `:func:` parentheses (#123493)
mattwang44
authored
103a047
View commit details
Copy full SHA for 103a047
View code at this point
Browse repository at this point
Commits on Aug 15, 2024
GH-109975: Copyedit 3.13 What's New: New Features (#122990)
Show description for b106cf8
3 people
authored
b106cf8
View commit details
Copy full SHA for b106cf8
View code at this point
Browse repository at this point
Commits on Aug 12, 2024
gh-122944: Fix incorrect prompt strings in the Python Tutorial (#122949)
Show description for be90648
Damien-Chen
authored
be90648
View commit details
Copy full SHA for be90648
View code at this point
Browse repository at this point
Commits on Jul 19, 2024
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
serhiy-storchaka
authored
1a0c7b9
View commit details
Copy full SHA for 1a0c7b9
View code at this point
Browse repository at this point
Commits on Jul 13, 2024
gh-120452: improve documentation about private name mangling (#120451)
Show description for f4d6e45
picnixz
and
JelleZijlstra
authored
f4d6e45
View commit details
Copy full SHA for f4d6e45
View code at this point
Browse repository at this point
Commits on Jun 12, 2024
gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347)
Show description for 92c9c6a
serhiy-storchaka
authored
92c9c6a
View commit details
Copy full SHA for 92c9c6a
View code at this point
Browse repository at this point
Commits on Jun 7, 2024
gh-110383: Improve 'old string formatting' text in tutorial (#120219)
erlend-aasland
authored
225aab7
View commit details
Copy full SHA for 225aab7
View code at this point
Browse repository at this point
Commits on Jun 1, 2024
gh-119016: Remove outdated sentences from the "classes" tutorial (#119130)
Show description for c618f7d
nineteendo
and
AlexWaygood
authored
c618f7d
View commit details
Copy full SHA for c618f7d
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 21, 2024
GH-110383: Improve Tutorial for Input Ouput (#119230)
Show description for 9db2fd7
blaisep
and
uatach
authored
9db2fd7
View commit details
Copy full SHA for 9db2fd7
View code at this point
Browse repository at this point
Commits on May 18, 2024
gh-119078: Clarify venv tutorial (GH-119129)
nineteendo
authored
0f5e8be
View commit details
Copy full SHA for 0f5e8be
View code at this point
Browse repository at this point
Commits on May 8, 2024
Format None, True, False and NotImplemented as literals (GH-118758)
serhiy-storchaka
authored
05c2fe1
View commit details
Copy full SHA for 05c2fe1
View code at this point
Browse repository at this point
Python 3.14.0a0
Yhg1s
committed
7768ff1
View commit details
Copy full SHA for 7768ff1
View code at this point
Browse repository at this point
Commits on May 7, 2024
Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612)
Privat33r-dev
authored
a855f82
View commit details
Copy full SHA for a855f82
View code at this point
Browse repository at this point
Commits on May 5, 2024
gh-111201: A new Python REPL (GH-111567)
Show description for f27f8c7
6 people
authored
f27f8c7
View commit details
Copy full SHA for f27f8c7
View code at this point
Browse repository at this point
Commits on Apr 15, 2024
Add 'The Python 2.3 Method Resolution Order' (#116435)
hugovk
authored
7d0be7a
View commit details
Copy full SHA for 7d0be7a
View code at this point
Browse repository at this point
Commits on Apr 9, 2024
gh-117597: Clarify exception handling in the tutorial (#117681)
nineteendo
authored
a05068d
View commit details
Copy full SHA for a05068d
View code at this point
Browse repository at this point
Commits on Mar 11, 2024
gh-116563: Update tutorial error example (#116569)
Show description for 3e45030
terryjreedy
authored
3e45030
View commit details
Copy full SHA for 3e45030
View code at this point
Browse repository at this point
Commits on Mar 4, 2024
GH-116271 Docs: provide clarification for object assignments in the Tutorial section (#116283)
Show description for 45a9243
3 people
authored
45a9243
View commit details
Copy full SHA for 45a9243
View code at this point
Browse repository at this point
Commits on Feb 14, 2024
Docs: Use substitutions instead of manual version updates (#115416)
hugovk
authored
46245b0
View commit details
Copy full SHA for 46245b0
View code at this point
Browse repository at this point
Commits on Feb 1, 2024
gh-114648: Add IndexError exception to tutorial datastructures list.pop entry (#114681)
Show description for 57c3e77
ShivnarenSrinivasan
authored
57c3e77
View commit details
Copy full SHA for 57c3e77
View code at this point
Browse repository at this point
Commits on Jan 16, 2024
gh-114069: Revise Tutorial Methods paragraph (#114127)
Show description for 31a2543
terryjreedy
authored
31a2543
View commit details
Copy full SHA for 31a2543
View code at this point
Browse repository at this point
Commits on Jan 12, 2024
Tutorial: Clarify 'nonzero exit status' in the appendix (#112039)
zipperer
authored
32f3684
View commit details
Copy full SHA for 32f3684
View code at this point
Browse repository at this point
Commits on Dec 19, 2023
gh-113208: Mention namespace packages don't require __init__.py (#113209)
Show description for d71fcde
Unique-Usman
and
CAM-Gerlach
authored
d71fcde
View commit details
Copy full SHA for d71fcde
View code at this point
Browse repository at this point
Commits on Dec 14, 2023
gh-113113: doc: use less ambiguously named variable (gh-113114)
jeremy-dolan
authored
fb4cb7c
View commit details
Copy full SHA for fb4cb7c
View code at this point
Browse repository at this point
Commits on Dec 8, 2023
gh-101100: Improve documentation for attributes on instance methods (#112832)
AlexWaygood
authored
ed21d0c
View commit details
Copy full SHA for ed21d0c
View code at this point
Browse repository at this point
Commits on Dec 3, 2023
Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499)
Show description for c27b09c
aureliobarbosa
authored
c27b09c
View commit details
Copy full SHA for c27b09c
View code at this point
Browse repository at this point
Commits on Nov 19, 2023
gh-110383: Explained which error message is generated when there is an unhandled exception (#111574)
Show description for a6d25de
Unique-Usman
and
hugovk
authored
a6d25de
View commit details
Copy full SHA for a6d25de
View code at this point
Browse repository at this point
Commits on Nov 9, 2023
Add detail to comment on range of random.random() (gh-111868)
Show description for 2f2a0a3
zipperer
and
rhettinger
authored
2f2a0a3
View commit details
Copy full SHA for 2f2a0a3
View code at this point
Browse repository at this point
Commits on Oct 27, 2023
gh-111406: Fix broken link to bpython's site (#111407)
zmc
authored
8a158a7
View commit details
Copy full SHA for 8a158a7
View code at this point
Browse repository at this point
Commits on Oct 22, 2023
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173)
m-aciek
authored
663cf51
View commit details
Copy full SHA for 663cf51
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.