[Python-checkins] stdtypes docs: fix typo (GH-32349) (GH-32370)
JelleZijlstra
webhook-mailer at python.org
Wed Apr 6 20:50:09 EDT 2022
https://github.com/python/cpython/commit/55abb0ef25d9ecabc6fe93cf0d38f19268b5859c
commit: 55abb0ef25d9ecabc6fe93cf0d38f19268b5859c
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-04-06T17:50:04-07:00
summary:
stdtypes docs: fix typo (GH-32349) (GH-32370)
(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 28082b42d7923..f60e936089c23 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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. | |
More information about the Python-checkins
mailing list