mirror of https://github.com/python/cpython.git
stdtypes docs: fix typo (GH-32349) (GH-32370)
(cherry picked from commit b33c4564ac
)
Co-authored-by: Ian <40774387+isteptoe@users.noreply.github.com>
This commit is contained in:
parent
80af26d25a
commit
55abb0ef25
|
@ -3580,7 +3580,7 @@ The conversion types are:
|
|||
| | be used for Python2/3 code bases. | |
|
||||
+------------+-----------------------------------------------------+-------+
|
||||
| ``'a'`` | Bytes (converts any Python object using | \(5) |
|
||||
| | ``repr(obj).encode('ascii','backslashreplace)``). | |
|
||||
| | ``repr(obj).encode('ascii', 'backslashreplace')``). | |
|
||||
+------------+-----------------------------------------------------+-------+
|
||||
| ``'r'`` | ``'r'`` is an alias for ``'a'`` and should only | \(7) |
|
||||
| | be used for Python2/3 code bases. | |
|
||||
|
|
Loading…
Reference in New Issue