summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-21 00:15:20 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-11-21 00:15:20 (GMT)
commit357ed2e57703a92faaae1236813a6d3e2b3d910f (patch)
tree0d308e1ecdf1c92698701af950aec86f6e6aec17 /Doc/library
parentb24569a19db79f031045747f55cb5b5fff7374e1 (diff)
downloadcpython-357ed2e57703a92faaae1236813a6d3e2b3d910f.zip
cpython-357ed2e57703a92faaae1236813a6d3e2b3d910f.tar.gz
cpython-357ed2e57703a92faaae1236813a6d3e2b3d910f.tar.bz2
Change double hyphens (en dashes) to em (longer) dashes
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst2
-rw-r--r--Doc/library/hmac.rst2
-rw-r--r--Doc/library/pdb.rst2
-rw-r--r--Doc/library/shutil.rst2
4 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5af9fe4..fcd160e 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -949,7 +949,7 @@ are always available. They are listed here in alphabetical order.
the list of supported encodings.
*errors* is an optional string that specifies how encoding and decoding
- errors are to be handled--this cannot be used in binary mode.
+ errors are to be handled—this cannot be used in binary mode.
A variety of standard error handlers are available
(listed under :ref:`error-handlers`), though any
error handling name that has been registered with
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
index bb44866..adbf78a 100644
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -111,7 +111,7 @@ This module also provides the following helper function:
If *a* and *b* are of different lengths, or if an error occurs,
a timing attack could theoretically reveal information about the
- types and lengths of *a* and *b*--but not their values.
+ types and lengths of *a* and *b*—but not their values.
.. versionadded:: 3.3
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index d77de2e..ba9e547 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -328,7 +328,7 @@ by the local file.
return, jump, quit and their abbreviations) terminates the command list (as if
that command was immediately followed by end). This is because any time you
resume execution (even with a simple next or step), you may encounter another
- breakpoint--which could have its own command list, leading to ambiguities about
+ breakpoint—which could have its own command list, leading to ambiguities about
which list to execute.
If you use the 'silent' command in the command list, the usual message about
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index a1cf241..6f50bc3 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -107,7 +107,7 @@ Directory and files operations
If *follow_symlinks* is false, and *src* and *dst* both
refer to symbolic links, :func:`copystat` will operate on
the symbolic links themselves rather than the files the
- symbolic links refer to--reading the information from the
+ symbolic links refer to—reading the information from the
*src* symbolic link, and writing the information to the
*dst* symbolic link.