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

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

index 28082b42d7923b3412d8f6f3371724b2e2022e84..f60e936089c232b8ed7193bd266312ede6a99e74 100644 (file)
@@ -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.                   |       |