Miss Islington (bot)
2bb1ac2162
[3.13] gh-144837: Improve documentation for more collection methods (GH-144841) (GH-146484)
...
Use uniform standard signature syntax in the tutorial and in
the array and collections modules documentation.
(cherry picked from commit 17070f41d4 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-03-26 19:52:07 +00:00
Miss Islington (bot)
e11166cda0
[3.13] Docs: fix missing period in Doc/library/stdtypes.rst (GH-145935) ( #145937 )
...
Docs: fix missing period in `Doc/library/stdtypes.rst` (GH-145935)
(cherry picked from commit 51e8acf8de )
Co-authored-by: Connor Gibson <connor@nextdoortech.net>
2026-03-14 09:25:21 +00:00
Miss Islington (bot)
17a9c2691e
[3.13] gh-99875: Document rounding mode for old-style formatting (GH-126382) ( #145812 )
...
gh-99875: Document rounding mode for old-style formatting (GH-126382)
(cherry picked from commit ce1abaf9b8 )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2026-03-11 13:31:51 +00:00
Miss Islington (bot)
973323e6f7
[3.13] gh-106318: Add examples for str.isspace() docs (GH-145399) ( #145753 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-03-10 14:26:18 +00:00
Miss Islington (bot)
5c77c7d944
[3.13] gh-106318: Fix incorrectly rendered code block in str.isalnum() docs (GH-144718) (GH-144729)
...
(cherry picked from commit f912c835b9 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-03-03 13:13:02 +01:00
Miss Islington (bot)
083477fbd6
[3.13] gh-106318: Add examples for str.rjust() method (GH-143890) ( #145256 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-02-26 13:48:01 +00:00
Miss Islington (bot)
a5b1952d24
[3.13] gh-106318: Improve str.rstrip() method doc (GH-143893) ( #144698 )
...
gh-106318: Improve str.rstrip() method doc (GH-143893)
(cherry picked from commit 936d60dbe1 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-02-11 08:48:28 +00:00
Miss Islington (bot)
6884288570
[3.13] gh-106318: Add examples for str.partition() method (GH-142823) ( #144612 )
...
gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd99e2 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-02-08 22:16:49 +00:00
Miss Islington (bot)
43b9344114
[3.13] gh-106318: Add example for str.isalnum() (GH-137550) ( #144610 )
...
gh-106318: Add example for str.isalnum() (GH-137550)
(cherry picked from commit 3dd7a3c65a )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-02-08 22:15:45 +00:00
Miss Islington (bot)
65acd01693
[3.13] gh-106318: Add examples for str.startswith() method (GH-144369) ( #144480 )
...
gh-106318: Add examples for `str.startswith()` method (GH-144369)
(cherry picked from commit 1b6d737ee0 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-02-04 17:24:35 +00:00
Miss Islington (bot)
44820648e6
[3.13] gh-106318: Add examples for str.rindex() method (GH-143887) ( #144422 )
...
gh-106318: Add examples for str.rindex() method (GH-143887)
(cherry picked from commit 45d00a0791 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-02-03 14:36:32 +01:00
Miss Islington (bot)
4ada03f47f
[3.13] gh-106318: Add examples for str.rpartition() method (GH-143891) ( #144041 )
...
gh-106318: Add examples for str.rpartition() method (GH-143891)
(cherry picked from commit 3c9c3d33cb )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-01-19 14:22:24 +00:00
Miss Islington (bot)
cbf08d5a62
[3.13] gh-106318: Add examples for str.replace() method (GH-143581) (GH-143788)
...
(cherry picked from commit af9f783a7e )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-01-13 12:23:26 +00:00
Miss Islington (bot)
cf5b31c31a
[3.13] gh-143420: Clarify sequence behavior for slice indexes (GH-143422) ( #143703 )
...
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2026-01-11 17:23:52 +00:00
Miss Islington (bot)
76184823d1
[3.13] gh-106318: Add examples for str.rfind() method (GH-143582) ( #143617 )
...
gh-106318: Add examples for str.rfind() method (GH-143582)
(cherry picked from commit c696f33d9e )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-01-09 15:30:23 +00:00
Miss Islington (bot)
bf7990c0b9
[3.13] gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580) ( #143615 )
...
gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580)
Add doctest role and 'See also'.
(cherry picked from commit 6d6c7ed737 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-01-09 15:29:04 +00:00
Miss Islington (bot)
1de1d3d6d7
[3.13] gh-106318: Add examples for str.casefold() and str.lower() methods (GH-142154) ( #143525 )
...
gh-106318: Add examples for str.casefold() and str.lower() methods (GH-142154)
(cherry picked from commit 51a56a3a7b )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-01-07 18:03:24 +01:00
Miss Islington (bot)
0a8e97e174
[3.13] gh-106318: Add example for str.index() (GH-137023) ( #143501 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2026-01-06 21:48:19 +00:00
Miss Islington (bot)
f7711d55e5
[3.13] gh-106318: Add examples for str.isprintable() (GH-140043) ( #143484 )
...
gh-106318: Add examples for str.isprintable() (GH-140043)
(cherry picked from commit 7b0a372b20 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-01-06 16:50:02 +00:00
Miss Islington (bot)
e4ca817155
[3.13] gh-139320: Cover exception chaining in the docs of contextmanager.__exit__ (GH-140169) (GH-142793)
...
(cherry picked from commit a44509ea87 )
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
2025-12-17 11:28:37 +01:00
Miss Islington (bot)
c2d34a1396
[3.13] gh-141218: Fix inaccurate object comparison documentation (GH-141221) ( #142811 )
...
Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-12-16 11:52:38 +00:00
Miss Islington (bot)
11629e0a8c
[3.13] Remove duplicate content in Mapping types - dict documentation (GH-141036) ( #142809 )
...
Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2025-12-16 11:52:07 +00:00
Miss Islington (bot)
2818224ef3
[3.13] gh-106318: Add examples for str.ljust() method (GH-142719) ( #142803 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-12-16 11:45:31 +00:00
Miss Islington (bot)
e72ee65adf
[3.13] gh-106318: Add examples for str.isnumeric() (GH-142680) ( #142716 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-14 18:57:38 +00:00
Stan Ulbrych
a12841c197
[3.13] gh-101100: Fix references to the set methods (GH-141857) (GH-142345)
...
(cherry picked from commit 1d8f3ed2eb )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-12-08 09:50:43 +02:00
Hugo van Kemenade
5d7cacb1db
[3.13] GH-101100: Remove some entries from `nitpick_ignore` (GH-138464) ( #141827 )
...
(cherry picked from commit 22cb9ba8f9 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-01 23:26:32 +01:00
Miss Islington (bot)
b2e4234af6
[3.13] gh-106318: Add examples for str.join() (GH-140315) ( #141905 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-24 14:59:30 +00:00
Miss Islington (bot)
06db02ff1e
[3.13] gh-106318: Add example for str.format() (GH-137018) ( #141903 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2025-11-24 14:57:50 +00:00
Hugo van Kemenade
a676b2e00f
[3.13] gh-106318: Add example for str.isalpha() (GH-137557) ( #141902 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-24 14:29:49 +00:00
Miss Islington (bot)
e2188c7e5e
[3.13] gh-106318: Add example for str.isascii() (GH-137558) ( #141899 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-24 14:08:14 +00:00
Miss Islington (bot)
ce40ad0909
[3.13] gh-106318: Add example for str.isdecimal() (GH-137559) ( #141894 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-24 15:19:53 +02:00
Tan Long
134b4f2fd1
[3.13] Remove duplicate words in the documentation (GH-140221) (GH-140226)
...
(cherry picked from commit 2ebd0cdb16 )
2025-10-16 20:10:31 +02:00
Miss Islington (bot)
2f27098b42
[3.13] gh-106318: Add examples for str.istitle() (GH-140046) ( #140114 )
...
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2025-10-14 14:25:57 +00:00
Adam Turner
e7bb98a173
[3.13] GH-138465: Improve documentation for common sequence methods (GH-138474) ( #138567 )
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-09-05 21:39:32 +00:00
Miss Islington (bot)
4e25f012e7
[3.13] gh-138307: Update the Ellipsis documentation (GH-138306) ( #138439 )
...
(cherry picked from commit 88665de120 )
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2025-09-05 13:47:19 -07:00
Miss Islington (bot)
d6f7c615c0
[3.13] gh-106318: Add example for str.find() (GH-134529) ( #138175 )
...
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-08-27 06:49:19 +00:00
Serhiy Storchaka
bad7bc49f1
[3.13] gh-137609: Update signatures of builtins in the documentation (GH-137610) (GH-138138)
...
Show signatures that match the actual signatures or future multisignatures
for all functions, classes and methods in the "builtins" module.
(cherry picked from commit 65fb4d11a0 )
2025-08-25 12:40:09 +00:00
Miss Islington (bot)
bec9bdf619
[3.13] gh-134833: improve docs for del s[i:j] in Mutable Sequence Types (GH-134834) ( #136609 )
...
gh-134833: improve docs for `del s[i:j]` in `Mutable Sequence Types` (GH-134834)
(cherry picked from commit 609d5adc7c )
Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2025-07-13 06:03:33 +00:00
Miss Islington (bot)
6b9672c2bd
[3.13] gh-106318: Add example for str.expandtabs() (GH-134525) ( #135477 )
...
Co-authored-by: Blaise Pabon <blaise@gmail.com>
2025-06-13 15:50:53 +00:00
Miss Islington (bot)
c260ed15d1
[3.13] gh-106318: Add example for str.endswith() (GH-134523) ( #135460 )
...
gh-106318: Add example for `str.endswith()` (GH-134523)
(cherry picked from commit eed827ed09 )
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-13 15:13:59 +03:00
Miss Islington (bot)
db408a484c
[3.13] gh-106318: Add example for str.encode() (GH-134520) ( #135458 )
...
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-13 14:46:14 +03:00
Miss Islington (bot)
47a828e5d3
[3.13] gh-134976: document the exception type that can be raised by s[i] (GH-134977) ( #135259 )
...
gh-134976: document the exception type that can be raised by `s[i]` (GH-134977)
(cherry picked from commit 158e5162bf )
Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2025-06-08 14:37:55 +02:00
Miss Islington (bot)
73e432896b
[3.13] gh-134789: Document del s[i] operation for mutable sequences (GH-134804) ( #134809 )
...
gh-134789: Document del s[i] operation for mutable sequences (GH-134804)
[main] Update stdtypes.rst
- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue GH-134789.
(cherry picked from commit 967f361993 )
Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
2025-05-27 18:54:16 +00:00
Miss Islington (bot)
1dbb644a5b
[3.13] gh-106318: Add example for str.count() (GH-134519) ( #134573 )
...
Co-authored-by: Blaise Pabon <blaise@gmail.com>
2025-05-23 09:53:19 +00:00
Miss Islington (bot)
5b203f511b
[3.13] gh-106318: Add example for str.center() (GH-134518) ( #134572 )
...
Co-authored-by: Blaise Pabon <blaise@gmail.com>
2025-05-23 09:50:17 +00:00
Miss Islington (bot)
bd3add06f6
[3.13] gh-133986: Document string split algorithm when sep is None and maxsplit is 0 (GH-133987) ( #133992 )
...
gh-133986: Document string split algorithm when sep is None and maxsplit is 0 (GH-133987)
---------
(cherry picked from commit 3e23047363 )
Co-authored-by: Joey Smith <joeysmith@gmail.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-05-14 21:33:38 -04:00
Miss Islington (bot)
0a39a182cf
[3.13] Docs: use boolean constants for returning boolean value (GH-133325) (GH-133761)
...
(cherry picked from commit 076004ae54 )
Co-authored-by: Yongzi Li <1538321957@qq.com>
2025-05-09 14:19:23 +00:00
Miss Islington (bot)
6beec6c813
[3.13] gh-133361: move the explanation of dict equal before its use (GH-133424) ( #133621 )
...
gh-133361: move the explanation of dict equal before its use (GH-133424)
Also move up the explanation of insertion order preservation. Both paragraphs seemed out of place down where they were.
---------
(cherry picked from commit 61ac88c06e )
Co-authored-by: Yongzi Li <1538321957@qq.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2025-05-07 22:11:03 +00:00
Miss Islington (bot)
d8b9011702
[3.13] gh-85583: Add an overview of formatted string literals (f-strings) to `str` (GH-132689) ( #132767 )
...
gh-85583: Add an overview of formatted string literals (f-strings) to ``str`` (GH-132689)
(cherry picked from commit fee808936f )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-04-21 08:55:13 +01:00
Miss Islington (bot)
2570896ad7
[3.13] gh-131885: Document that dict.setdefault and dict.get take no keyword arguments (GH-128208) ( #131893 )
...
gh-131885: Document that `dict.setdefault` and `dict.get` take no keyword arguments (GH-128208)
(cherry picked from commit edfbd8c062 )
Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
2025-03-30 09:28:49 +00:00