summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (#112704)Miss Islington (bot)2023-12-042-22/+21
| | | | | | gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (cherry picked from commit 9560e0d6d7a316341939b4016e47e03bd5bf17c3) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` ↵Miss Islington (bot)2023-12-042-27/+32
| | | | | | | | (GH-109814) (#112701) gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814) (cherry picked from commit f2eaa92b0cc5a37a9e6010c7c6f5ad1a230ea49b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) ↵Miss Islington (bot)2023-12-042-47/+67
| | | | | | | | (#112698) gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) (cherry picked from commit cda737924fd616c4e08027888258f97e81f34447) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) ↵Miss Islington (bot)2023-12-032-8/+7
| | | | | | | | | (#112673) gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) (cherry picked from commit 489aeac3a2d3b347ff033334688e2f44eec7944a) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) ↵Miss Islington (bot)2023-12-035-9/+19
| | | | | | | | (#112667) gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (cherry picked from commit 45650d1c479a8b0370f126d821718dd3c502f333) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] Fix link to 'The Perils of Floating Point', on the tutorial ↵Miss Islington (bot)2023-12-031-1/+1
| | | | | | | | (GH-112499) (GH-112663) Use author link to 'The Perils of Floating Point'. (cherry picked from commit c27b09c81368bc3b756e94a79a39307ce44a4a2c) Co-authored-by: Marco Aurélio A. Barbosa <aureliobarbosa@gmail.com>
* [3.11] Run more `inspect.rst` code snippets in CI (#112654) (#112656)Alex Waygood2023-12-031-27/+38
| | | (cherry-picked from commit 4ed46d224401243399b41c7ceef4532bd249da27)
* [3.11] [3.12] gh-112316: improve docs for `inspect.signature` and ↵Miss Islington (bot)2023-12-031-33/+51
| | | | | | | | | | `inspect.Signature` (GH-112631) (GH-112649) (#112652) [3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649) (cherry-picked from commit fc9e24b01fb7da4160b82cef26981d72bb678c13) (cherry picked from commit 6221482f0c459c2e7dbd946265069246a400072a) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-112316: Improve docs of `inspect.signature` and ↵Alex Waygood2023-12-021-19/+18
| | | | | | | `Signature.from_callable` (#112317) (#112630) (cherry-picked from commit a74daba7ca) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-110930: Correct book title by Alan D. Moore (GH-112490) (#112524)Miss Islington (bot)2023-11-291-2/+2
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] Docs: fix markup for `importlib.machinery.NamespaceLoader` ↵Miss Islington (bot)2023-11-281-1/+1
| | | | | | | | (GH-112479) (#112482) Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479) (cherry picked from commit 2e632fa07d13a58be62f59be4e656ad58b378f9b) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] Backport PR #112477: correct socket AF_PACKET docs (#112478)Gregory P. Smith2023-11-271-3/+2
| | | | | | | | Backport PR #112477: correct socket AF_PACKET docs Network byte order is not involved in the `int` on the Python side. That happens under the hood. Correctly use the term addresses instead of packets.
* [3.11] gh-68166: Tkinter: Add tests and examples for element_create() ↵Miss Islington (bot)2023-11-271-2/+16
| | | | | | | | | | | (GH-111453) (GH-111858) * Remove mention of "vsapi" element type from the documentation. * Add tests for element_create() and other ttk.Style methods. * Add examples for element_create() in the documentation. (cherry picked from commit 005d1e8fc81539c60c6b21ebba34de3edd5bb232) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] GH-101100: Fix reference warnings for ``socket`` methods (GH-110114) ↵Miss Islington (bot)2023-11-273-17/+17
| | | | | | | (#112456) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (#112445)Miss Islington (bot)2023-11-271-1/+1
| | | | | | Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (cherry picked from commit fb79e1ed4a985a487a02bb8585cc1bd2933dfa7c) Co-authored-by: Tom Levy <tomlevy93@gmail.com>
* [3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112422)Hugo van Kemenade2023-11-268-14/+20
|
* [3.11] gh-112331: Fix reference manual description of attribute lookup ↵Miss Islington (bot)2023-11-251-6/+12
| | | | mechanics (gh-112375) (gh-112413)
* [3.11] gh-101100 : Fix Sphinx warnings in `library/doctest.rst` (GH-112399) ↵Hugo van Kemenade2023-11-253-21/+29
| | | | | | (#112404) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Define `_tkinter` module to fix references (GH-112382) ↵Miss Islington (bot)2023-11-251-0/+3
| | | | | | | | | | (#112393) gh-101100: Define `_tkinter` module to fix references (GH-112382) Define _tkinter module to fix references (cherry picked from commit 6b961b8ceaba372b78d03feaceb4837bf7236694) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-101100: Define `test.regrtest` module to fix references ↵Miss Islington (bot)2023-11-251-0/+3
| | | | | | | | | | (GH-112381) (#112391) gh-101100: Define `test.regrtest` module to fix references (GH-112381) Define test.regrtest module to fix references (cherry picked from commit d525d01e2794e7e736527eaa7ee309ca1252f5bd) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-59254: mention in open() doc that line buffering is for writing ↵Miss Islington (bot)2023-11-241-1/+1
| | | | | | | | (GH-112318) (#112379) gh-59254: mention in open() doc that line buffering is for writing (GH-112318) (cherry picked from commit fafae08cc7caa25f2bd6b29106b50ef76c3e296f) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.11] Remove bogus annotations from the descriptor howto guide (gh-112349) ↵Miss Islington (bot)2023-11-231-3/+3
| | | | (gh-112350)
* [3.11] Fix docstring and var name of itertools recipe (GH-112113) (#112311)Miss Islington (bot)2023-11-221-3/+3
| | | | | | | | | Fix docstring and var name of itertools recipe (GH-112113) `prepend()` works with arbitrary iterables, not only iterators. In fact, the example given uses a `list`, which is iterable, but not an iterator. (cherry picked from commit 6c47eaccfa2550c140a24bc6e520d968731d9689) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
* [3.11] gh-110383: Explained which error message is generated when there is ↵Miss Islington (bot)2023-11-191-2/+1
| | | | | | | an unhandled exception (GH-111574) (#112265) Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-110383: Fix documentation profile cumtime fix (GH-112221) (#112263)Miss Islington (bot)2023-11-191-2/+2
| | | | | Co-authored-by: Alex Ptakhin <me@aptakhin.name> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-112165: Fix typo in `__main__.py` (GH-112183) (#112185)Miss Islington (bot)2023-11-171-1/+1
| | | | | | | | gh-112165: Fix typo in `__main__.py` (GH-112183) Change '[2]' to '[1]' to get second argument. (cherry picked from commit 8cd70eefc7f3363cfa0d43f34522c3072fa9e160) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas ↵Miss Islington (bot)2023-11-161-6/+97
| | | | | | | | | | (GH-111504) (GH-112147) gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504) (cherry picked from commit 985679f05d1b72965bfbed99d1499c22815375e4) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* [3.11] Docs: Add the time to the HTML last updated format (GH-110091) (#112103)Miss Islington (bot)2023-11-151-3/+2
| | | | | | Docs: Add the time to the HTML last updated format (GH-110091) (cherry picked from commit 6c214dea7c503eb42bd130d43e8880f39bff0350) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.11] gh-111681: minor fix to a typing doctest (#111682) (#112037)Alex Waygood2023-11-131-1/+1
|
* [3.11] Docs: Add `make htmllive` to rebuild and reload HTML files in your ↵Hugo van Kemenade2023-11-132-4/+32
| | | | | | browser (GH-111900) (#112023) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-111944: Add assignment expression parentheses requirements ↵Miss Islington (bot)2023-11-131-4/+5
| | | | | | | | | | (GH-111977) (#112011) Augment the list of places where parentheses are required around assignnment statements. In particular, 'a := 0' and 'a = b := 1' are syntax errors. (cherry picked from commit 9a2f25d374f027f6509484d66e1c7bba03977b99) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-111895: Convert definition list to bullet list for readability on ↵Miss Islington (bot)2023-11-091-6/+6
| | | | | | | | | | mobile (GH-111898) (#111909) gh-111895: Convert definition list to bullet list for readability on mobile (GH-111898) Convert definition list to bullet list for readability on mobile (cherry picked from commit 7d21e3d5ee9858aee570aa6c5b6a6e87d776f4b5) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] Glossary: Add "static type checker" (GH-111837) (#111855)Miss Islington (bot)2023-11-084-7/+14
| | | | | | | Glossary: Add "static type checker" (GH-111837) (cherry picked from commit 8ab7ad63086b1793c24b1c5aaa19b60fc0e6540e) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-111797: fix enum how-to (GH-111805)Ethan Furman2023-11-071-1/+0
| | | remove extra error line in how-to
* [3.11] gh-111747: DOC: fix moved link to Documentation Translations ↵Miss Islington (bot)2023-11-051-1/+1
| | | | | | | | (GH-111748) (#111750) Update old link in bugs.rst to the table of doc translators and translation repositories at Github. (cherry picked from commit 72e27a67b97993f277e69c9dafb063007ba79adf) Co-authored-by: partev <petrosyan@gmail.com>
* [3.11] gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` ↵Miss Islington (bot)2023-11-041-0/+4
| | | | | | | | | | (GH-111725) (#111728) gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` (GH-111725) Close database connection explicitly in test cleanup. (cherry picked from commit f48e669504ce53040a04e0181064c11741a87817) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-111181: Fix enum doctests (GH-111180) (GH-111617)Ethan Furman2023-11-031-3/+5
| | | | | | | | gh-111181: Fix enum doctests (GH-111180) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> (cherry picked from commit c4dc5a6ae8aa13abb743182df088f1a3526d1bcd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-54434: Make difflib.rst doctests pass. (GH-111677) (#111679)Miss Islington (bot)2023-11-031-3/+5
| | | | | | gh-54434: Make difflib.rst doctests pass. (GH-111677) (cherry picked from commit 0d3df272fbd131bff7f02d4d4279ad1e35081121) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] Fix typo in documentation of `SysLogHandler.createSocket` (GH-111665) ↵Miss Islington (bot)2023-11-021-3/+1
| | | | | (#111670) (cherry picked from commit 489b80640ff9c4f10b25da6d562b06c62a10a76b)
* [3.11] gh-111625: Fix link to Info-ZIP homepage (GH-111626) (#111640)Miss Islington (bot)2023-11-021-2/+2
| | | | Co-authored-by: partev <petrosyan@gmail.com>
* [3.11] gh-111576: Improve documention for tkinter.messagebox (GH-111578) ↵Miss Islington (bot)2023-11-011-10/+165
| | | | | | | (GH-111598) (cherry picked from commit eaf67e37a2da28c1241362e3b4ff1202945c83c5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-102249: Expand sys.call_tracing documentation (GH-102806) (#111558)Miss Islington (bot)2023-10-311-3/+17
| | | | | Co-authored-by: Quentin Peter <impact27@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* [3.11] gh-93607: document `root` attribute of `iterparse` (GH-99410) (#111556)Miss Islington (bot)2023-10-311-1/+3
| | | | | | Co-authored-by: Prometheus3375 <35541026+Prometheus3375@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-106861: Docs: Add availability directives to all Unix-only modules ↵Miss Islington (bot)2023-10-319-6/+14
| | | | | | (GH-108975) (#111554) Co-authored-by: xzmeng <aumo@foxmail.com>
* [3.11] gh-111165: Remove documentation for moved functions (GH-111467) ↵Serhiy Storchaka2023-10-291-10/+0
| | | | | (GH-111472) (cherry picked from commit 4d6bdf8aabcc92303041420a96750fbc52c9f213)
* [3.11] gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` ↵Miss Islington (bot)2023-10-293-7/+15
| | | | | | | | | | | | | | | | | | | | | | (GH-111222) (#111470) gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` (GH-111222) * gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` * Update Doc/library/socket.rst * Update asyncio-eventloop.rst * Update socket.rst --------- (cherry picked from commit 46389c32750f79ab3f398a0132cd002e8a64f809) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-111406: Fix broken link to bpython's site (GH-111407) (#111409)Miss Islington (bot)2023-10-271-1/+1
| | | | | | gh-111406: Fix broken link to bpython's site (GH-111407) (cherry picked from commit 8a158a753c48d166ebceae0687e88ae0c0725c02) Co-authored-by: Zack Cerza <zack@cerza.org>
* [3.11] gh-111276: Clarify docs and comments about the role of LC_CTYPE ↵Miss Islington (bot)2023-10-271-5/+10
| | | | | | | | | | | | | (GH-111319) (#111392) Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0: https://docs.python.org/2/library/string.htmlGH-deprecated-string-functions Also, fix a comment in logging about locale-specific behavior of `str.lower()`. (cherry picked from commit 6d42759c5e47ab62d60a72b4ff15d29864554579) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-111187: Postpone removal version for locale.getdefaultlocale() to ↵Hugo van Kemenade2023-10-272-2/+2
| | | | 3.15 (GH-111188) (#111326)
* [3.11] gh-108590: Improve sqlite3 docs on encoding issues and how to handle ↵Miss Islington (bot)2023-10-251-33/+50
| | | | | | | | | | | | | | | those (GH-108699) (#111325) Add a guide for how to handle non-UTF-8 text encodings. Link to that guide from the 'text_factory' docs. (cherry picked from commit 1262e41842957c3b402fc0cf0a6eb2ea230c828f) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Corvin <corvin@corvin.dev> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>