summaryrefslogtreecommitdiffstats
path: root/Doc/library/ipaddress.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-26 11:43:28 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-26 11:43:28 (GMT)
commitc7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d (patch)
tree35c0d8e77d1c248de80b751339d293a5ff78ffe6 /Doc/library/ipaddress.rst
parent4931122de80c6e7f14162ecc9c37b650a4a01a4a (diff)
downloadcpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.zip
cpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.tar.gz
cpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.tar.bz2
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Diffstat (limited to 'Doc/library/ipaddress.rst')
-rw-r--r--Doc/library/ipaddress.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst
index 9db0a70..50fb778 100644
--- a/Doc/library/ipaddress.rst
+++ b/Doc/library/ipaddress.rst
@@ -99,7 +99,7 @@ write code that handles both IP versions correctly.
The following constitutes a valid IPv4 address:
1. A string in decimal-dot notation, consisting of four decimal integers in
- the inclusive range 0-255, separated by dots (e.g. ``192.168.0.1``). Each
+ the inclusive range 0--255, separated by dots (e.g. ``192.168.0.1``). Each
integer represents an octet (byte) in the address. Leading zeroes are
tolerated only for values less than 8 (as there is no ambiguity
between the decimal and octal interpretations of such strings).