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 }}
devdanzin
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
modules.rst
on
test_python_basic_repl
User selector
All users
Datepicker
All time
Commit history
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 Aug 21, 2023
Improve references in the tutorial (GH-108069)
Show description for 622ddc4
serhiy-storchaka
authored
622ddc4
View commit details
Copy full SHA for 622ddc4
View code at this point
Browse repository at this point
Commits on Jul 23, 2023
gh-71261: Add paragraph on shadowing submodules with star imports (#107004)
wulmer
authored
680f3e1
View commit details
Copy full SHA for 680f3e1
View code at this point
Browse repository at this point
Commits on May 4, 2023
GH-97950: Use new-style index directive ('module') (#103996)
Show description for d012237
AA-Turner
authored
d012237
View commit details
Copy full SHA for d012237
View code at this point
Browse repository at this point
Commits on Mar 15, 2023
gh-102703: Fix typo in modules tutorial documentation (GH-102707)
Show description for 0a539b5
rprater
authored
0a539b5
View commit details
Copy full SHA for 0a539b5
View code at this point
Browse repository at this point
Commits on Jun 28, 2022
gh-61585: Clarify import scope in modules tutorial (GH-93455)
Show description for 4b854b7
3 people
authored
4b854b7
View commit details
Copy full SHA for 4b854b7
View code at this point
Browse repository at this point
Commits on May 8, 2022
gh-77521: Add link to builtin module names in modules tutorial (#92438)
Show description for 859250c
slateny
and
JelleZijlstra
authored
859250c
View commit details
Copy full SHA for 859250c
View code at this point
Browse repository at this point
Commits on Apr 17, 2022
gh-91541: Fix error in example in modules tutorial (#91634)
180909
authored
efbc668
View commit details
Copy full SHA for efbc668
View code at this point
Browse repository at this point
Commits on Apr 6, 2022
bpo-47189: What's New in 3.11: Faster CPython (GH-32235)
Show description for 9ffe47d
6 people
authored
9ffe47d
View commit details
Copy full SHA for 9ffe47d
View code at this point
Browse repository at this point
Commits on Mar 23, 2022
bpo-31582: Created a new documentation section describing sys.path initialization (GH-31082)
RusselWebber
authored
c62b944
View commit details
Copy full SHA for c62b944
View code at this point
Browse repository at this point
Commits on Sep 23, 2021
bpo-38623: Add note about site module (site-packages) (GH-16974)
bittner
authored
55b45bf
View commit details
Copy full SHA for 55b45bf
View code at this point
Browse repository at this point
Commits on Aug 24, 2021
bpo-39452: Rewrite and expand __main__.rst (#26883)
Show description for 7cba231
4 people
authored
7cba231
View commit details
Copy full SHA for 7cba231
View code at this point
Browse repository at this point
Commits on Jun 25, 2019
bpo-37392: Update the dir(sys) in module tutorial (GH-14365)
tirkarthi
authored and
vstinner
committed
080b6b4
View commit details
Copy full SHA for 080b6b4
View code at this point
Browse repository at this point
Commits on Apr 30, 2019
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
utkarsh2102
authored and
benjaminp
committed
ee0309f
View commit details
Copy full SHA for ee0309f
View code at this point
Browse repository at this point
Commits on Apr 11, 2019
better __init__.py explanation in tutorial (#12763)
Show description for 5410d3d
methane
authored
5410d3d
View commit details
Copy full SHA for 5410d3d
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 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
Previous
Next
You can’t perform that action at this time.