Miss Islington (bot)
032d1276ed
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
...
(cherry picked from commit 2fdcc6f2cb
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-24 11:00:18 -07:00
Miss Islington (bot)
d9abd8a584
gh-98500: Fix typing docs for *View
classes (GH-98511)
...
(cherry picked from commit 1a217f9ffc
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 10:55:11 -07:00
Miss Islington (bot)
ae68a45daa
gh-98561: Fix a typo in typing (GH-98562)
...
(cherry picked from commit b6d5d5b60a
)
Co-authored-by: Omkaar <79257339+Infiniticity@users.noreply.github.com>
2022-10-23 07:13:25 -07:00
Miss Islington (bot)
519b56a5c7
gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (GH-98304)
...
(cherry picked from commit 8f30267ab4
)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-22 12:21:01 -07:00
Miss Islington (bot)
3cd39e9399
[Enum docs]: fix order of arguments to isinstance() (GH-98542)
...
(cherry picked from commit 327fc1c6fa
)
Co-authored-by: Clément Robert <cr52@protonmail.com>
2022-10-22 04:36:01 -07:00
Miss Islington (bot)
c835b97c5f
gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (GH-94370)
...
(cherry picked from commit d9407b174c
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-21 16:27:41 -07:00
Miss Islington (bot)
31d23ae894
gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (GH-98455)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 3e95ffc7ae
)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2022-10-21 15:43:23 -07:00
Hugo van Kemenade
095e06f4ca
[3.11] Docs: Bump sphinx-lint and use double backticks for inline literals (GH-98441) ( #98445 )
...
Bump sphinx-lint and use double backticks for inline literals
2022-10-20 06:07:33 -07:00
Vinay Sajip
3b7e0204bf
[3.11] [doc] Refresh the venv introduction documentation, and correct the st… (GH-98465)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Phil Elson <pelson.pub@gmail.com>
2022-10-19 22:28:24 +01:00
Raymond Hettinger
07cc997e00
[3.11] Sync the batched() recipe with the 3.12 implementation (GH-98446)
2022-10-19 09:21:14 -05:00
Miss Islington (bot)
f1a240abab
General improvements to the itertools docs (GH-98408)
...
(cherry picked from commit f4ead4874b
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-18 12:17:40 -07:00
C.A.M. Gerlach
ea19c28512
[3.11] Docs: Fix backtick errors found by sphinx-lint (GH-97998) ( #98371 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit fa2d43e518
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-18 01:49:38 +02:00
Miss Islington (bot)
9cb30bb339
Move random selection recipes from itertools.rst to random.rst (GH-98369)
...
(cherry picked from commit 70732d8a4c
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-17 15:38:22 -07:00
Miss Islington (bot)
6c7f7ec819
gh-85525: Remove extra row in doc (GH-98337)
...
* remove extra row
* 📜 🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 5c9302d03a
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2022-10-17 15:08:10 -07:00
Vinay Sajip
f64e26c04e
[3.11] gh-98307: Add docstring and documentation for SysLogHandler.cr… (GH-98325)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-16 18:45:59 +01:00
Miss Islington (bot)
e26c526fd4
gh-85299: Add note warning about entry point guard for asyncio example (GH-93457)
...
(cherry picked from commit 79fd6ccdbe
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-16 10:16:48 -07:00
Miss Islington (bot)
a2ae35dfa4
[3.11] Improve speed. Reduce auxiliary memory to 16.6% of the main array. (GH-98294) (GH-98303)
2022-10-15 16:24:05 -05:00
Miss Islington (bot)
d3b57dc729
docs(typing): harmonize "See PEP x for more details" (GH-97927)
...
(cherry picked from commit 02389658a4
)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2022-10-15 12:25:58 -07:00
Miss Islington (bot)
42511fc72d
Faster sieve() recipe (GH-98287)
...
(cherry picked from commit f4370318d6
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-15 10:52:45 -07:00
Miss Islington (bot)
232a988912
gh-85525: Indicate supported sound header formats (GH-21575)
...
* Indicate supported sound header formats
* modify file names
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 05c042e707
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2022-10-15 08:09:20 -07:00
Miss Islington (bot)
42d536c1c7
gh-91485: Doc: Using Python syntax to document builtin Python functions. (GH-96579)
...
(cherry picked from commit 3c4cbd177f
)
Co-authored-by: Julien Palard <julien@palard.fr>
2022-10-15 07:32:37 -07:00
Miss Islington (bot)
316590116a
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
...
(cherry picked from commit c39a0c3354
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-10-11 21:51:13 -07:00
Miss Islington (bot)
59ddbc4ab6
Formatting fixes in contextlib docs (GH-98111)
...
(cherry picked from commit 3b33c2010a
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-11 21:05:12 -07:00
Miss Islington (bot)
d22c35dfff
gh-96130: Rephrase use of "typecheck" verb for clarity (GH-98144)
...
I'm sympathetic to the issue report, especially in case this helps
clarify to new users that Python itself does not do type checking at runtime
(cherry picked from commit ed6344eed0
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-10-11 19:45:44 -07:00
Miss Islington (bot)
5c0d4c2619
[3.11] gh-88452: Add a warning about non-portability of environments. (GH-98155) (GH-98157)
2022-10-10 21:10:04 +01:00
Miss Islington (bot)
fc14f1a80d
gh-83940: os docs: Improve wording for getenv/getenvb (GH-98113)
...
(cherry picked from commit 187e853690
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-10 07:01:05 -07:00
Miss Islington (bot)
6211bb2cf8
gh-56133: copyreg docs: Clarify function/constructor parameter (GH-95497)
...
(cherry picked from commit 281a3f18cc
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-09 18:02:00 -07:00
Miss Islington (bot)
b5196faff3
gh-97822: Fix http.server documentation reference to test() function (GH-98027)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 6b485629d2
)
Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
2022-10-07 22:07:06 -07:00
Miss Islington (bot)
8d6591b593
gh-57179: Add note on symlinks for os.walk (GH-94799)
...
(cherry picked from commit 0f498f1a95
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-07 20:00:04 -07:00
Miss Islington (bot)
c2f21af42a
gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170)
...
(cherry picked from commit 676d8ef380
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-07 16:45:53 -07:00
Miss Islington (bot)
17c9ce112f
gh-61105: Add default param, note on using cookiejar subclass (GH-95427)
...
(cherry picked from commit 5eaf4d6101
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-07 16:05:52 -07:00
Miss Islington (bot)
40d5e89d3b
[3.11] gh-91708: Revert params note in urllib.parse.urlparse table (GH-96699) ( #98052 )
...
Revert params note in urllib.parse.urlparse table
(cherry picked from commit eed80458e8
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-07 13:53:15 -07:00
Miss Islington (bot)
3dc8eb41bc
gh-64921: Clarify wording for open()'s newline arg (GH-96171)
...
(cherry picked from commit 4a74e6ab38
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-07 11:21:01 -07:00
Miss Islington (bot)
245ea1f500
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
...
(cherry picked from commit 6592a62ec2
)
Co-authored-by: Christopher Chianelli <cchianel@redhat.com>
2022-10-07 07:10:46 -07:00
Miss Islington (bot)
d7547fc6fb
Misc updates to the itertools recipes and tests (GH-98018)
...
(cherry picked from commit e500cc0451
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2022-10-07 01:46:31 -07:00
Miss Islington (bot)
d163d5976d
GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999)
...
Reason: we were too hasty in deprecating this.
We shouldn't deprecate it before we have a replacement.
(cherry picked from commit 09de8d7aaf
)
Co-authored-by: Guido van Rossum <guido@python.org>
2022-10-06 18:50:25 -07:00
Miss Islington (bot)
1144cf64d8
[3.11] gh-95691: Doc BufferedWriter and BufferedReader (GH-95703) ( #97947 )
...
gh-95691: Doc BufferedWriter and BufferedReader (GH-95703)
(cherry picked from commit 0d68879104
)
Co-authored-by: 180909 <734461790@qq.com>
Co-authored-by: 180909 <734461790@qq.com>
2022-10-05 17:21:55 -07:00
Miss Islington (bot)
0c387bf978
GH-88968: Add notes about socket ownership transfers (GH-97936)
...
(cherry picked from commit 74ea204634
)
Co-authored-by: Guido van Rossum <guido@python.org>
2022-10-05 16:54:21 -07:00
Miss Islington (bot)
19ec4d40a2
[3.11] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) ( #96294 )
...
(cherry picked from commit 47d406ffc4
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-10-05 15:03:18 -07:00
Łukasz Langa
83ad76275c
[3.11] gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (GH-97768) ( #97924 )
...
:c:type:`<C type>` -> :c:expr:`<C type>`
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 0031e62973
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-05 14:11:12 -07:00
Miss Islington (bot)
61183b95ae
docs(typing): add "see PEP 675" to LiteralString (GH-97926)
...
(cherry picked from commit 2016bc54a2
)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2022-10-05 13:16:12 -07:00
Miss Islington (bot)
ef77f2f068
GH-95172 Make the same version versionadded
oneline (GH-95172)
...
* Make the same version versionadded oneline
* Format versionadded for enum.rst
* Format versionadded
A single line versionadded was reading better.
Co-authored-by: Senthil Kumaran <senthil@python.org>
(cherry picked from commit d6062d1170
)
Co-authored-by: 180909 <734461790@qq.com>
2022-10-05 11:01:17 -07:00
Miss Islington (bot)
d5852a090f
[3.11] gh-93738: Documentation C syntax (Use c:struct
) (GH-97772) ( #97869 )
...
Use `c:struct`
(cherry picked from commit a0f5599aac
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-05 08:20:03 -07:00
Miss Islington (bot)
0a2008037f
[3.11] gh-93738: Documentation C syntax (:c:type:PyObject
-> :c:expr:PyObject
) (GH-97776) ( #97889 )
...
:c:type:`PyObject` -> :c:expr:`PyObject`
(cherry picked from commit 0bf6a617ed
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-05 08:18:27 -07:00
Miss Islington (bot)
79b5c1ad3c
gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (GH-97662)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 4b83cd0b22
)
Co-authored-by: Jia Junjie <62194633+jiajunjie@users.noreply.github.com>
2022-10-05 01:57:30 -07:00
Miss Islington (bot)
0151375829
Add re.VERBOSE flag documentation example (GH-97678)
...
The current re.VERBOSE documentation example leaves space for ambiguous
interpretation. One may read that spaces within the `(?:` token are
spaces inside the non-capturing group (such as `(?: )`). This patch
removes the ambiguity by including examples after the statement.
(cherry picked from commit 0ceafa7fa4
)
Co-authored-by: Athos Ribeiro <athoscribeiro@gmail.com>
2022-10-04 18:29:54 -07:00
Miss Islington (bot)
5fdce5d009
[3.11] gh-88355: Fix backslashes in AF_PIPE (GH-96543) ( #97854 )
...
gh-88355: Fix backslashes in AF_PIPE (GH-96543)
Fix backslashes in AF_PIPE (GH-88355)
The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes.
(cherry picked from commit ff28d8926d
)
Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com>
Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com>
2022-10-04 15:55:34 -07:00
Miss Islington (bot)
d45698269e
[3.11] gh-96448: fix documentation for _thread.lock.acquire (GH-96449) ( #97851 )
...
gh-96448: fix documentation for _thread.lock.acquire (GH-96449)
* fix documentation for _thread.lock.acquire
* update formatting of _thread.lock.acquire() doc
(cherry picked from commit 7acb93f0d4
)
Co-authored-by: Daniel Giger <danielg3432@gmail.com>
Co-authored-by: Daniel Giger <danielg3432@gmail.com>
2022-10-04 15:21:28 -07:00
Miss Islington (bot)
cad4dca7bf
gh-90301: Doc: Add references to PEP 686 (GH-96816)
...
Doc: Add references to PEP 686.
(cherry picked from commit 87679a6e60
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2022-10-04 15:14:52 -07:00
Miss Islington (bot)
0dcfe0f47e
GH-82604: fix docs about configuring selector (GH-97755)
...
(cherry picked from commit 53503ff60e
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-04 09:52:28 -07:00