Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
rhettinger
cpython
Repository navigation
Code
Pull requests
2
(2)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
classes.rst
on
tutorial_error_message
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 14, 2020
bpo-40204: Fix reference to terms in the doc (GH-21865)
Show description for bb0b085
vstinner
authored
bb0b085
View commit details
Copy full SHA for bb0b085
View code at this point
Browse repository at this point
Commits on Jul 14, 2020
Fix repeated words in Classes tutorial (GH-21455)
Show description for 4f28f75
PaulMcMillan
authored
4f28f75
View commit details
Copy full SHA for 4f28f75
View code at this point
Browse repository at this point
Commits on Jul 6, 2020
bpo-26205: Specify the number of nested scopes (GH-21324)
Show description for 9ed3cd8
nanjekyejoannah
and
terryjreedy
authored
9ed3cd8
View commit details
Copy full SHA for 9ed3cd8
View code at this point
Browse repository at this point
Commits on Mar 10, 2020
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)
awecx
authored
e5e5632
View commit details
Copy full SHA for e5e5632
View code at this point
Browse repository at this point
Commits on Jan 23, 2020
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
shanavas786
authored and
terryjreedy
committed
7142df5
View commit details
Copy full SHA for 7142df5
View code at this point
Browse repository at this point
Commits on Aug 23, 2019
bpo-12634: Clarify an awkward section of the tutorial (GH-15406)
rhettinger
authored
483ae0c
View commit details
Copy full SHA for 483ae0c
View code at this point
Browse repository at this point
Commits on Dec 19, 2018
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
serhiy-storchaka
authored
2b57c43
View commit details
Copy full SHA for 2b57c43
View code at this point
Browse repository at this point
Commits on Nov 7, 2018
Add a reference to the name mangling description in the tutorial to the index. (GH-10138)
andresdelfino
authored and
serhiy-storchaka
committed
c5eec44
View commit details
Copy full SHA for c5eec44
View code at this point
Browse repository at this point
Commits on Oct 20, 2018
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
Show description for 13ae4d4
berkerpeksag
authored and
vstinner
committed
13ae4d4
View commit details
Copy full SHA for 13ae4d4
View code at this point
Browse repository at this point
Commits on Jul 25, 2018
bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)
aaronang
authored and
taleinat
committed
c0f0a76
View commit details
Copy full SHA for c0f0a76
View code at this point
Browse repository at this point
Commits on Feb 1, 2018
bpo-32722: Remove useless example in the Classes tutorial (#5446)
Show description for ab32875
matrixise
authored and
zhangyangyu
committed
ab32875
View commit details
Copy full SHA for ab32875
View code at this point
Browse repository at this point
Commits on Jan 2, 2018
bpo-32452: clarify term 'brackets' in generator tutorial (#5079)
Show description for f190eb5
emilyemorehouse
authored and
bitdancer
committed
f190eb5
View commit details
Copy full SHA for f190eb5
View code at this point
Browse repository at this point
Commits on Jul 13, 2017
bpo-30466: Add brief explanation of classes to tutorial (GH-1804)
treyhunner
authored and
Mariatta
committed
3fbd700
View commit details
Copy full SHA for 3fbd700
View code at this point
Browse repository at this point
Commits on May 3, 2017
bpo-28315: Improve code examples in docs (GH-1372)
Show description for 8856940
ultimatecoder
authored and
Mariatta
committed
8856940
View commit details
Copy full SHA for 8856940
View code at this point
Browse repository at this point
Commits on Dec 18, 2016
#29005: clarify terminology in tutorial 'method' discussion.
Show description for 4ec1590
bitdancer
committed
4ec1590
View commit details
Copy full SHA for 4ec1590
View code at this point
Browse repository at this point
Commits on Nov 6, 2016
Issue #21864: Remove outdated section about exceptions from the tutorial
Show description for cea632e
berkerpeksag
committed
cea632e
View commit details
Copy full SHA for cea632e
View code at this point
Browse repository at this point
Commits on Jun 18, 2016
Issue #24314: Fix doc links for general attributes like __name__, __dict__
vadmium
committed
bae5d81
View commit details
Copy full SHA for bae5d81
View code at this point
Browse repository at this point
Commits on Jun 1, 2016
Fix typo in Python tutorial
berkerpeksag
committed
8e937f8
View commit details
Copy full SHA for 8e937f8
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 Oct 31, 2014
minor grammar fixes (from docs@python.org)
birkenfeld
committed
f0d2ed7
View commit details
Copy full SHA for f0d2ed7
View code at this point
Browse repository at this point
Commits on Oct 29, 2014
Use https:// URLs when referring to python.org hosts.
birkenfeld
committed
e73778c
View commit details
Copy full SHA for e73778c
View code at this point
Browse repository at this point
Commits on Aug 8, 2014
#22170: avoid printing newlines twice in tutorial example.
ezio-melotti
committed
79a1ffd
View commit details
Copy full SHA for 79a1ffd
View code at this point
Browse repository at this point
Commits on Jun 24, 2014
Issue #11974: Add tutorial section on class and instance variables
Show description for 04ba0bb
rhettinger
committed
04ba0bb
View commit details
Copy full SHA for 04ba0bb
View code at this point
Browse repository at this point
Commits on Oct 9, 2013
Issue #19193: Improved cross-references in the tutorial.
serhiy-storchaka
committed
91aaeac
View commit details
Copy full SHA for 91aaeac
View code at this point
Browse repository at this point
Commits on Oct 6, 2013
Remove newline in method that makes it possible to copy example to the interactive interpreter.
birkenfeld
committed
a0ec296
View commit details
Copy full SHA for a0ec296
View code at this point
Browse repository at this point
Commits on Oct 12, 2012
merge 3.2
benjaminp
committed
143d034
View commit details
Copy full SHA for 143d034
View code at this point
Browse repository at this point
Fix links to the __next__ method.
ezio-melotti
committed
7fa8222
View commit details
Copy full SHA for 7fa8222
View code at this point
Browse repository at this point
Commits on Mar 9, 2012
Fix closes Issue: 14217 - 3.2 branch
orsenthil
committed
065deda
View commit details
Copy full SHA for 065deda
View code at this point
Browse repository at this point
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe
orsenthil
committed
74d5657
View commit details
Copy full SHA for 74d5657
View code at this point
Browse repository at this point
Commits on Jan 11, 2012
Minor correction. #11418
terryjreedy
committed
ea868d3
View commit details
Copy full SHA for ea868d3
View code at this point
Browse repository at this point
Merge with 3.2
terryjreedy
committed
982c91e
View commit details
Copy full SHA for 982c91e
View code at this point
Browse repository at this point
Commits on Jul 29, 2011
Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)
merwok
committed
2527796
View commit details
Copy full SHA for 2527796
View code at this point
Browse repository at this point
Commits on Jul 26, 2011
Make indentation comply with our style guide and the rest of the file
merwok
committed
72db345
View commit details
Copy full SHA for 72db345
View code at this point
Browse repository at this point
Commits on Jun 25, 2011
Issue 12086: add example showing how to use name mangling.
rhettinger
committed
6ddefd7
View commit details
Copy full SHA for 6ddefd7
View code at this point
Browse repository at this point
Issue 12086: add example showing how to use name mangling.
rhettinger
committed
142d0f5
View commit details
Copy full SHA for 142d0f5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.