Miss Islington (bot)
c76e70a409
gh-93358: Fix python-config docs for how to embed Python (GH-98649)
...
(cherry picked from commit e063c23c65
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-29 11:53:54 -07:00
Miss Islington (bot)
85f88f63d9
Fix typo in contextvars docs (GH-98823)
...
(cherry picked from commit 72fa57a8fe
)
Co-authored-by: cburroughs <chris.burroughs@gmail.com>
2022-10-28 14:19:43 -07:00
Alex Waygood
4320115613
[3.10] `argparse` docs: normalize constant references ( #98765 ) ( #98808 )
...
`argparse` docs: normalize constant references (#98765 )
(cherry picked from commit b27b57c6e4
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2022-10-28 18:17:03 +01:00
Miss Islington (bot)
586bb1fd8b
[3.10] bpo-2716: add license for audioop module (GH-19972) ( #98532 )
...
bpo-2716: add license for audioop module (GH-19972)
(cherry picked from commit 4c1145bb37
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2022-10-28 12:11:26 +02:00
Stanley
f786485f13
[3.10] Change links to label refs (GH-98454) ( #98726 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-26 13:19:39 -07:00
Erlend E. Aasland
4b41b11a63
[3.10] gh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs (GH-98720) ( #98737 )
...
(cherry picked from commit 365852a03a
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-26 22:19:20 +02:00
Miss Islington (bot)
5e08585317
gh-98348: Mention ReferenceError in weakref.proxy documentation (GH-98355)
...
(cherry picked from commit 216f45e4fe
)
Co-authored-by: fancidev <fancidev@gmail.com>
2022-10-25 20:55:29 -07:00
Miss Islington (bot)
0f93725063
gh-77753: Add example for values that compare equal in stdtypes (GH-98497)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d640
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 20:01:11 -07:00
Miss Islington (bot)
866dc74afa
gh-84747: Add `async for` comment for StreamReader (GH-98633)
...
(cherry picked from commit 4196ee5c8b
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 19:23:08 -07:00
Miss Islington (bot)
3e335f2c0d
gh-98623: Fix base classes in `typing.rst` (GH-98626)
...
(cherry picked from commit 5076108872
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 07:15:07 -07:00
Miss Islington (bot)
d79a42aac8
gh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports subscripting" (GH-98508)
...
(cherry picked from commit e3b9dd8e87
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 11:17:33 -07:00
Miss Islington (bot)
39e914c03a
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:01:37 -07:00
Miss Islington (bot)
e69509f468
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:54:35 -07:00
Miss Islington (bot)
f3c23fc48c
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:11:29 -07:00
Miss Islington (bot)
dcb342b5f9
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:28:25 -07:00
Miss Islington (bot)
3f040bc8e4
[3.10] [doc] Improve logging cookbook example. (GH-98481) (GH-98482)
...
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2022-10-20 12:53:53 +01:00
Vinay Sajip
dddbbd9e3e
[3.10] [doc] Refresh the venv introduction documentation, and correct… (GH-98466)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Phil Elson <pelson.pub@gmail.com>
2022-10-19 22:56:26 +01:00
Miss Islington (bot)
ac2e7bec08
Doc: Remove title text from internal links (GH-98409)
...
Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators
(cherry picked from commit 52fcba6512
)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2022-10-19 08:45:25 -07:00
C.A.M. Gerlach
b2db1c2080
[3.10] Docs: Fix backtick errors found by sphinx-lint (GH-97998) ( #98373 )
...
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:47 +02:00
Miss Islington (bot)
26307384ff
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:13:28 -07:00
Jelle Zijlstra
8a1f1cbe1a
[3.10] docs(typing): harmonize "See PEP x for more details" (GH-97927). ( #98293 )
...
(cherry picked from commit 02389658a4
)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2022-10-15 21:08:46 -07:00
Vinay Sajip
7b604d83d2
[3.10] [doc] Update logging cookbook with an example of custom handli… (GH-98299)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-15 21:59:13 +01:00
Miss Islington (bot)
258c440b47
gh-96265: Formatting changes for faq/general (GH-98129)
...
* Some formatting changes for general faq
* Use list for Python versioning
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* New line for list, list for a/b/rc
* Line wrap for 80 chars
* More line wrap
* Remove PythonWin mention.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit e9569ec43e
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-12 09:12:14 -07:00
Miss Islington (bot)
2ed28a69b5
tutorial: remove "with single quotes" (GH-98204)
...
Closes GH-91856.
On Windows double quotes are sometimes better, on Unix usually
single quotes. It's not our place to explain that, so just don't.
(cherry picked from commit 5f8ca1b796
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-12 09:07:49 -07:00
Miss Islington (bot)
bd73110959
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:50:15 -07:00
Miss Islington (bot)
f6abb332a2
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:06:40 -07:00
Miss Islington (bot)
f94e6b4c42
gh-95276: Add callable entry to the glossary (GH-95738)
...
(cherry picked from commit e3bf125c81
)
Co-authored-by: MonadChains <monadchains@gmail.com>
2022-10-11 19:49:23 -07:00
Miss Islington (bot)
48447d44ed
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:48:39 -07:00
Miss Islington (bot)
bf6b52ebad
[3.10] gh-88452: Add a warning about non-portability of environments. (GH-98155) (GH-98156)
2022-10-10 21:09:27 +01:00
Miss Islington (bot)
de745870e6
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:17 -07:00
Miss Islington (bot)
8827b95e80
doc: remove a misleading statement. (GH-98093)
...
(cherry picked from commit 571e23d991
)
Co-authored-by: Julien Palard <julien@palard.fr>
2022-10-10 01:50:17 -07:00
Miss Islington (bot)
ac0a19b62a
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:34:53 -07:00
Miss Islington (bot)
03ea515f33
Fix types in buffer/memoryview docs (GH-98118)
...
The definition of obj in the `Py_buffer` struct is as a PyObject*
ec091bd47e/Include/pybuffer.hGH-L22
PyMemoryView_GET_BASE returns `.obj` - thus its return type
should be a PyObject* (or at least a void*). It definitely
doesn't return `Py_buffer`
(cherry picked from commit c459fedf7c
)
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2022-10-09 18:02:49 -07:00
Miss Islington (bot)
820ef62833
[3.10] Minor edits to the Descriptor HowTo Guide (GH-24901) (GH-98114)
2022-10-08 21:16:10 -05:00
Miss Islington (bot)
a2ce21f763
gh-97913 Docs: Add walrus operator to the index (GH-97921)
...
* Add walrus operator to the index
* Add named expression to the index
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* Fix indentation and add missing newline
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit 296313002f
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-08 00:03:33 -07:00
Miss Islington (bot)
786fde5d70
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 23:57:31 -07:00
Miss Islington (bot)
1818235f40
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:15:08 -07:00
Miss Islington (bot)
1a31799d16
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 19:00:35 -07:00
Miss Islington (bot)
02394400f3
[3.10] gh-91708: Revert params note in urllib.parse.urlparse table (GH-96699) ( #98053 )
...
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 16:02:43 -07:00
Miss Islington (bot)
90f2c7992f
Add a warning message about PyOS_snprintf (GH-95993)
...
(cherry picked from commit c7b2204996
)
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
2022-10-07 13:36:21 -07:00
Miss Islington (bot)
e73cb54a06
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 12:30:39 -07:00
Miss Islington (bot)
7565944994
[3.10] gh-96959: Update HTTP links which are redirected to HTTPS (GH-98039) ( #98050 )
...
(cherry picked from commit c81c64ca58
)
Co-authored-by: 180909 <734461790@qq.com>
2022-10-07 12:03:36 -07:00
Miss Islington (bot)
5054ae23ce
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:44 -07:00
Christopher Chianelli
5e87cc2ab5
[3.10] gh-71316: Update dis documentation to include changes to jump arguments (GH-95798). (GH-98029)
...
(cherry picked from commit 6592a62ec2
)
Co-authored-by: Christopher Chianelli <cchianel@redhat.com>
2022-10-07 15:35:41 +01:00
Miss Islington (bot)
bb21bc335b
[3.10] Remove extra spaces in custom openSSL documentation. (GH-93568) ( #98008 )
...
Remove extra spaces in custom openSSL documentation. (GH-93568)
(cherry picked from commit 4875433682
)
Co-authored-by: Xiao Chen <chenxiao_7@163.com>
Co-authored-by: Xiao Chen <chenxiao_7@163.com>
2022-10-06 17:56:51 -07:00
Miss Islington (bot)
bc03bf42e7
gh-97850: Remove the open issues section from the import reference (GH-97935)
...
Remove the open issues section from the import reference
Tracking in https://github.com/python/cpython/issues/97850 instead.
(cherry picked from commit f8edc6ff53
)
Co-authored-by: Brett Cannon <brett@python.org>
2022-10-06 14:07:34 -07:00
Miss Islington (bot)
b7487dff30
gh-86482: Document assignment expression need for ()s (GH-23291)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 2b5f1360ea
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-10-06 12:33:23 -07:00
Łukasz Langa
537c93ea3b
[3.10] gh-93738: Disallow pre-v3 syntax in the C domain (GH-97962) ( #97977 )
...
Also, disable using invalid sphinx-lint 0.6.2.
(cherry picked from commit f612565bd3
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-06 11:56:52 -07:00
Miss Islington (bot)
e2591e4f5e
[3.10] gh-95691: Doc BufferedWriter and BufferedReader (GH-95703) ( #97948 )
...
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:22:42 -07:00
Miss Islington (bot)
c80c282d11
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:46 -07:00