Skip to content

Commit b3d4477

Browse files
committed
Correct use of + where there was no intersection
1 parent 937e8dd commit b3d4477

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

Doc/library/stdtypes.rst

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,93 +1388,93 @@ category.
13881388
| Category | str methods | bytes methods |
13891389
+==========================+==============================+==============================+
13901390
| Formatting | :meth:`str.format` | |
1391-
+ +------------------------------+------------------------------+
1391+
| +------------------------------+------------------------------+
13921392
| | :meth:`str.format_map` | |
13931393
+--------------------------+------------------------------+------------------------------+
13941394
| Searching and Replacing | :meth:`str.find` | :meth:`bytes.find` |
1395-
+ +------------------------------+------------------------------+
1395+
| +------------------------------+------------------------------+
13961396
| | :meth:`str.rfind` | :meth:`bytes.rfind` |
1397-
+ +------------------------------+------------------------------+
1397+
| +------------------------------+------------------------------+
13981398
| | :meth:`str.index` | :meth:`bytes.index` |
1399-
+ +------------------------------+------------------------------+
1399+
| +------------------------------+------------------------------+
14001400
| | :meth:`str.rindex` | :meth:`bytes.rindex` |
1401-
+ +------------------------------+------------------------------+
1401+
| +------------------------------+------------------------------+
14021402
| | :meth:`str.startswith` | :meth:`bytes.startswith` |
1403-
+ +------------------------------+------------------------------+
1403+
| +------------------------------+------------------------------+
14041404
| | :meth:`str.endswith` | :meth:`bytes.endswith` |
1405-
+ +------------------------------+------------------------------+
1405+
| +------------------------------+------------------------------+
14061406
| | :meth:`str.count` | :meth:`bytes.count` |
1407-
+ +------------------------------+------------------------------+
1407+
| +------------------------------+------------------------------+
14081408
| | :meth:`str.replace` | :meth:`bytes.replace` |
14091409
+--------------------------+------------------------------+------------------------------+
14101410
| Splitting and Joining | :meth:`str.split` | :meth:`bytes.split` |
1411-
+ +------------------------------+------------------------------+
1411+
| +------------------------------+------------------------------+
14121412
| | :meth:`str.splitlines` | :meth:`bytes.splitlines` |
1413-
+ +------------------------------+------------------------------+
1413+
| +------------------------------+------------------------------+
14141414
| | :meth:`str.rsplit` | :meth:`bytes.rsplit` |
1415-
+ +------------------------------+------------------------------+
1415+
| +------------------------------+------------------------------+
14161416
| | :meth:`str.partition` | :meth:`bytes.partition` |
1417-
+ +------------------------------+------------------------------+
1417+
| +------------------------------+------------------------------+
14181418
| | :meth:`str.rpartition` | :meth:`bytes.rpartition` |
1419-
+ +------------------------------+------------------------------+
1419+
| +------------------------------+------------------------------+
14201420
| | :meth:`str.join` | :meth:`bytes.join` |
14211421
+--------------------------+------------------------------+------------------------------+
14221422
| String Classification | :meth:`str.isalpha` | :meth:`bytes.isalpha` |
1423-
+ +------------------------------+------------------------------+
1423+
| +------------------------------+------------------------------+
14241424
| | :meth:`str.isdecimal` | |
1425-
+ +------------------------------+------------------------------+
1425+
| +------------------------------+------------------------------+
14261426
| | :meth:`str.isdigit` | :meth:`bytes.isdigit` |
1427-
+ +------------------------------+------------------------------+
1427+
| +------------------------------+------------------------------+
14281428
| | :meth:`str.isnumeric` | |
1429-
+ +------------------------------+------------------------------+
1429+
| +------------------------------+------------------------------+
14301430
| | :meth:`str.isalnum` | :meth:`bytes.isalnum` |
1431-
+ +------------------------------+------------------------------+
1431+
| +------------------------------+------------------------------+
14321432
| | :meth:`str.isidentifier` | |
1433-
+ +------------------------------+------------------------------+
1433+
| +------------------------------+------------------------------+
14341434
| | :meth:`str.islower` | :meth:`bytes.islower` |
1435-
+ +------------------------------+------------------------------+
1435+
| +------------------------------+------------------------------+
14361436
| | :meth:`str.isupper` | :meth:`bytes.isupper` |
1437-
+ +------------------------------+------------------------------+
1437+
| +------------------------------+------------------------------+
14381438
| | :meth:`str.istitle` | :meth:`bytes.istitle` |
1439-
+ +------------------------------+------------------------------+
1439+
| +------------------------------+------------------------------+
14401440
| | :meth:`str.isspace` | :meth:`bytes.isspace` |
1441-
+ +------------------------------+------------------------------+
1441+
| +------------------------------+------------------------------+
14421442
| | :meth:`str.isprintable` | |
14431443
+--------------------------+------------------------------+------------------------------+
14441444
| Case Manipulation | :meth:`str.lower` | :meth:`bytes.lower` |
1445-
+ +------------------------------+------------------------------+
1445+
| +------------------------------+------------------------------+
14461446
| | :meth:`str.upper` | :meth:`bytes.upper` |
1447-
+ +------------------------------+------------------------------+
1447+
| +------------------------------+------------------------------+
14481448
| | :meth:`str.casefold` | |
1449-
+ +------------------------------+------------------------------+
1449+
| +------------------------------+------------------------------+
14501450
| | :meth:`str.capitalize` | :meth:`bytes.capitalize` |
1451-
+ +------------------------------+------------------------------+
1451+
| +------------------------------+------------------------------+
14521452
| | :meth:`str.title` | :meth:`bytes.title` |
1453-
+ +------------------------------+------------------------------+
1453+
| +------------------------------+------------------------------+
14541454
| | :meth:`str.swapcase` | :meth:`bytes.swapcase` |
14551455
+--------------------------+------------------------------+------------------------------+
14561456
| Padding and Stripping | :meth:`str.ljust` | :meth:`bytes.ljust` |
1457-
+ +------------------------------+------------------------------+
1457+
| +------------------------------+------------------------------+
14581458
| | :meth:`str.rjust` | :meth:`bytes.rjust` |
1459-
+ +------------------------------+------------------------------+
1459+
| +------------------------------+------------------------------+
14601460
| | :meth:`str.center` | :meth:`bytes.center` |
1461-
+ +------------------------------+------------------------------+
1461+
| +------------------------------+------------------------------+
14621462
| | :meth:`str.zfill` | :meth:`bytes.zfill` |
1463-
+ +------------------------------+------------------------------+
1463+
| +------------------------------+------------------------------+
14641464
| | :meth:`str.expandtabs` | :meth:`bytes.expandtabs` |
1465-
+ +------------------------------+------------------------------+
1465+
| +------------------------------+------------------------------+
14661466
| | :meth:`str.strip` | :meth:`bytes.strip` |
1467-
+ +------------------------------+------------------------------+
1467+
| +------------------------------+------------------------------+
14681468
| | :meth:`str.lstrip` | :meth:`bytes.lstrip` |
1469-
+ +------------------------------+------------------------------+
1469+
| +------------------------------+------------------------------+
14701470
| | :meth:`str.rstrip` | :meth:`bytes.rstrip` |
14711471
+--------------------------+------------------------------+------------------------------+
14721472
| Translation and Encoding | :meth:`str.translate` | :meth:`bytes.translate` |
1473-
+ +------------------------------+------------------------------+
1473+
| +------------------------------+------------------------------+
14741474
| | :meth:`str.maketrans` | :meth:`bytes.maketrans` |
1475-
+ +------------------------------+------------------------------+
1475+
| +------------------------------+------------------------------+
14761476
| | :meth:`str.encode` | |
1477-
+ +------------------------------+------------------------------+
1477+
| +------------------------------+------------------------------+
14781478
| | | :meth:`bytes.decode` |
14791479
+--------------------------+------------------------------+------------------------------+
14801480

0 commit comments

Comments
 (0)