summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.10] bpo-44279: [doc] reword contextlib.suppress documentation (GH-26428) ↵Irit Katriel2021-06-011-2/+3
| | | | | | | | (GH-26480) (cherry picked from commit 87272b70f157af76cb14ff90d73dfc5d9bfb945a) Co-authored-by: MapleCCC <littlelittlemaple@gmail.com>
* [3.10] bpo-42392: [docs] Add deprecated-removed loop labels for asyncio ↵Miss Islington (bot)2021-05-265-0/+150
| | | | | | | | | | | (GH-26357) (GH-26390) * Add deprecated-removed loop labels for all reelvant functions/classes in asyncio (cherry picked from commit d8fd8c8568cbc2f53c1abeda3596a89a46f0e3d7) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:gpshead
* bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream as ↵Miss Islington (bot)2021-05-261-3/+4
| | | | | | | context var (GH-21199) (GH-26379) (cherry picked from commit 46db39d7bd67fb9fea133cd4f18cdf7eacb0f6d9) Co-authored-by: Peter Law <PeterJCLaw@gmail.com>
* bpo-20408: Fix memoryview() signature in docs (GH-24431)Miss Islington (bot)2021-05-252-9/+8
| | | | | (cherry picked from commit d18e5dae914b1db49b25ed7729c07a535d1f0c52) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* bpo-44151: Various grammar, word order, and markup fixes (GH-26344) (GH-26345)Miss Islington (bot)2021-05-251-10/+10
|
* bpo-44151: linear_regression() minor API improvements (GH-26199) (GH-26338)Miss Islington (bot)2021-05-251-10/+11
|
* bpo-44195: Use 'TraversableResources' in the docs to match the ↵Miss Islington (bot)2021-05-241-2/+2
| | | | | | | implementation. (GH-26317) (cherry picked from commit 7148293d96843ca868961313b00361504ec0c242) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517)Miss Islington (bot)2021-05-231-1/+1
| | | | | | | | Making the description of `InspectLoader.is_package` aligned with the current implementation. Automerge-Triggered-By: GH:jaraco (cherry picked from commit 8b9310d90281d4bd3643f4e0767b2d0390f0cb05) Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
* Remove duplicate words in docs. (GH-26167) (GH-26296)Miss Islington (bot)2021-05-224-7/+7
| | | | | (cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Specify Python Cookbook edition for reference (GH-26301) (#26302)Miss Islington (bot)2021-05-211-2/+2
| | | | | (cherry picked from commit 604cd71e501b3bb1ede2b8abc797643fc2e9129c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [doc] Fix indentation in inspect documentation (GH-24846) (GH-26287)Miss Islington (bot)2021-05-211-4/+4
| | | | | (cherry picked from commit 642fdfdc04e8e40c2cd3e65d67b09fac472bb345) Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
* [doc] Fix typo in asyncio-eventloop documentation (GH-22311) (GH-26256)Miss Islington (bot)2021-05-191-2/+2
| | | | | (cherry picked from commit b66a03a49157076cb15a002aaf44a011cc79be3b) Co-authored-by: Bruno <brunogeninatti@gmail.com>
* bpo-40975: [doc] Identify AsyncExitStack.enter_async_context()/aclose() as ↵Miss Islington (bot)2021-05-191-2/+2
| | | | | | | coroutine methods (GH-20870) (GH-26254) (cherry picked from commit c054e8f78f53035e06d6dc58c423d76c8a5fa39a) Co-authored-by: naglis <naglis@users.noreply.github.com>
* bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)Miss Islington (bot)2021-05-191-0/+6
| | | | | (cherry picked from commit 60d343a81679ea90ae0e08fadcd132c16906a51a) Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
* bpo-30593: Doc'ed that executescript() disregards isolation level (GH-26220)Miss Islington (bot)2021-05-191-1/+5
| | | | | (cherry picked from commit 901443757333a66ff2b5c85eba30dc1c48eac321) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.10] bpo-41963: document that ConfigParser strips off comments (GH-26197) ↵Łukasz Langa2021-05-181-0/+7
| | | | | | | | | (GH-26214) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Laura Gutierrez Funderburk <58710704+lgfunderburk@users.noreply.github.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> (cherry picked from commit 02ee8191263848f8c8999f72286148946b83e5c9)
* Apply edits from Allen Downey's review of the linear_regression docs. ↵Miss Islington (bot)2021-05-171-17/+9
| | | | (GH-26176) (GH-26185)
* [doc] Fix typo in os module (GH-24464)Miss Islington (bot)2021-05-161-1/+1
| | | | | | Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit fdc7e52f5f1853e350407c472ae031339ac7f60c) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* bpo-32133: Improve numbers docs (GH-26124) (GH-26149)Miss Islington (bot)2021-05-151-1/+1
|
* bpo-44072: fix Complex, Integral docs for `**` (GH-25986)Miss Islington (bot)2021-05-141-4/+5
| | | | | | In numbers module docstrings and docs. (cherry picked from commit 4aa63d65a9971d14f1a2131b989dca0dab514a9d) Co-authored-by: Rory Yorke <rory.yorke@gmail.com>
* Subprocess Protocols Documentation (GH-20950) (GH-26133)Miss Islington (bot)2021-05-141-1/+1
|
* [3.10] [doc] Fix typos in cgi.rst (GH-24766) (GH-26132)Irit Katriel2021-05-141-4/+4
| | | | | (cherry picked from commit 19d839ae20db9c6f740646e99df7f4601cb9f4dc) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* Updated code example for asyncio.gather (GH-20604) (GH-26119)Miss Islington (bot)2021-05-141-8/+11
| | | | | | | | | | The previous example did not fully showcase the interest of using gather. Here the example showcases "the result is an aggregate list of returned values". (cherry picked from commit 56b8ea65d28bd865e2363e10e9f1c2ca3433ffc2) Co-authored-by: josephernest <nouvellecollection@gmail.com> Co-authored-by: josephernest <nouvellecollection@gmail.com>
* bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)Miss Islington (bot)2021-05-131-1/+1
| | | | | | (cherry picked from commit 8ea350ee9055435c4267834cdaf85f1a2d4a1ed1) Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
* bpo-10548: expectedFailure does not apply to fixtures (GH-23201) (#26044)Miss Islington (bot)2021-05-111-2/+3
| | | | | (cherry picked from commit 23ae2c3bacc167f7bbfea1846bbbc9dde63a1bfd) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* bpo-23750: Document os-system, subprocess. Patch by Martin Panter. ↵Miss Islington (bot)2021-05-112-5/+11
| | | | | | | | | | | | | | | | (GH-26016) (GH-26040) * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 5f2eb87f2893c5e77ade4d662cebcce59d3f2c2f) Co-authored-by: uniocto <serit142sa33go@gmail.com> Co-authored-by: uniocto <serit142sa33go@gmail.com>
* bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation ↵Miss Islington (bot)2021-05-111-4/+5
| | | | | | | | (GH-23192) (#26035) (cherry picked from commit 12e7d10dfd28d4e26304e2c06b2e41c7418ec6f3) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* Doc: http.server: directory is not a class attribute, but an argument. ↵Miss Islington (bot)2021-05-111-8/+8
| | | | | | | | (GH-26017) * Doc: http.server: directory is not a class attribute, but an argument. (cherry picked from commit d1b81574edd75e33ae85c525ac988ce772675a07) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-43558: Add note about base class initialization to dataclasses doc ↵Miss Islington (bot)2021-05-101-0/+21
| | | | | | | | | (GH-25967) (GH-26018) (cherry picked from commit 2a031723eefcf6f1d678bbb4f6018610d43623c4) Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com> Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com>
* Fix a word in dataclasses docs. (GH-26003) (GH-26004)Miss Islington (bot)2021-05-091-1/+1
| | | | | | | (cherry picked from commit 801497a1152504f3181b495c0271bb9ff99df3d1) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
* Simple Enhancement. Add missing return statements in ftplib documentation. ↵Miss Islington (bot)2021-05-071-0/+2
| | | | | | | | | (GH-25968) (#25969) (cherry picked from commit b32c8e97951db46484ba3b646b988bcdc4062199) Co-authored-by: Senthil Kumaran <senthil@uthcode.com> Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
* Fix minor grammar problems in dataclasses documentation (GH-25948) (GH-25958)Miss Islington (bot)2021-05-061-7/+7
| | | | | | | | Some missing words; some odd word choices. (cherry picked from commit ee8e7c2fa950f88ba2c33035bea7aed7aaf0cb77) Co-authored-by: Scott Noyes <snoyes@gmail.com> Co-authored-by: Scott Noyes <snoyes@gmail.com>
* docs: clearly document that ":GH-X" string formatting results in "0X..." ↵Miss Islington (bot)2021-05-061-2/+4
| | | | | | | | | | (GH-25941) * clearly document that ":GH-X" string formatting results in "0X..." * put back the "serial comma" (cherry picked from commit 92ceb1c8402422412fcbb98ca19448677c667c3c) Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
* Clarify rx parameter of compileall functions (GH-25857)Miss Islington (bot)2021-05-041-4/+6
| | | | | (cherry picked from commit 09490298d4485e9322edc6e1e8e15eb66c586164) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
* fix enum.property reference in docs (GH-25875) (#25876)Miss Islington (bot)2021-05-041-1/+1
| | | | | (cherry picked from commit 6fee0835cb00677acd341751f831ca1af128f4c9) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-44001: improve Literal documentation (GH-25877) (#25882)Miss Islington (bot)2021-05-041-2/+2
| | | | | (cherry picked from commit 87109f4d85c93a870ee8aa0d2b394547d4636b17) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Doc: Fix random.uniform example comment. (GH-25784)Julien Palard2021-05-031-1/+1
|
* dataclasses docs: add a missing word. (GH-25839)Eric V. Smith2021-05-031-1/+1
|
* More clarification of kw_only args. (GH-25838)Eric V. Smith2021-05-031-13/+20
| | | Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
* Fix invalid markup (#25833)Raymond Hettinger2021-05-031-2/+1
|
* bpo-25478: Add total() method to collections.Counter (GH-25829)Raymond Hettinger2021-05-031-1/+11
|
* More work on documenting dataclass keyword-only fields. (GH-25828)Eric V. Smith2021-05-031-16/+40
|
* bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565)Jason R. Coombs2021-05-021-0/+13
| | | | | | | | | * bpo-43926: Cleaner metadata with PEP 566 JSON support. * Add blurb * Add versionchanged and versionadded declarations for changes to metadata. * Use descriptor for PEP 566
* bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)Brandt Bucher2021-05-021-0/+9
|
* bpo-43997: Add versionadded directives for to match_args, kw_only, and slots ↵Shreyan Avigyan2021-05-021-0/+8
| | | | in dataclasses.dataclasses documentation (GH-25803)
* bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817)Christian Heimes2021-05-021-0/+8
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099)Christian Heimes2021-05-021-2/+17
| | | | | | | | | Reverts commit e653d4d8e820a7a004ad399530af0135b45db27a and makes parsing even more strict. Like socket.inet_pton() any leading zero is now treated as invalid input. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)Inada Naoki2021-05-021-0/+4
|
* bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)larryhastings2021-05-021-0/+7
| | | Add "Annotations Best Practices" HOWTO doc.
* Minor tweaks to dataclasses keyword-only fields documentation. (GH-25801)Eric V. Smith2021-05-021-5/+5
|