[Python-checkins] stdtypes docs: fix typo (GH-32349)

miss-islington webhook-mailer at python.org
Wed Apr 6 12:04:56 EDT 2022


https://github.com/python/cpython/commit/b5b3b9151ce0112502e0dc3b12503c28341aca31
commit: b5b3b9151ce0112502e0dc3b12503c28341aca31
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-04-06T09:04:38-07:00
summary:

stdtypes docs: fix typo (GH-32349)

(cherry picked from commit b33c4564aceeae8323bcb19167fbbd2d5f5002bc)

Co-authored-by: Ian <40774387+isteptoe at users.noreply.github.com>

files:
M Doc/library/stdtypes.rst

diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 4be4d1daa831d..d96fb1f2c9ca6 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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.                   |       |



More information about the Python-checkins mailing list