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 }}
parikpython
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
classes.rst
on
3.9
User selector
All users
All time
Commit history
Commits on Dec 16, 2021
Fix the output of built-in iter() function example in Iterators (Section 9.8) of The Python Tutorial (GH-30110)
Show description for 309614f
miss-islington
and
vivekvashist
authored
309614f
View commit details
Copy full SHA for 309614f
View code at this point
Browse repository at this point
Commits on Aug 19, 2020
[3.9] bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844) (GH-21901)
Show description for 8f88190
vstinner
authored
8f88190
View commit details
Copy full SHA for 8f88190
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 805874a
miss-islington
and
PaulMcMillan
authored
805874a
View commit details
Copy full SHA for 805874a
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) (GH-21341)
Show description for 3f4a9fd
miss-islington
and
nanjekyejoannah
authored
3f4a9fd
View commit details
Copy full SHA for 3f4a9fd
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
Previous
Next
You can’t perform that action at this time.