Commit a4d2125
committed
In Doc/library/re.rst rename variables from
`match` has been a soft keyword since version 3.10, so examples ought to
not use it as the name of a variable.
https://docs.python.org/3/reference/lexical_analysis.html#soft-keywords
The new name, `m`, is used for match objects in other examples in
re.rst.match to m
1 parent 77dd973 commit a4d2125
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
1487 | | - | |
| 1486 | + | |
| 1487 | + | |
1488 | 1488 | | |
1489 | 1489 | | |
1490 | 1490 | | |
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
1711 | | - | |
| 1710 | + | |
| 1711 | + | |
1712 | 1712 | | |
1713 | | - | |
| 1713 | + | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
| |||
0 commit comments