Skip to content

Commit 53b541b

Browse files
authored
Update Doc/library/ast.rst
1 parent 2497cab commit 53b541b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ast.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ Literals
289289
* ``conversion`` is an integer:
290290

291291
* -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')``)
292+
* 97 (``ord('a')``): ``!a`` :func:`ASCII <ascii>` formatting
293+
* 114 (``ord('r')``): ``!r`` :func:`repr` formatting
294+
* 115 (``ord('s')``): ``!s`` :func:`string <str>` formatting
295295

296296
* ``format_spec`` is a :class:`JoinedStr` node representing the formatting
297297
of the value, or ``None`` if no format was specified. Both

0 commit comments

Comments
 (0)