summaryrefslogtreecommitdiffstats
path: root/Doc/library/string.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-31 00:26:06 (GMT)
committerGitHub <noreply@github.com>2018-10-31 00:26:06 (GMT)
commit3f819ca138db6945ee4271bf13e42db9f9b3b1e4 (patch)
tree7eab13b4f9da0c8936d423cd633594cf83ba870f /Doc/library/string.rst
parent68f323715e6627c550d1e8ffed7e36f1bb4aa42b (diff)
downloadcpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.zip
cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.gz
cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.bz2
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
Diffstat (limited to 'Doc/library/string.rst')
-rw-r--r--Doc/library/string.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 7ed52ab..d0ef089 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -458,11 +458,11 @@ The available integer presentation types are:
+---------+----------------------------------------------------------+
| ``'o'`` | Octal format. Outputs the number in base 8. |
+---------+----------------------------------------------------------+
- | ``'x'`` | Hex format. Outputs the number in base 16, using lower- |
- | | case letters for the digits above 9. |
+ | ``'x'`` | Hex format. Outputs the number in base 16, using |
+ | | lower-case letters for the digits above 9. |
+---------+----------------------------------------------------------+
- | ``'X'`` | Hex format. Outputs the number in base 16, using upper- |
- | | case letters for the digits above 9. |
+ | ``'X'`` | Hex format. Outputs the number in base 16, using |
+ | | upper-case letters for the digits above 9. |
+---------+----------------------------------------------------------+
| ``'n'`` | Number. This is the same as ``'d'``, except that it uses |
| | the current locale setting to insert the appropriate |