stdtypes docs: fix typo (GH-32349)

This commit is contained in:
Ian 2022-04-06 11:39:17 -04:00 committed by GitHub
parent ac1fb07b6e
commit b33c4564ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3618,7 +3618,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. | |