Alex Waygood
8d8efe7e71
[3.11] gh-112316: Improve docs of inspect.signature and Signature.from_callable ( #112317 ) ( #112630 )
...
(cherry-picked from commit a74daba7ca )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-12-02 22:50:16 +00:00
Miss Islington (bot)
0a0cf45f1b
[3.11] gh-110930: Correct book title by Alan D. Moore (GH-112490) ( #112524 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-29 15:56:20 +00:00
Miss Islington (bot)
b85070ceaf
[3.11] Docs: fix markup for importlib.machinery.NamespaceLoader (GH-112479) ( #112482 )
...
Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479)
(cherry picked from commit 2e632fa07d )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-11-28 00:21:18 +00:00
Gregory P. Smith
03b522d3ef
[3.11] Backport PR #112477 : correct socket AF_PACKET docs ( #112478 )
...
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.
2023-11-27 23:54:21 +00:00
Miss Islington (bot)
c3e5d0d936
[3.11] gh-68166: Tkinter: Add tests and examples for element_create() (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 005d1e8fc8 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-11-27 20:14:30 +00:00
Miss Islington (bot)
62e430af9e
[3.11] GH-101100: Fix reference warnings for `socket` methods (GH-110114) ( #112456 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-11-27 17:03:45 +02:00
Miss Islington (bot)
faa1ef4893
[3.11] Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) ( #112445 )
...
Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442)
(cherry picked from commit fb79e1ed4a )
Co-authored-by: Tom Levy <tomlevy93@gmail.com>
2023-11-27 09:34:35 +00:00
Hugo van Kemenade
fc657d0c60
[3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) ( #112422 )
2023-11-26 05:22:17 -07:00
Hugo van Kemenade
d9254f9f04
[3.11] gh-101100 : Fix Sphinx warnings in library/doctest.rst (GH-112399) ( #112404 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-11-25 12:26:05 -07:00
Miss Islington (bot)
68db0ed903
[3.11] gh-101100: Define _tkinter module to fix references (GH-112382) ( #112393 )
...
gh-101100: Define `_tkinter` module to fix references (GH-112382)
Define _tkinter module to fix references
(cherry picked from commit 6b961b8cea )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-25 10:00:44 +02:00
Miss Islington (bot)
8b6068e555
[3.11] gh-101100: Define test.regrtest module to fix references (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 d525d01e27 )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-25 09:59:28 +02:00
Miss Islington (bot)
669b8fab31
[3.11] gh-59254: mention in open() doc that line buffering is for writing (GH-112318) ( #112379 )
...
gh-59254: mention in open() doc that line buffering is for writing (GH-112318)
(cherry picked from commit fafae08cc7 )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2023-11-24 18:15:42 +00:00
Miss Islington (bot)
640454fd32
[3.11] Fix docstring and var name of itertools recipe (GH-112113) ( #112311 )
...
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 6c47eaccfa )
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-11-22 05:41:51 +00:00
Miss Islington (bot)
e9a97c3bf9
[3.11] gh-110383: Fix documentation profile cumtime fix (GH-112221) ( #112263 )
...
Co-authored-by: Alex Ptakhin <me@aptakhin.name>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-19 10:02:49 +00:00
Miss Islington (bot)
7e4b66b86f
[3.11] gh-112165: Fix typo in __main__.py (GH-112183) ( #112185 )
...
gh-112165: Fix typo in `__main__.py` (GH-112183)
Change '[2]' to '[1]' to get second argument.
(cherry picked from commit 8cd70eefc7 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-11-17 01:11:39 +00:00
Alex Waygood
4baf633c53
[3.11] gh-111681: minor fix to a typing doctest ( #111682 ) ( #112037 )
2023-11-13 14:01:17 +00:00
Miss Islington (bot)
45f17a165b
[3.11] Glossary: Add "static type checker" (GH-111837) ( #111855 )
...
Glossary: Add "static type checker" (GH-111837)
(cherry picked from commit 8ab7ad6308 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-11-08 14:47:54 +00:00
Miss Islington (bot)
a106f61b72
[3.11] gh-54434: Make difflib.rst doctests pass. (GH-111677) ( #111679 )
...
gh-54434: Make difflib.rst doctests pass. (GH-111677)
(cherry picked from commit 0d3df272fb )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-11-03 06:28:53 +00:00
Miss Islington (bot)
e61f2edfe8
[3.11] Fix typo in documentation of SysLogHandler.createSocket (GH-111665) ( #111670 )
...
(cherry picked from commit 489b80640f )
2023-11-02 23:03:02 +00:00
Miss Islington (bot)
cf6145453f
[3.11] gh-111576: Improve documention for tkinter.messagebox (GH-111578) (GH-111598)
...
(cherry picked from commit eaf67e37a2 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-11-01 12:43:37 +02:00
Miss Islington (bot)
2bb10acfdd
[3.11] gh-102249: Expand sys.call_tracing documentation (GH-102806) ( #111558 )
...
Co-authored-by: Quentin Peter <impact27@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-31 18:40:17 +02:00
Miss Islington (bot)
650eb29b49
[3.11] gh-93607: document root attribute of iterparse (GH-99410) ( #111556 )
...
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>
2023-10-31 16:24:41 +00:00
Miss Islington (bot)
be21fb6369
[3.11] gh-106861: Docs: Add availability directives to all Unix-only modules (GH-108975) ( #111554 )
...
Co-authored-by: xzmeng <aumo@foxmail.com>
2023-10-31 16:24:17 +00:00
Serhiy Storchaka
9a12c23fe4
[3.11] gh-111165: Remove documentation for moved functions (GH-111467) (GH-111472)
...
(cherry picked from commit 4d6bdf8aab )
2023-10-29 19:45:51 +00:00
Miss Islington (bot)
a10fc6670b
[3.11] gh-101100: Fix sphinx warnings in library/asyncio-eventloop.rst (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 46389c3275 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-29 19:39:25 +00:00
Miss Islington (bot)
a9e0455bd3
[3.11] gh-111276: Clarify docs and comments about the role of LC_CTYPE (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 6d42759c5e )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-27 17:15:15 +02:00
Hugo van Kemenade
e7cdcccd26
[3.11] gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 (GH-111188) ( #111326 )
2023-10-27 16:08:53 +03:00
Miss Islington (bot)
07664c9ddb
[3.11] gh-108590: Improve sqlite3 docs on encoding issues and how to handle 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 1262e41842 )
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>
2023-10-25 14:07:44 +00:00
Serhiy Storchaka
fc9a5ef1a8
[3.11] [3.12] gh-111165: Move test running code from test.support to libregrtest (GH-111166) (GH-111316) (GH-111318)
...
Remove no longer used functions run_unittest() and run_doctest() from
the test.support module.
(cherry picked from commit f6a45a03d0 )
(cherry picked from commit 5c4f9a1c7e )
2023-10-25 12:37:19 +00:00
Miss Islington (bot)
ff7dc61643
[3.11] Revert "Fix a code snippet typo in asyncio docs (GH-108427)" (GH-111271) (GH-111273)
...
Revert "Fix a code snippet typo in asyncio docs (GH-108427)" (GH-111271)
This reverts commit 7f31676340 .
The change resulted in a tautology and should not have been made. There
may be an opportunity for additional clarity in this section, but this
change wasn't it :)
(cherry picked from commit c7d68f907a )
Ref: https://github.com/python/cpython/pull/108427#-issuecomment-1777525740
Co-authored-by: Zachary Ware <zach@python.org>
2023-10-24 11:26:57 -05:00
Jelle Zijlstra
575bff3732
[3.11] gh-111151: Convert monospaced directives to :ref: (GH-111152) ( #111270 )
...
(cherry picked from commit 1198076447 )
Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
2023-10-24 15:34:46 +00:00
Miss Islington (bot)
10376a164f
[3.11] Fix typo in sys docs (GH-111196) ( #111249 )
...
Co-authored-by: James Tocknell <aragilar+github@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-24 08:15:03 +00:00
Miss Islington (bot)
e35393fde9
[3.11] Fix a code snippet typo in asyncio docs (GH-108427) ( #111244 )
...
Co-authored-by: A <5249513+Dumeng@users.noreply.github.com>
2023-10-24 06:35:49 +00:00
Miss Islington (bot)
bf41dcda70
[3.11] gh-101100: Fix Sphinx warnings for fileno (GH-111118) ( #111227 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-23 19:18:00 +00:00
Miss Islington (bot)
a449a70bcb
[3.11] typo: missing line of output in pull parser example (GH-111068) ( #111218 )
...
Co-authored-by: Don Patterson <37046246+don-patterson@users.noreply.github.com>
2023-10-23 16:04:52 +00:00
Miss Islington (bot)
135d5c5840
[3.11] gh-106310 - document the __signature__ attribute (GH-106311) ( #111146 )
...
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-23 18:49:17 +03:00
Miss Islington (bot)
aaa755dd48
[3.11] gh-101100: Fix sphinx warnings in library/asyncio-dev.rst (GH-111179) ( #111186 )
...
gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst`
* Update Doc/library/asyncio-eventloop.rst
* Update Doc/library/asyncio-eventloop.rst
---------
(cherry picked from commit 8c689c9b88 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2023-10-22 10:29:06 -07:00
Miss Islington (bot)
6df935c212
[3.11] gh-101100: Fix sphinx warnings in library/codecs.rst (GH-110979) ( #111071 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-20 11:09:23 +03:00
Miss Islington (bot)
f1dbde0d3a
[3.11] gh-101100: Fix Sphinx warnings in library/tty.rst (GH-111079) ( #111098 )
...
gh-101100: Fix Sphinx warnings in `library/tty.rst` (GH-111079)
Fix Sphinx warnings in library/tty.rst
(cherry picked from commit c42c68aa7b )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-20 07:50:17 +03:00
Miss Islington (bot)
2b3f9a5a1d
[3.11] gh-109510: Clearly explain "Which Docstrings Are Examined" (GH-109696) ( #111078 )
...
Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-19 18:35:07 +03:00
Miss Islington (bot)
f22cdecb19
[3.11] GH-101100: Fix reference warnings for `__enter__ and __exit__` (GH-110112) ( #111076 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-19 18:34:27 +03:00
Miss Islington (bot)
1b60244b97
[3.11] GH-101100: Fix reference warnings for `__getitem__` (GH-110118) ( #111074 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-19 18:33:12 +03:00
Miss Islington (bot)
4fc5352a0d
[3.11] gh-101100: Fix sphinx warnings in library/getpass.rst (GH-110461) ( #111072 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-19 18:31:29 +03:00
Miss Islington (bot)
faa7c207bf
[3.11] GH-104232: Fix statement about trace return values (GH-111045)
...
(cherry picked from commit d9246c7b73 )
2023-10-18 20:34:20 +00:00
Miss Islington (bot)
44558a9ba8
[3.11] gh-101100: Fix sphinx warnings in library/time.rst (GH-110862) ( #110878 )
...
gh-101100: Fix sphinx warnings in `library/time.rst` (GH-110862)
(cherry picked from commit 12deda7633 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-14 14:28:23 +00:00
Miss Islington (bot)
c0a77eb442
[3.11] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) ( #110827 )
...
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)
* Remove redundant versionchanged
* Add missing versionchanged
* Update Doc/library/asyncio-task.rst
---------
(cherry picked from commit f81e36f700 )
Co-authored-by: paskozdilar <53006174+paskozdilar@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2023-10-13 13:24:29 +00:00
Ezio Melotti
90b2620b6e
[3.11] gh-110631: Fix reST indentation (GH-110724) ( #110739 )
...
* Fix wrong indentation in the other dirs.
* Fix more wrong indentation..
(cherry picked from commit 718391f475 )
2023-10-11 23:12:53 +02:00
Ezio Melotti
07471cda29
[3.11] gh-110631: Fix reST indentation in Doc/library (GH-110685) ( #110737 )
...
* [3.11] gh-110631: Fix reST indentation in `Doc/library` (GH-110685)
Fix wrong indentation in the Doc/library dir..
(cherry picked from commit bb7923f556 )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Fix merge glitch.
2023-10-11 23:11:41 +02:00
Hugo van Kemenade
fd061a9bbe
[3.11] gh-108826: Document dis module CLI and rename _test function to main ( #108827 ) ( #110689 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
2023-10-11 14:48:03 -06:00
Miss Islington (bot)
de62c2c1b3
[3.11] gh-101100: Fix sphinx warnings in library/socketserver.rst (GH-110207) (GH-110624)
...
(cherry picked from commit 756062b296 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-10 14:10:33 +02:00