Miss Islington (bot)
17f3b5cbfa
gh-92368: Fix missing possessive apostrophe (GH-92397)
...
* Fix missing possessive apostrophe
(cherry picked from commit a79001ee16
)
Co-authored-by: gophra <105054704+gophra@users.noreply.github.com>
2022-05-06 07:12:59 -07:00
Miss Islington (bot)
229dc17f7a
gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) ( #92330 )
...
(cherry picked from commit 43b135f94e
)
Co-authored-by: Robert Howlett <robert@howletts.org.uk>
Co-authored-by: Robert Howlett <robert@howletts.org.uk>
2022-05-06 14:47:09 +02:00
Miss Islington (bot)
367faf71ea
Document the lifetime of PyUnicode_AsUTF8String
(GH-92325)
...
The current wording implied this, but didn't state it explicitly.
(cherry picked from commit 740da8d37a
)
Co-authored-by: Matt Wozniski <godlygeek@gmail.com>
2022-05-06 02:55:01 -07:00
Miss Islington (bot)
bb2dcf1c79
gh-92223: Remove pre-Python 3.7 alternative in asyncio docs (GH-92224)
...
(cherry picked from commit d1b2e989be
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2022-05-04 17:30:54 -07:00
Jelle Zijlstra
31d9a88ca8
[3.10] Improve the typing docs (GH-92264) ( #92270 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>.
(cherry picked from commit 27e3665715
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-05-03 16:41:39 -06:00
Miss Islington (bot)
666820cb4b
gh-87304: Improve comments in language reference for imports (GH-92164)
...
(cherry picked from commit ee2205b208
)
Co-authored-by: Robert Yang <35813883+robert861212@users.noreply.github.com>
2022-05-03 15:24:03 -07:00
Miss Islington (bot)
5f40cb85c2
bpo-46586: Fix more erroneous doc links to builtins (GH-31429)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
(cherry picked from commit cc6ae4f483
)
Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com>
2022-05-02 15:51:33 -07:00
Miss Islington (bot)
f44e629a57
bpo-6686: Replace String with Bytes in xml.sax.handler documentation (GH-30612)
...
(cherry picked from commit 32e4f450af
)
Co-authored-by: Yassir Karroum <ukarroum17@gmail.com>
2022-05-02 15:44:07 -07:00
Miss Islington (bot)
d851f37b88
importlib docs: Update importlib.abc hierarchy (GH-31113)
...
Fixed some inconsistencies in the text about relationships
(cherry picked from commit 5f45a9d3c3
)
Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
2022-05-02 13:48:59 -07:00
Thaddeus1499
c8ab1633fc
[3.10] bpo-43504: Remove effbot urls (GH-26308) ( #92161 )
...
* [3.10] Remove effbot urls (GH-26308).
(cherry picked from commit e9f66aedf4
)
Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
2022-05-02 12:21:51 -06:00
Miss Islington (bot)
bab4d0bb16
gh-91783: Document security considerations for shutil.unpack_archive (GH-91844)
...
(cherry picked from commit 4b297a9ffd
)
Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
2022-05-02 10:34:59 -07:00
Miss Islington (bot)
864058ba86
[3.10] Fix typo in Programming FAQ (GH-92083) (GH-92148)
...
I believe the word "with" was missing here.
(cherry picked from commit 2a7efa3242
)
Co-authored-by: Matt Harding <majaharding@gmail.com>
2022-05-02 10:24:49 -07:00
Miss Islington (bot)
0e9927b6b0
gh-92082: contextlib docs: Change aclosing from a class to a function for consistency (GH-92155)
...
Signed-off-by: prwatson <prwatson@redhat.com>
(cherry picked from commit 958f21c5cd
)
Co-authored-by: Thaddeus1499 <104600742+Thaddeus1499@users.noreply.github.com>
2022-05-02 09:37:10 -07:00
Miss Islington (bot)
446cc03730
gh-88546: glob.glob docs: Make new paragraph for emphasis and reordered sentence (GH-91614)
...
(cherry picked from commit b9ab6cea08
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-05-02 08:35:37 -07:00
Miss Islington (bot)
9941640041
asyncio.subprocess: Fix a typo in doc (GH-92030)
...
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
(cherry picked from commit bb857a96ef
)
Co-authored-by: Harsh <65716674+Harsh-br0@users.noreply.github.com>
2022-05-02 08:18:01 -07:00
Miss Islington (bot)
9ce39cc9f2
gh-85133: os docs: Add that getenv uses os.environ (GH-91874)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit b25352a5c0
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-05-02 07:58:09 -07:00
Miss Islington (bot)
bba721d0fa
gh-84714: Add behavior if dst file exists (GH-91867)
...
(cherry picked from commit 9166ace805
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-05-02 07:51:07 -07:00
Miss Islington (bot)
a7d3de7fe6
gh-85679: Recommend encoding="utf-8"
in tutorial (GH-91778)
...
(cherry picked from commit 614420df97
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2022-05-02 01:45:10 -07:00
Miss Islington (bot)
e7de543219
typing docs: Add example for async functions (GH-20386)
...
Fixes python/typingGH-424
(cherry picked from commit 9588f880a2
)
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
2022-04-30 21:55:58 -07:00
Miss Islington (bot)
a48d31f204
gh-81488: Add recursive wording for issubclass docs (GH-92087)
...
(cherry picked from commit 1066ecb970
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-30 21:21:51 -07:00
Miss Islington (bot)
31e35bef22
gh-91611: Use example.com for documentation, not mydomain.com (GH-91613)
...
example.com is reserved by the IANA as special-use domain name for documentation
purposes. The domain names are used widely in books, tutorials, sample network
configurations, and generally as examples for the use of domain name.
On the other hand, mydomain.com is real Domain Name Registration service.
(cherry picked from commit ea39246782
)
Co-authored-by: Motoki Naruse <motoki@naru.se>
2022-04-30 21:03:11 -07:00
Miss Islington (bot)
8b6e5d3863
gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)
...
GH-89253
[`pairwise()`](https://docs.python.org/3/library/itertools.htmlGH-itertools.pairwise ) already has the 'new in python3.10'
Automerge-Triggered-By: GH:rhettinger
(cherry picked from commit 5dcfb916c7
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-30 15:29:09 -07:00
Miss Islington (bot)
335aae1950
gh-87801: Add run() to subprocess.CalledProcessError description (GH-91628)
...
(cherry picked from commit 567be058b4
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-30 14:51:45 -07:00
Miss Islington (bot)
cfcda0acf2
gh-87192: Update wording for fcntl 'Changed in' (GH-91658)
...
(cherry picked from commit d7eb1ffbe8
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-30 14:44:08 -07:00
Miss Islington (bot)
5ed9556cfb
gh-85864: io docs: Add missing position-only parameters (GH-91950)
...
(cherry picked from commit 3a8e2b6e65
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-30 08:39:29 -07:00
Miss Islington (bot)
7149b21c2e
sorting howto: Add clarification on < using __lt__ (GH-92010)
...
(cherry picked from commit 53ca774497
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-29 15:25:31 -07:00
Miss Islington (bot)
e25799d27d
Add note that headers added via urllib.request.add_header are added to redirected requests (GH-30708) ( #92004 )
...
(cherry picked from commit f348154c8f
)
Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
2022-04-27 16:26:42 -06:00
Miss Islington (bot)
86e4bdaf49
gh-84459: Make wording more specific for Path.replace (GH-91853)
...
GH-84459
(cherry picked from commit 161dff7e10
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-27 15:18:06 -07:00
Victor Stinner
a36d97e3f1
gh-68966: Document mailcap deprecation in Python 3.11 ( #91971 )
...
(cherry picked from commit 80de0273c0
)
2022-04-27 11:39:51 +02:00
Ezio Melotti
4120bbae49
[3.10] gh-91888: add a :gh: role to the documentation (GH-91889) ( #91934 )
...
* gh-91888: Add a :gh: role to the documentation (GH-91889).
* [3.10] gh-91888: add a `:gh:` role to the documentation (GH-91889)
* Add a new :gh:`...` role for GitHub issues.
* Fix a GitHub id to use the :gh: role.
* Add Misc/NEWS entry.
* Refactoring and rephrasing.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.
(cherry picked from commit f7641a2ffe
)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-04-26 02:51:28 +02:00
Ezio Melotti
dc31334ab1
[3.10] Update Sphinx bpo role to use redirect URI. ( #91890 )
...
* Update Sphinx bpo role to use redirect URI. (GH-32342)
* [3.10] Update Sphinx bpo role to use redirect URI. (GH-32342).
(cherry picked from commit 08cfe07950
)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Fix whitespace.
2022-04-24 23:07:51 +02:00
Miss Islington (bot)
0482ed7d07
gh-85864: Mark positional-only args in io docs (GH-91683)
...
(cherry picked from commit a3f2cf3ced
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-22 17:48:13 -07:00
Miss Islington (bot)
7ade77709b
gh-91547: Remove "Undocumented modules" page (GH-91682)
...
(cherry picked from commit 254aaa7981
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-04-22 16:33:46 -07:00
Miss Islington (bot)
886b22c4c3
bpo-23747: Enhance platform doc, document default behavior (GH-31462)
...
(cherry picked from commit ad3ca17ff5
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-20 09:41:12 -07:00
Miss Islington (bot)
88bbc5dd7a
bpo-30718: Add information about text buffering (GH-32351)
...
(cherry picked from commit 5101d97d0b
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-20 02:00:43 -07:00
Miss Islington (bot)
8299e24d4c
Add link to sys.path in os lib (GH-91679)
...
(cherry picked from commit 692aea6f38
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-19 21:17:34 -07:00
Miss Islington (bot)
f92aa4fde1
Fix awkward sentence in signal docs (GH-91508)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 326ae71f1d
)
Co-authored-by: AJ Jordan <alex@strugee.net>
2022-04-19 18:38:15 -07:00
Miss Islington (bot)
e08d32381d
gh-87497: Document that urllib.request sends headers in camel case (GH-24661) ( #91517 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 325d6f5035
)
Co-authored-by: Alix Lourme <alix.lourme@gmail.com>
2022-04-19 18:20:03 -07:00
Oleg Iarygin
e7e8a9fa4f
[3.10] gh-91118: Fix docstrings that do not honor --without-doc-strings (GH-31769) ( #91662 )
...
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a573cb2fec
)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2022-04-19 13:01:09 -07:00
Miss Islington (bot)
b865a661e3
Doc: Fix link formatting typo (GH-91659)
...
(cherry picked from commit 6a7a8a740e
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-19 02:33:44 -07:00
Miss Islington (bot)
0897a0bf9c
Remove duplicate explanation (GH-91534)
...
(cherry picked from commit 0e6dca0193
)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
2022-04-17 21:44:58 -07:00
Miss Islington (bot)
531f66ad62
gh-89885: Improve import example in language reference (GH-91523)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5a69571f5
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-17 14:34:41 -07:00
Miss Islington (bot)
e5636f3a0e
gh-91541: Fix error in example in modules tutorial (GH-91634)
...
(cherry picked from commit efbc668183
)
Co-authored-by: 180909 <734461790@qq.com>
2022-04-17 14:30:57 -07:00
Miss Islington (bot)
2bcfe20d92
gh-90923: Improve sqlite3.Connection.execute* docs (GH-91643)
...
- Drop 'nonstandard'; it does not add any value
- Try to be more concise
- Make return value a little more explicit
(cherry picked from commit 017f07a229
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-04-17 14:29:21 -07:00
Miss Islington (bot)
f5542ecf6d
gh-82849: revise intro to os.path.rst (GH-32232)
...
* revise the first paragraph of docs for os.path
* add a mention of `os.PathLike` protocol
* remove warnings rendered irrelevant by :pep:`383` and :pep:`529`
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 468314cc8b
)
Co-authored-by: Jack DeVries <jdevries3133@gmail.com>
2022-04-15 21:38:11 -07:00
Miss Islington (bot)
2e1f969333
Add link to documentation translation list (GH-91560) ( #91589 )
...
(cherry picked from commit c4e8a93eb3
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-16 04:16:05 +02:00
Miss Islington (bot)
289f27d06b
gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434) (GH-91464)
...
* add a paragraph to document this kwarg in detail
* update docstring in the source accordingly
(cherry picked from commit f33e2c87a8
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-15 15:55:13 +02:00
Miss Islington (bot)
de7b756521
gh-70979: Fix runpy.run_path parameter name in docs (GH-32265)
...
Noticed while reviewing GH-30729.
(cherry picked from commit f1e989b045
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-14 18:23:20 -07:00
Miss Islington (bot)
35fef27110
Add redirects to Misc/NEWS bpo links (GH-91454) (GH-91535)
...
(cherry picked from commit 17dbb6bc10
)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-04-14 17:02:03 +02:00
Miss Islington (bot)
52ce75fc1e
gh-90879: Fix missing parameter for put_nowait() (GH-91514)
...
(cherry picked from commit 0fc3517cf4
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-04-14 02:18:31 -07:00