| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Pedantic rewording of why relative importing doesn't work in main modules ↵ | Josh Cannon | 2025-07-21 | 1 | -2/+2 |
| | | | | | | (GH-136846) Pedantically reword the section about relative imports and main modules. | ||||
| * | feat(docs): type fix - apply pep8 by using docstring instead of comment in ↵ | Jean-Louis GUENEGO | 2025-06-06 | 1 | -2/+4 |
| | | | | | | the doc. (#135181) Giving the right example incitates the tutorial readers to do the same in the future. | ||||
| * | gh-101100: Consolidate documentation on `ModuleType` attributes (#124709) | Alex Waygood | 2024-10-09 | 1 | -2/+3 |
| | | | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| * | gh-113208: Mention namespace packages don't require __init__.py (#113209) | Unique-Usman | 2023-12-19 | 1 | -1/+2 |
| | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
| * | Improve references in the tutorial (GH-108069) | Serhiy Storchaka | 2023-08-21 | 1 | -15/+15 |
| | | | | | | * Use full qualified names for references (even if they do not work now, they will work in future). * Silence references to examples. | ||||
| * | gh-71261: Add paragraph on shadowing submodules with star imports (#107004) | wulmer | 2023-07-23 | 1 | -0/+16 |
| | | |||||
| * | GH-97950: Use new-style index directive ('module') (#103996) | Adam Turner | 2023-05-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference | ||||
| * | gh-102703: Fix typo in modules tutorial documentation (GH-102707) | Robert Prater (B. Eng) | 2023-03-15 | 1 | -1/+1 |
| | | | | | | | | | | **Before** This prevents directories with a common name, such as ``string``, unintentionally hiding ... **After** This prevents directories with a common name, such as ``string``, from unintentionally hiding ... | ||||
| * | gh-61585: Clarify import scope in modules tutorial (GH-93455) | Stanley | 2022-06-28 | 1 | -10/+11 |
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
| * | gh-77521: Add link to builtin module names in modules tutorial (#92438) | slateny | 2022-05-08 | 1 | -1/+2 |
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| * | gh-91541: Fix error in example in modules tutorial (#91634) | 180909 | 2022-04-17 | 1 | -1/+1 |
| | | |||||
| * | bpo-47189: What's New in 3.11: Faster CPython (GH-32235) | Ken Jin | 2022-04-06 | 1 | -0/+2 |
| | | | | | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | ||||
| * | bpo-31582: Created a new documentation section describing sys.path ↵ | Russel Webber | 2022-03-23 | 1 | -0/+2 |
| | | | | | initialization (GH-31082) | ||||
| * | bpo-38623: Add note about site module (site-packages) (GH-16974) | Peter Bittner | 2021-09-23 | 1 | -1/+2 |
| | | |||||
| * | bpo-39452: Rewrite and expand __main__.rst (#26883) | Jack DeVries | 2021-08-24 | 1 | -0/+2 |
| | | | | | | | | Broadened scope of the document to explicitly discuss and differentiate between ``__main__.py`` in packages versus the ``__name__ == '__main__'`` expression (and the idioms that surround it), as well as ``import __main__``. Co-authored-by: Géry Ogam <gery.ogam@gmail.com> Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
| * | bpo-37392: Update the dir(sys) in module tutorial (GH-14365) | Xtreak | 2019-06-25 | 1 | -16/+20 |
| | | |||||
| * | closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. ↵ | Utkarsh Gupta | 2019-04-30 | 1 | -1/+1 |
| | | | | | (GH-13008) | ||||
| * | better __init__.py explanation in tutorial (#12763) | Inada Naoki | 2019-04-11 | 1 | -3/+3 |
| | | | | | | | | | * better __init__.py explanation in tutorial * Update Doc/tutorial/modules.rst Co-Authored-By: methane <songofacandy@gmail.com> | ||||
| * | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 1 | -2/+2 |
| | | |||||
| * | use rich markup for PEP reference (GH-7939) | Behzad B. Mokhtari | 2018-06-27 | 1 | -1/+1 |
| | | | | it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page. | ||||
| * | bpo-33297: Mention Pillow to work with more image formats. (#6505) | Andrés Delfino | 2018-04-21 | 1 | -1/+1 |
| | | | | | Also update PIL doc references to Pillow. | ||||
| * | bpo-31454: Include information about "import X as Y" in Modules tutorial ↵ | Mario Corchero | 2018-02-25 | 1 | -0/+19 |
| | | | | | | | (GH-4041) | ||||
| * | bpo-31757: Make Fibonacci examples consistent (#3991) | Raymond Hettinger | 2017-10-14 | 1 | -10/+10 |
| | | |||||
| * | Issue #28820: Fix spelling of “practice” as a noun | Martin Panter | 2016-12-10 | 1 | -1/+1 |
| | | |||||
| * | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 1 | -1/+3 |
| | | | | | Patch by Julien Palard. | ||||
| * | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -1/+1 |
| | | | | | Original patch by James Edwards. | ||||
| * | Issue26135 - In the tutorial section on modules, reference importlib.reload ↵ | Senthil Kumaran | 2016-01-17 | 1 | -1/+2 |
| | | | | | instead of imp.reload. | ||||
| * | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -6/+5 |
| | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied. | ||||
| * | Issue #6386: When executing a script that's a symlink, the directory | Brett Cannon | 2014-02-06 | 1 | -2/+8 |
| | | | | | | | | where the symlink resolves to is added to sys.path, not the directory containing the symlink itself. Thanks to Sanko Resic for an initial attempt at the patch. | ||||
| * | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix markup errors in the docs and amend suspicious ignores. | Georg Brandl | 2013-10-27 | 1 | -1/+1 |
| | | | |||||
| * | | merge with 3.3 | Georg Brandl | 2013-10-12 | 1 | -48/+36 |
| |\ \ | |/ | |||||
| | * | Closes #13915: update tutorial with respect to .pyc files (__pycache__ / PEP ↵ | Georg Brandl | 2013-10-12 | 1 | -48/+36 |
| | | | | | | | | | | | | | 3147). Initial wording proposed by John Roth. | ||||
| * | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix typo in example file name. Found by John Bokma on docs@. | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | | |||||
| * | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+3 |
| |\ \ | |/ | |||||
| | * | Fix wrong Python highlighting in directory hierarchy code block. | Georg Brandl | 2013-10-06 | 1 | -1/+3 |
| | | | |||||
| * | | #15575: Clarify tutorial description of when modules are executed. | R David Murray | 2013-04-21 | 1 | -1/+2 |
| |\ \ | |/ | |||||
| | * | #15575: Clarify tutorial description of when modules are executed. | R David Murray | 2013-04-21 | 1 | -1/+2 |
| | | | |||||
| * | | merge with 3.3 | Georg Brandl | 2013-04-14 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | Clarify that the function *definition* creates the function and the binding ↵ | Georg Brandl | 2013-04-14 | 1 | -2/+2 |
| | | | | | | | | | in the module globals. | ||||
| * | | Merge updates about dir() with 3.3. | Ezio Melotti | 2012-11-17 | 1 | -34/+49 |
| |\ \ | |/ | |||||
| | * | Merge updates about dir() with 3.2. | Ezio Melotti | 2012-11-17 | 1 | -33/+49 |
| | |\ |/ / | |||||
| | * | Update section about dir() in the tutorial. | Ezio Melotti | 2012-11-17 | 1 | -33/+41 |
| |/ | |||||
| * | add missing period; thanks to Gaston Fiore from docs@ | Sandro Tosi | 2012-08-04 | 1 | -1/+1 |
| | | |||||
| * | Issue #11948: clarify modules search path | Sandro Tosi | 2012-01-19 | 1 | -18/+16 |
| | | |||||
| * | Fix closes Issue12359 - Removing a confusing sentence from the previous change. | Senthil Kumaran | 2011-06-20 | 1 | -7/+7 |
| | | |||||
| * | minor space nit. | Senthil Kumaran | 2011-06-20 | 1 | -1/+1 |
| | | |||||
| * | Fix closes Issue12359 - Minor update to module import description. | Senthil Kumaran | 2011-06-20 | 1 | -7/+8 |
| | | |||||
| * | Merged revisions ↵ | Benjamin Peterson | 2009-10-04 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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,75139,75230 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74779 | michael.foord | 2009-09-13 11:13:36 -0500 (Sun, 13 Sep 2009) | 1 line Change to tutorial wording for reading text / binary files on Windows. Issue #6301. ........ r74780 | michael.foord | 2009-09-13 11:40:02 -0500 (Sun, 13 Sep 2009) | 1 line Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. ........ r74781 | michael.foord | 2009-09-13 11:46:19 -0500 (Sun, 13 Sep 2009) | 1 line Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. ........ r74782 | michael.foord | 2009-09-13 12:07:46 -0500 (Sun, 13 Sep 2009) | 1 line Tutorial tweaks. Issue 6849. ........ r74783 | michael.foord | 2009-09-13 12:28:35 -0500 (Sun, 13 Sep 2009) | 1 line unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. ........ r74784 | georg.brandl | 2009-09-13 13:15:07 -0500 (Sun, 13 Sep 2009) | 1 line Typo fix. ........ r74785 | michael.foord | 2009-09-13 14:07:03 -0500 (Sun, 13 Sep 2009) | 1 line Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. ........ r74786 | michael.foord | 2009-09-13 14:08:18 -0500 (Sun, 13 Sep 2009) | 1 line Remove an extraneous space in unittest documentation. ........ r74793 | georg.brandl | 2009-09-14 09:50:47 -0500 (Mon, 14 Sep 2009) | 1 line #6908: fix association of hashlib hash attributes. ........ r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line Py_SetPythonHome uses static storage #6913 ........ r74811 | georg.brandl | 2009-09-15 15:26:59 -0500 (Tue, 15 Sep 2009) | 1 line Add Armin Ronacher. ........ r74860 | benjamin.peterson | 2009-09-16 21:46:54 -0500 (Wed, 16 Sep 2009) | 1 line kill bare except ........ r74861 | benjamin.peterson | 2009-09-16 22:18:28 -0500 (Wed, 16 Sep 2009) | 1 line pep 8 defaults ........ r74863 | benjamin.peterson | 2009-09-16 22:27:33 -0500 (Wed, 16 Sep 2009) | 1 line rationalize a bit ........ r74876 | georg.brandl | 2009-09-17 11:15:53 -0500 (Thu, 17 Sep 2009) | 1 line #6932: remove paragraph that advises relying on __del__ being called. ........ r74886 | benjamin.peterson | 2009-09-17 16:33:46 -0500 (Thu, 17 Sep 2009) | 1 line use macros ........ r74896 | georg.brandl | 2009-09-18 02:22:41 -0500 (Fri, 18 Sep 2009) | 1 line #6936: for interactive use, quit() is just fine. ........ r74901 | georg.brandl | 2009-09-18 04:14:52 -0500 (Fri, 18 Sep 2009) | 1 line #6905: use better exception messages in inspect when the argument is of the wrong type. ........ r74903 | georg.brandl | 2009-09-18 04:18:27 -0500 (Fri, 18 Sep 2009) | 1 line #6938: "ident" is always a string, so use a format code which works. ........ r74908 | georg.brandl | 2009-09-18 08:57:11 -0500 (Fri, 18 Sep 2009) | 1 line Use str.format() to fix beginner's mistake with %-style string formatting. ........ r74912 | georg.brandl | 2009-09-18 11:19:56 -0500 (Fri, 18 Sep 2009) | 1 line Optimize optimization and fix method name in docstring. ........ r74930 | georg.brandl | 2009-09-18 16:21:41 -0500 (Fri, 18 Sep 2009) | 1 line #6925: rewrite docs for locals() and vars() a bit. ........ r74933 | georg.brandl | 2009-09-18 16:35:59 -0500 (Fri, 18 Sep 2009) | 1 line #6930: clarify description about byteorder handling in UTF decoder routines. ........ r74943 | georg.brandl | 2009-09-19 02:35:07 -0500 (Sat, 19 Sep 2009) | 1 line #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple. ........ r74946 | georg.brandl | 2009-09-19 03:43:16 -0500 (Sat, 19 Sep 2009) | 1 line Update bug tracker reference. ........ r74952 | georg.brandl | 2009-09-19 05:42:34 -0500 (Sat, 19 Sep 2009) | 1 line #6946: fix duplicate index entries for datetime classes. ........ r74953 | georg.brandl | 2009-09-19 07:04:16 -0500 (Sat, 19 Sep 2009) | 1 line Fix references to threading.enumerate(). ........ r74954 | georg.brandl | 2009-09-19 08:13:56 -0500 (Sat, 19 Sep 2009) | 1 line Add Doug. ........ r74955 | georg.brandl | 2009-09-19 08:20:49 -0500 (Sat, 19 Sep 2009) | 1 line Add Mark Summerfield. ........ r75015 | georg.brandl | 2009-09-22 05:55:08 -0500 (Tue, 22 Sep 2009) | 1 line Fix encoding name. ........ r75019 | vinay.sajip | 2009-09-22 12:23:41 -0500 (Tue, 22 Sep 2009) | 1 line Fixed a typo, and added sections on optimization and using arbitrary objects as messages. ........ r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line fix typos/rephrase ........ r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line comment out ugly xxx ........ r75076 | vinay.sajip | 2009-09-26 09:53:32 -0500 (Sat, 26 Sep 2009) | 1 line Tidied up name of parameter in StreamHandler ........ r75095 | michael.foord | 2009-09-27 14:15:41 -0500 (Sun, 27 Sep 2009) | 1 line Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956. ........ r75098 | michael.foord | 2009-09-27 15:08:23 -0500 (Sun, 27 Sep 2009) | 1 line Documentation improvement for load_tests protocol in unittest. Issue 6515. ........ r75102 | skip.montanaro | 2009-09-27 21:12:27 -0500 (Sun, 27 Sep 2009) | 3 lines Patch from Thomas Barr so that csv.Sniffer will set doublequote property. Closes issue 6606. ........ r75129 | vinay.sajip | 2009-09-29 02:08:54 -0500 (Tue, 29 Sep 2009) | 1 line Issue #7014: logging: Improved IronPython 2.6 compatibility. ........ r75139 | raymond.hettinger | 2009-09-29 13:53:24 -0500 (Tue, 29 Sep 2009) | 3 lines Issue 7008: Better document str.title and show how to work around the apostrophe problem. ........ r75230 | benjamin.peterson | 2009-10-04 08:38:38 -0500 (Sun, 04 Oct 2009) | 1 line test logging ........ | ||||
