[Python-checkins] stdtypes docs: fix typo (GH-32349)
JelleZijlstra
webhook-mailer at python.org
Wed Apr 6 11:39:37 EDT 2022
https://github.com/python/cpython/commit/b33c4564aceeae8323bcb19167fbbd2d5f5002bc
commit: b33c4564aceeae8323bcb19167fbbd2d5f5002bc
branch: main
author: Ian <40774387+isteptoe at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-04-06T08:39:17-07:00
summary:
stdtypes docs: fix typo (GH-32349)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 6608b7b60ec50..d6d90cd462c22 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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. | |
More information about the Python-checkins
mailing list