Commit graph

24174 commits

Author SHA1 Message Date
Miss Islington (bot)
3357604db9
bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)
(cherry picked from commit 60d343a816)

Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
2021-05-19 02:44:14 -07:00
Miss Islington (bot)
5f2afff1dd
bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) (GH-26218)
(cherry picked from commit 4fdcc39f71)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-05-19 09:59:23 +01:00
Miss Islington (bot)
e57bef1b73
bpo-44106: Purge unused sqlite3 doc includes (GH-26234)
(cherry picked from commit d798acc873)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-19 11:17:19 +03:00
Miss Islington (bot)
3185bc9d3f
bpo-44106: Improve sqlite3 example database contents (GH-26027)
(cherry picked from commit 92d1064727)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-19 10:44:00 +03:00
Miss Islington (bot)
1f483c0c1b
bpo-30593: Doc'ed that executescript() disregards isolation level (GH-26220)
(cherry picked from commit 9014437573)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-19 10:37:33 +03:00
Łukasz Langa
4d17c93dfe
[3.10] bpo-41963: document that ConfigParser strips off comments (GH-26197) (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 02ee819126)
2021-05-18 19:03:09 +02:00
Miss Islington (bot)
e6755ba94b
Apply edits from Allen Downey's review of the linear_regression docs. (GH-26176) (GH-26185) 2021-05-16 19:47:57 -07:00
Miss Islington (bot)
d49877e6e7
[doc] Fix typo in os module (GH-24464)
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit fdc7e52f5f)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2021-05-16 16:59:12 -07:00
Miss Islington (bot)
a38db84122
bpo-32133: Improve numbers docs (GH-26124) (GH-26149) 2021-05-15 10:28:55 -07:00
Miss Islington (bot)
67729a91a5
bpo-44139: Use a more descriptive syntax error comprehension case in the What's New for 3.10 (GH-26145) (GH-26146)
(cherry picked from commit c5b833046d)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-05-15 17:56:28 +01:00
Miss Islington (bot)
2e99869f64
bpo-44072: fix Complex, Integral docs for ** (GH-25986)
In numbers module docstrings and docs.
(cherry picked from commit 4aa63d65a9)

Co-authored-by: Rory Yorke <rory.yorke@gmail.com>
2021-05-14 15:22:45 -07:00
Miss Islington (bot)
dd4f7d96cb
bpo-43729: Clarify comment in tutorial example (GH-25191) (#26136)
(cherry picked from commit 07797121cc)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-14 13:06:09 -07:00
Miss Islington (bot)
623481c77b
Subprocess Protocols Documentation (GH-20950) (GH-26133) 2021-05-14 10:22:55 -07:00
Irit Katriel
23643799ac
[3.10] [doc] Fix typos in cgi.rst (GH-24766) (GH-26132)
(cherry picked from commit 19d839ae20)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2021-05-14 18:12:33 +01:00
Miss Islington (bot)
8940916a02
Update doc as relative import can be used with star import (GH-25667) (GH-26121)
(cherry picked from commit 3d4b5f1019)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
2021-05-14 07:26:40 -07:00
Miss Islington (bot)
5abc681019
Reword paragraph on specific value for Py_LIMITED_API (GH-26101) (GH-26123)
(cherry picked from commit ddd30b2dd2)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-14 14:28:08 +02:00
Miss Islington (bot)
464269778b
Updated code example for asyncio.gather (GH-20604) (GH-26119)
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 56b8ea65d2)

Co-authored-by: josephernest <nouvellecollection@gmail.com>

Co-authored-by: josephernest <nouvellecollection@gmail.com>
2021-05-13 23:07:20 -07:00
Miss Islington (bot)
e7d25d3f3b
bpo-43977: Update pattern matching language reference docs (GH-25917) (GH-26117)
* Update patma language reference with new changes to sequence and mapping

* update 3.10 whatsnew too
(cherry picked from commit 53c91ac525)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-13 22:55:41 -07:00
Miss Islington (bot)
373937182e
bpo-43795: PEP 652 user documentation (GH-25668) (GH-26034)
- Reformat the C API and ABI Versioning page (and extend/clarify a bit)
- Rewrite the stable ABI docs into a general text on C API Compatibility
- Add a list of Limited API contents, and notes for the individual items.
- Replace `Include/README.rst` with a link to a devguide page with the same info
(cherry picked from commit b05955d6f5)

Co-authored-by: Petr Viktorin <encukou@gmail.com>

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-13 22:29:09 -07:00
Miss Islington (bot)
ea14a0749a
bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. (GH-26090) (#26099)
(cherry picked from commit d1560d2429)

Co-authored-by: Barney Gale <barney.gale@gmail.com>

Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-05-13 22:24:13 -07:00
Miss Islington (bot)
3222b25b2f
[3.10] bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816) (GH-26115)
(cherry picked from commit a09fc9c63f)


Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Automerge-Triggered-By: GH:gvanrossum
2021-05-13 16:04:15 -07:00
Miss Islington (bot)
2d972b8e7c
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (GH-26089)
(cherry picked from commit 366c69f3f6)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-05-13 05:35:01 -07:00
Miss Islington (bot)
6275ea0282
bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)
(cherry picked from commit 8ea350ee90)

Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
2021-05-13 01:27:08 +01:00
Miss Islington (bot)
48cb11bf5b
bpo-40640: doc -- add missing ... in example of Continue (GH-26055) (GH-26057)
Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com>
(cherry picked from commit 6574334a68)


Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-12 11:25:54 +01:00
Miss Islington (bot)
7e59ef10e8
Correct the changelog entry for the syntax error message for multiple exception types (GH-26038)
(cherry picked from commit c1df8808e0)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2021-05-11 16:58:18 -07:00
Miss Islington (bot)
1e4ca09d82
bpo-10548: expectedFailure does not apply to fixtures (GH-23201) (#26044)
(cherry picked from commit 23ae2c3bac)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-11 23:23:40 +01:00
Miss Islington (bot)
6fc6f4366d
bpo-23750: Document os-system, subprocess. Patch by Martin Panter. (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 5f2eb87f28)

Co-authored-by: uniocto <serit142sa33go@gmail.com>

Co-authored-by: uniocto <serit142sa33go@gmail.com>
2021-05-11 13:55:15 -07:00
Miss Islington (bot)
7bef7a180d
bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (GH-23192) (#26035)
(cherry picked from commit 12e7d10dfd)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-05-11 19:19:27 +01:00
Miss Islington (bot)
90904011bd
Doc: http.server: directory is not a class attribute, but an argument. (GH-26017)
* Doc: http.server: directory is not a class attribute, but an argument.
(cherry picked from commit d1b81574ed)

Co-authored-by: Julien Palard <julien@palard.fr>
2021-05-10 19:20:22 -07:00
Miss Islington (bot)
f47305aa1f
bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967) (GH-26018)
(cherry picked from commit 2a031723ee)

Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com>

Co-authored-by: dhoekstra2000 <douwe.hoekstra2512@gmail.com>
2021-05-10 09:38:46 -04:00
Miss Islington (bot)
9a0e65c8e0
bpo-43149: Correct the syntax error message for multiple exception types (GH-25996) GH-25997)
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 6692dc1ca9)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-05-09 22:13:50 +01:00
Miss Islington (bot)
70ff820046
Fix a word in dataclasses docs. (GH-26003) (GH-26004)
(cherry picked from commit 801497a115)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2021-05-08 22:22:48 -04:00
Pablo Galindo
03acfc50ac
bpo-32924: Fix the Show Source url in the documentation (GH-25994) 2021-05-08 17:15:01 +01:00
Miss Islington (bot)
90d584a2ab
bpo-42725: mention the changes on what's new (GH-25974)
(cherry picked from commit 17229ab4a2)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
2021-05-08 05:20:48 -07:00
Pablo Galindo
f46ef57c25
Update the SOURCE_URI in pyspecific.py to point to the new branch (GH-25978) 2021-05-08 03:43:43 +01:00
Miss Islington (bot)
a8fa6b248f
Simple Enhancement. Add missing return statements in ftplib documentation. (GH-25968) (#25969)
(cherry picked from commit b32c8e9795)

Co-authored-by: Senthil Kumaran <senthil@uthcode.com>

Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
2021-05-07 07:13:15 -07:00
Miss Islington (bot)
ba5076f34b
Fix minor grammar problems in dataclasses documentation (GH-25948) (GH-25958)
Some missing words; some odd word choices.
(cherry picked from commit ee8e7c2fa9)

Co-authored-by: Scott Noyes <snoyes@gmail.com>

Co-authored-by: Scott Noyes <snoyes@gmail.com>
2021-05-06 17:54:32 -04:00
Miss Islington (bot)
34fc6dd8fd
docs: clearly document that ":GH-X" string formatting results in "0X..." (GH-25941)
* clearly document that ":GH-X" string formatting results in "0X..."

* put back the "serial comma"
(cherry picked from commit 92ceb1c840)

Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
2021-05-06 12:46:08 -07:00
Miss Islington (bot)
5dffd79ee9
Clarify rx parameter of compileall functions (GH-25857)
(cherry picked from commit 09490298d4)

Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
2021-05-04 12:57:35 -07:00
Miss Islington (bot)
377f3d43aa
fix enum.property reference in docs (GH-25875) (#25876)
(cherry picked from commit 6fee0835cb)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 06:24:46 -07:00
Miss Islington (bot)
8655521de8
bpo-32822: Add finally with return/break/continue to the tutorial (GH-25600) (#25893)
This documents in the tutorial docs the behavior of a finally clause in
case it should re-raise an exception but contains a
return/break/continue statement.
(cherry picked from commit a0b9915a8b)

Co-authored-by: Roberto Hueso <robertohueso96@gmail.com>
2021-05-04 15:17:40 +02:00
Miss Islington (bot)
31debfa524
Fix error in Enum documentation example code that was referring to the wrong enum. (GH-25837) (#25891)
(cherry picked from commit 33d9bf298b)

Co-authored-by: krisaoe <krisaoe@users.noreply.github.com>
2021-05-04 14:44:14 +02:00
Miss Islington (bot)
ae4f857499
bpo-44025: Clarify when '_' is a keyword. (GH-25873)
In match statements, in case patterns and nowhere else.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 3b200b2aa6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-04 04:36:50 -07:00
Miss Islington (bot)
aa0ce1615f
Copyedits to 3.10 What's New (GH-25787) (#25883)
Co-authored-by: Dominic Davis-Foster <dominic@davis-foster.co.uk>
(cherry picked from commit f6d7abc6e7)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 13:04:46 +02:00
Miss Islington (bot)
2046fb35e4
bpo-44001: improve Literal documentation (GH-25877) (#25882)
(cherry picked from commit 87109f4d85)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-05-04 11:17:35 +02:00
Pablo Galindo
b86ac4c352
Add CI step to check changes in the exported ABI (GH-25868) 2021-05-04 02:15:11 +01:00
Pablo Galindo
c2931d31f8
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854) 2021-05-03 15:50:24 +01:00
Julien Palard
440c025726
Doc: Fix random.uniform example comment. (GH-25784) 2021-05-03 02:20:54 -07:00
Eric V. Smith
72720a2639
dataclasses docs: add a missing word. (GH-25839) 2021-05-03 02:33:34 -04:00
Eric V. Smith
a21b3d2fa2
More clarification of kw_only args. (GH-25838)
Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
2021-05-03 01:55:13 -04:00