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 }}
pythonStudy2017
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
classes.rst
on
master
User selector
All users
Datepicker
All time
Commit history
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
Commits on May 1, 2011
merge with 3.2
birkenfeld
committed
6c32b4a
View commit details
Copy full SHA for 6c32b4a
View code at this point
Browse repository at this point
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
birkenfeld
committed
da623ed
View commit details
Copy full SHA for da623ed
View code at this point
Browse repository at this point
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
birkenfeld
committed
2cdee70
View commit details
Copy full SHA for 2cdee70
View code at this point
Browse repository at this point
Commits on Mar 7, 2011
Name c -> cls in example.
birkenfeld
committed
52d3e7e
View commit details
Copy full SHA for 52d3e7e
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
#9138: reword introduction to classes in Python.
birkenfeld
committed
a192828
View commit details
Copy full SHA for a192828
View code at this point
Browse repository at this point
Commits on Aug 2, 2010
Clarify that abs() is not a namespace.
birkenfeld
committed
17dafdc
View commit details
Copy full SHA for 17dafdc
View code at this point
Browse repository at this point
Commits on Jul 19, 2010
Clarification. Yay importlib!
birkenfeld
committed
0674255
View commit details
Copy full SHA for 0674255
View code at this point
Browse repository at this point
Commits on Jul 12, 2010
Remove mention of execfile from the tutorial.
mdickinson
committed
cf48e44
View commit details
Copy full SHA for cf48e44
View code at this point
Browse repository at this point
Commits on Jun 27, 2010
Merged revisions 80605-80609,80642-80646,80651-80652,80674,80684-80686,80748,80852,80854,80870,80872-80873,80907,80915-80916,80951-80952,80976-80977,80985,81038-81040,81042,81053,81070,81104-81105,…
Show description for d7c3ed5
benjaminp
committed
d7c3ed5
View commit details
Copy full SHA for d7c3ed5
View code at this point
Browse repository at this point
Commits on Feb 6, 2010
Recorded merge of revisions 78024 via svnmerge from
Show description for c4a55fc
birkenfeld
committed
c4a55fc
View commit details
Copy full SHA for c4a55fc
View code at this point
Browse repository at this point
Commits on Sep 1, 2009
Merged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616-74618,74621 via svnmerge from
Show description for a6053b4
birkenfeld
committed
a6053b4
View commit details
Copy full SHA for a6053b4
View code at this point
Browse repository at this point
Commits on Aug 13, 2009
Merged revisions 74411 via svnmerge from
Show description for dffc1b8
birkenfeld
committed
dffc1b8
View commit details
Copy full SHA for dffc1b8
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.