]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
stdtypes docs: fix typo (GH-32349)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Apr 2022 16:04:38 +0000 (09:04 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 16:04:38 +0000 (09:04 -0700)
(cherry picked from commit b33c4564aceeae8323bcb19167fbbd2d5f5002bc)

Co-authored-by: Ian <40774387+isteptoe@users.noreply.github.com>
Doc/library/stdtypes.rst

index 4be4d1daa831d82a9023c3b9a4044afcfbb7e257..d96fb1f2c9ca66ad0fef34c62096d3a2ec64c03a 100644 (file)
@@ -3546,7 +3546,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.                   |       |