summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45762: Improve docs for ``@singledispatch``/``@singledispatchmethod`` ↵Miss Islington (bot)2021-11-051-22/+26
| | | | | | | (GH-29426) (GH-29430) (cherry picked from commit 71e8a3e76a32f5eabe20e7fa984f384ca9af6ec6) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Remove reference to ``Tuple`` at top of ``typing`` docs (GH-29401)Miss Islington (bot)2021-11-041-4/+3
| | | | | | ``typing.Tuple`` has been deprecated since Python 3.9, so it makes no sense to mention it so prominently in the documentation for the ``typing`` module. (cherry picked from commit 87032cfa3dc975d7442fd57dea2c6a56d31c911a) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-45680: ``typing`` docs: improve links to docs on ↵Miss Islington (bot)2021-11-041-4/+4
| | | | | | | ``GenericAlias``/``__class_getitem__`` (GH-29387) (cherry picked from commit e03e50377d6f8f212af60fed4ae405ebeb73237d) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [doc] Link to section File input (GH-28941) (GH-29376)Miss Islington (bot)2021-11-021-1/+1
| | | | | (cherry picked from commit 48824fa1e26595ac97ffc96ee2c3d32ff130c420) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. ↵Miss Islington (bot)2021-11-021-1/+1
| | | | | | | | | | | (GH-28947) (GH-29374) Specify that SSLContext.set_default_verify_paths is called on ALL systems. The code of SSLContext.load_default_certs was changed in bpo-22449 to do this, this fix corrects the documentation to match that change. (cherry picked from commit 3551bf16ee5c25b6349209dd30e032f0f3b9ace3) Co-authored-by: LincolnPuzey <lincoln@puzey.dev>
* [3.9] Move field width to the right field (GH-29344) (GH-29350)Miss Islington (bot)2021-10-311-2/+2
| | | Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
* bpo-45516: add protocol description to the Traversable documentation (GH-29039)Miss Islington (bot)2021-10-311-0/+40
| | | | | | | | | | | | | | | | | | | | * bpo-45516: add protocol description to the Traversable documentation Signed-off-by: Filipe Laíns <lains@riseup.net> * Update Doc/library/importlib.rst Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Update Lib/importlib/abc.py * Update Doc/library/importlib.rst Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> (cherry picked from commit 4d03de3329ed8daa9c1107b1aedbb0fa280bddb6) Co-authored-by: Filipe Laíns <filipe.lains@gmail.com>
* bpo-45600: Enhanced / clarified the docs for os.environ and os.environb ↵Miss Islington (bot)2021-10-291-7/+8
| | | | | | | | (GH-29204) (GH-29321) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit b17cfd150f4dc2816975d304a71110a2d445eaf0) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200) ↵Miss Islington (bot)2021-10-291-0/+6
| | | | | | | (GH-29320) (cherry picked from commit 3877fc02f7a8801ba5ce0e94b6075b3fdd9778d0) Co-authored-by: Ian Fisher <ian@iafisher.com>
* [3.9] bpo-45655: Add "relevant PEPs" section to typing documentation (GH-29297)Alex Waygood2021-10-281-6/+32
| | | | Backport of https://github.com/python/cpython/pull/29280 to the 3.9 branch.
* bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func ↵Miss Islington (bot)2021-10-281-1/+2
| | | | | | | | (GH-29226) (GH-29284) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 1fb968c07a76fb2d1ec8c14a0026f1d15828f4a5) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-45608: Document missing `sqlite3` DB-API attributes and methods ↵Miss Islington (bot)2021-10-281-0/+46
| | | | | | | (GH-29219) (GH-29282) (cherry picked from commit 88d8a1a340fb09c54d47f354f5fd7d4fbc5f0c78) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44344: Document that pow can return a complex number for non-complex ↵Miss Islington (bot)2021-10-211-1/+4
| | | | | | | | inputs. (GH-27853) (GH-29134) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 887a55705bb6c05a507c2886c9978a9e0cff0dd7) Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* bpo-41983: add availability info to socket docs (GH-27519) (GH-29137)Miss Islington (bot)2021-10-211-0/+4
| | | | | | | | * add availability info to AF_PACKET section * add availability for AF_QIPCRTR as well (cherry picked from commit 51375388bee7287be2d942906b48c8cf3f691e8b) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [3.9] bpo-44174: [Enum] add name-mangling reference (GH-29128)Ethan Furman2021-10-211-2/+2
|
* [3.9] bpo-42517: [ENUM] update docs for changes coming in 3.11 (GH-29113)Ethan Furman2021-10-201-2/+11
|
* bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile ↵Miss Islington (bot)2021-10-201-0/+23
| | | | | | | | (GH-29094) (GH-29105) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> (cherry picked from commit dff0b713436e286bb1afdd7c6f3093c8e8db16dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.9] bpo-45449: add note about PEP 585 in collections.abc's documentation ↵Łukasz Langa2021-10-191-0/+3
| | | | | | | | | | (GH-29047) (GH-29068) Signed-off-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 7bafa0cf586227987d3d662264d491e3780024b7) Co-authored-by: Filipe Laíns <lains@riseup.net>
* bpo-45515: Add zoneinfo to the datetime documentation (GH-29038) (GH-29066)Miss Islington (bot)2021-10-191-4/+6
| | | | | | | | We should have done this way back when 3.9 was released, but it fell off the radar. Co-authored-by: Paul Ganssle <git@m.ganssle.io> (cherry picked from commit 8e40ca127fa92d6113617c80710e0a077977a84d)
* Improve multiserver queue recipe (GH-29012) (GH-29014)Miss Islington (bot)2021-10-181-5/+6
|
* Slight correct grammar (GH-28860)Miss Islington (bot)2021-10-121-1/+1
| | | | | | (cherry picked from commit 1b11582f0e00f08833da6adc44030a8b1961989a) Co-authored-by: nobodyatandnothing <91722596+nobodyatandnothing@users.noreply.github.com>
* bpo-45441: Update some moved URLs in documentation (GH-28861)Miss Islington (bot)2021-10-124-6/+6
| | | | | (cherry picked from commit b37dc9b3bc9575adc039c6093c643b7ae5e917e1) Co-authored-by: 180909 <wjh180909@gmail.com>
* bpo-42253: Update xml.dom.minidom.rst (GH-23126) (GH-28875)Miss Islington (bot)2021-10-121-0/+8
| | | | | | | | Document that the "standalone" parameter was added in Python 3.9. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit c7e81fcf9548ab6a0a4828d6f2db9ece9d204826) Co-authored-by: Jens Diemer <github.com@jensdiemer.de>
* bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828)Miss Islington (bot)2021-10-111-2/+2
| | | | | (cherry picked from commit 659812b451aefe1f0e5f83540296519a5fb8f313) Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
* Fix the "Finding all Adverbs" example (GH-21420) (#28840)Miss Islington (bot)2021-10-101-2/+2
| | | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit dbd62e74dadda7868f1c0d497414c8f7e4c0b12b) Co-authored-by: Rim Chatti <chattiriim@gmail.com>
* [doc] Mention __slots__ behavior in weakref.rst (GH-21061) (GH-28773)Miss Islington (bot)2021-10-061-0/+4
| | | | | | | | | | | | It took me longer than I expected to figure out why a random class I dealt with didn't support weak references. I believe this addition will make the __slots__/weakref interaction more discoverable to people having troubles with this. (Before this patch __slots__ was not mentioned in weakref documentation even once). Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09) Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
* [3.9] [doc] Fix typos found using codespell (GH-28744) (GH-28759)Christian Clauss2021-10-063-5/+5
|
* [doc] Update references to NumPy (GH-22458) (GH-28749)Miss Islington (bot)2021-10-062-6/+3
| | | | | | Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time. (cherry picked from commit c8bb24166e367d449158015cb9b1093f03c7175d) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652) (GH-28695)Miss Islington (bot)2021-10-051-2/+2
| | | | | (cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d) Co-authored-by: Julien Palard <julien@palard.fr>
* [doc] Fix gethostbyname_ex description (GH-28700) (GH-28743)Miss Islington (bot)2021-10-051-2/+2
| | | | | | | | It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't. (cherry picked from commit 4103280b83e1419bef535a42813d6dbe83bfe880) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [3.9] [docs] Improve the markup of powers (GH-28598) (GH-28608)Łukasz Langa2021-09-284-8/+8
| | | | | (cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [doc] fix minor typo for argparse (GH-28451)Miss Islington (bot)2021-09-281-1/+1
| | | | | | "A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
* bpo-45277: Fix typo in codecs doc (GH-28555)Miss Islington (bot)2021-09-251-1/+1
| | | | | | encoding => encode (cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [docs] Update documentation for `multiprocessing.get_start_method` ↵Miss Islington (bot)2021-09-231-1/+7
| | | | | | | (GH-18170) (GH-28534) (cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823) Co-authored-by: Sam Sneddon <me@gsnedders.com>
* [3.9] Fix legacy logging module URL (GH-28528) (GH-28531)Miss Islington (bot)2021-09-231-1/+1
| | | Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28524)Miss Islington (bot)2021-09-2318-36/+36
| | | | | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com> (cherry picked from commit 36122e18148c5b6c78ebce1d36d514fd7cf250f5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)Łukasz Langa2021-09-223-3/+3
| | | | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
* bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494)Miss Islington (bot)2021-09-211-0/+9
| | | | | (cherry picked from commit 9a0dcc5b2e04d9c51350107734f12a1cbc0284a7) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-30637: Improve the docs of ast.parse regarding differences with ↵Miss Islington (bot)2021-09-191-0/+13
| | | | | | | compile() (GH-28459) (cherry picked from commit e6d05a4092b4176a30d1d1596585df13c2ab676d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28434)Miss Islington (bot)2021-09-171-1/+2
| | | | | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 24dbe30f8df80740704db3743d071b3218d1276e) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
* bpo-42038: fix description of returned list of lines (GH-27529) (GH-28429)Miss Islington (bot)2021-09-171-6/+6
| | | Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) ↵Miss Islington (bot)2021-09-171-1/+1
| | | | | | | (GH-28426) (cherry picked from commit d22a700091af35ce52db0b1fbb02115bb6efbb1f) Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
* bpo-45217: adds note that `allow_no_value` in `configparser` is optional ↵Miss Islington (bot)2021-09-171-1/+2
| | | | | | | | (GH-28396) (GH-28416) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit cb07838ab756564988b1ffd23871f1222a832446) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28372)Miss Islington (bot)2021-09-151-5/+13
| | | | | | | - Add link to str object and sqlite3 transaction control - Mention that exceptions are not propagated (cherry picked from commit 51056b40e711d84692d099ac8970077b33c7fafd) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-9811: [doc] strftime handling of unsupported format specifiers is ↵Miss Islington (bot)2021-09-101-1/+2
| | | | | | | platform dependent (GH-28264) (GH-28278) (cherry picked from commit e86bcfa58080f152f242c756f625f4015671f168) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.9] bpo-41082: Add note on errors that may be raised by home() and ↵andrei kulakov2021-09-081-0/+8
| | | | | expanduser() (GH-28186) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵Miss Islington (bot)2021-09-071-0/+2
| | | | | | | start process (GH-28018) (GH-28223) (cherry picked from commit 19a304ba990481f0381a5316096b6b3cf2dff381) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* bpo-42255: Update webbrowser doc for macOS (GH-28145)Dong-hee Na2021-09-031-2/+2
|
* [doc] Link to deprecation policy PEP from the DeprecationWarning ↵Miss Islington (bot)2021-09-021-0/+4
| | | | | | | documentation (GH-28123) (GH-28124) (cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.9] bpo-45060: Get rid of few uses of the equality operators with None ↵Serhiy Storchaka2021-09-011-1/+1
| | | | | | | (GH-28087). (GH-28093) (cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>