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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
modules.rst
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 27, 2018
use rich markup for PEP reference (GH-7939)
Show description for df748c2
bbmokhtari
authored and
benjaminp
committed
df748c2
View commit details
Copy full SHA for df748c2
View code at this point
Browse repository at this point
Commits on Apr 21, 2018
bpo-33297: Mention Pillow to work with more image formats. (#6505)
Show description for b81ca28
andresdelfino
authored and
serhiy-storchaka
committed
b81ca28
View commit details
Copy full SHA for b81ca28
View code at this point
Browse repository at this point
Commits on Feb 25, 2018
bpo-31454: Include information about "import X as Y" in Modules tutorial (GH-4041)
mariocj89
authored and
Mariatta
committed
fbee882
View commit details
Copy full SHA for fbee882
View code at this point
Browse repository at this point
Commits on Oct 14, 2017
bpo-31757: Make Fibonacci examples consistent (#3991)
rhettinger
authored
8c26a34
View commit details
Copy full SHA for 8c26a34
View code at this point
Browse repository at this point
Commits on Dec 10, 2016
Issue #28820: Fix spelling of “practice” as a noun
vadmium
committed
898573a
View commit details
Copy full SHA for 898573a
View code at this point
Browse repository at this point
Commits on Jul 26, 2016
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Show description for 1050d2d
vadmium
committed
1050d2d
View commit details
Copy full SHA for 1050d2d
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 Jan 17, 2016
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
orsenthil
committed
80538e9
View commit details
Copy full SHA for 80538e9
View code at this point
Browse repository at this point
Commits on Apr 13, 2015
Issue #23731: Implement PEP 488.
Show description for f299abd
brettcannon
committed
f299abd
View commit details
Copy full SHA for f299abd
View code at this point
Browse repository at this point
Commits on Feb 6, 2014
Issue #6386: When executing a script that's a symlink, the directory
Show description for f811bbf
brettcannon
committed
f811bbf
View commit details
Copy full SHA for f811bbf
View code at this point
Browse repository at this point
Commits on Oct 27, 2013
merge with 3.3
birkenfeld
committed
186729e
View commit details
Copy full SHA for 186729e
View code at this point
Browse repository at this point
Fix markup errors in the docs and amend suspicious ignores.
birkenfeld
committed
325a1c2
View commit details
Copy full SHA for 325a1c2
View code at this point
Browse repository at this point
Commits on Oct 12, 2013
merge with 3.3
birkenfeld
committed
b9e8712
View commit details
Copy full SHA for b9e8712
View code at this point
Browse repository at this point
Closes #13915: update tutorial with respect to .pyc files (__pycache__ / PEP 3147).
Show description for 5db7c54
birkenfeld
committed
5db7c54
View commit details
Copy full SHA for 5db7c54
View code at this point
Browse repository at this point
Commits on Oct 6, 2013
merge with 3.3
birkenfeld
committed
59e3b23
View commit details
Copy full SHA for 59e3b23
View code at this point
Browse repository at this point
Fix typo in example file name. Found by John Bokma on docs@.
birkenfeld
committed
ac39add
View commit details
Copy full SHA for ac39add
View code at this point
Browse repository at this point
merge with 3.3
birkenfeld
committed
9c45050
View commit details
Copy full SHA for 9c45050
View code at this point
Browse repository at this point
Fix wrong Python highlighting in directory hierarchy code block.
birkenfeld
committed
22a1fd7
View commit details
Copy full SHA for 22a1fd7
View code at this point
Browse repository at this point
Commits on Apr 21, 2013
#15575: Clarify tutorial description of when modules are executed.
bitdancer
committed
ca3f294
View commit details
Copy full SHA for ca3f294
View code at this point
Browse repository at this point
#15575: Clarify tutorial description of when modules are executed.
bitdancer
committed
25187e6
View commit details
Copy full SHA for 25187e6
View code at this point
Browse repository at this point
Commits on Apr 14, 2013
merge with 3.3
birkenfeld
committed
015427e
View commit details
Copy full SHA for 015427e
View code at this point
Browse repository at this point
Clarify that the function *definition* creates the function and the binding in the module globals.
birkenfeld
committed
5e2954e
View commit details
Copy full SHA for 5e2954e
View code at this point
Browse repository at this point
Commits on Nov 17, 2012
Merge updates about dir() with 3.3.
ezio-melotti
committed
ac6ca3d
View commit details
Copy full SHA for ac6ca3d
View code at this point
Browse repository at this point
Merge updates about dir() with 3.2.
ezio-melotti
committed
4a42ec5
View commit details
Copy full SHA for 4a42ec5
View code at this point
Browse repository at this point
Update section about dir() in the tutorial.
ezio-melotti
committed
52e8550
View commit details
Copy full SHA for 52e8550
View code at this point
Browse repository at this point
Commits on Aug 4, 2012
add missing period; thanks to Gaston Fiore from docs@
sandrotosi
committed
da9df92
View commit details
Copy full SHA for da9df92
View code at this point
Browse repository at this point
Commits on Jan 19, 2012
Issue #11948: clarify modules search path
sandrotosi
committed
f0229aa
View commit details
Copy full SHA for f0229aa
View code at this point
Browse repository at this point
Commits on Jun 20, 2011
Fix closes Issue12359 - Removing a confusing sentence from the previous change.
orsenthil
committed
4707a99
View commit details
Copy full SHA for 4707a99
View code at this point
Browse repository at this point
minor space nit.
orsenthil
committed
1508570
View commit details
Copy full SHA for 1508570
View code at this point
Browse repository at this point
Fix closes Issue12359 - Minor update to module import description.
orsenthil
committed
5c0347b
View commit details
Copy full SHA for 5c0347b
View code at this point
Browse repository at this point
Commits on Oct 4, 2009
Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,…
Show description for 4ac9ce4
benjaminp
committed
4ac9ce4
View commit details
Copy full SHA for 4ac9ce4
View code at this point
Browse repository at this point
Commits on Jul 29, 2009
Merged revisions 74074,74077,74111,74188,74192-74193,74200,74252-74253,74258-74261 via svnmerge from
Show description for 6d3dfc3
avassalotti
committed
6d3dfc3
View commit details
Copy full SHA for 6d3dfc3
View code at this point
Browse repository at this point
Commits on Feb 1, 2009
Issue #1717: documentation fixes related to the cmp removal.
mdickinson
committed
c48d834
View commit details
Copy full SHA for c48d834
View code at this point
Browse repository at this point
Commits on Jan 3, 2009
Remove trailing whitespace.
birkenfeld
committed
48310cd
View commit details
Copy full SHA for 48310cd
View code at this point
Browse repository at this point
Commits on Dec 15, 2008
#4667: fix some 2.x leftovers in the tutorial.
birkenfeld
committed
abffe71
View commit details
Copy full SHA for abffe71
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.