File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
.. _frozenset-ops :
2
2
3
3
Native frozenset operations
4
- ======================
4
+ ===========================
5
5
6
6
These ``frozenset `` operations have fast, optimized implementations. Other
7
7
frozenset operations use generic implementations that are often slower.
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ Methods
37
37
* ``s1.find(s2: str, start: int) ``
38
38
* ``s1.find(s2: str, start: int, end: int) ``
39
39
* ``s.join(x: Iterable) ``
40
+ * ``s.lstrip() ``
41
+ * ``s.lstrip(chars: str) ``
40
42
* ``s.partition(sep: str) ``
41
43
* ``s.removeprefix(prefix: str) ``
42
44
* ``s.removesuffix(suffix: str) ``
@@ -49,13 +51,17 @@ Methods
49
51
* ``s.rsplit() ``
50
52
* ``s.rsplit(sep: str) ``
51
53
* ``s.rsplit(sep: str, maxsplit: int) ``
54
+ * ``s.rstrip() ``
55
+ * ``s.rstrip(chars: str) ``
52
56
* ``s.split() ``
53
57
* ``s.split(sep: str) ``
54
58
* ``s.split(sep: str, maxsplit: int) ``
55
59
* ``s.splitlines() ``
56
60
* ``s.splitlines(keepends: bool) ``
57
61
* ``s1.startswith(s2: str) ``
58
62
* ``s1.startswith(t: tuple[str, ...]) ``
63
+ * ``s.strip() ``
64
+ * ``s.strip(chars: str) ``
59
65
60
66
.. note ::
61
67
You can’t perform that action at this time.
0 commit comments