@@ -3165,7 +3165,7 @@ The conversion types are:
31653165+------------+-----------------------------------------------------+-------+
31663166| ``'o' `` | Signed octal value. | \( 1) |
31673167+------------+-----------------------------------------------------+-------+
3168- | ``'u' `` | Obsolete type -- it is identical to ``'d' ``. | \( 7 ) |
3168+ | ``'u' `` | Obsolete type -- it is identical to ``'d' ``. | \( 8 ) |
31693169+------------+-----------------------------------------------------+-------+
31703170| ``'x' `` | Signed hexadecimal (lowercase). | \( 2) |
31713171+------------+-----------------------------------------------------+-------+
@@ -3200,6 +3200,9 @@ The conversion types are:
32003200| ``'a' `` | Bytes (converts any Python object using | \( 5) |
32013201| | ``repr(obj).encode('ascii','backslashreplace) ``). | |
32023202+------------+-----------------------------------------------------+-------+
3203+ | ``'r' `` | ``'r' `` is an alias for ``'a' `` and should only | \( 7) |
3204+ | | be used for Python2/3 code bases. | |
3205+ +------------+-----------------------------------------------------+-------+
32033206| ``'%' `` | No argument is converted, results in a ``'%' `` | |
32043207| | character in the result. | |
32053208+------------+-----------------------------------------------------+-------+
@@ -3238,6 +3241,9 @@ Notes:
32383241 ``b'%s' `` is deprecated, but will not be removed during the 3.x series.
32393242
32403243(7)
3244+ ``b'%r' `` is deprecated, but will not be removed during the 3.x series.
3245+
3246+ (8)
32413247 See :pep: `237 `.
32423248
32433249.. note ::
0 commit comments