We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2497cab commit 53b541bCopy full SHA for 53b541b
Doc/library/ast.rst
@@ -289,9 +289,9 @@ Literals
289
* ``conversion`` is an integer:
290
291
* -1: no formatting
292
- * 97: ``!a`` :func:`ASCII <ascii>` formatting (``ord('a')``)
293
- * 114: ``!r`` :func:`repr` formatting (``ord('r')``)
294
- * 115: ``!s`` :func:`string <str>` formatting (``ord('s')``)
+ * 97 (``ord('a')``): ``!a`` :func:`ASCII <ascii>` formatting
+ * 114 (``ord('r')``): ``!r`` :func:`repr` formatting
+ * 115 (``ord('s')``): ``!s`` :func:`string <str>` formatting
295
296
* ``format_spec`` is a :class:`JoinedStr` node representing the formatting
297
of the value, or ``None`` if no format was specified. Both
0 commit comments