]> granicus.if.org Git - python/commitdiff
Change double hyphens (en dashes) to em (longer) dashes
authorMartin Panter <vadmium+py@gmail.com>
Mon, 21 Nov 2016 00:21:39 +0000 (00:21 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 21 Nov 2016 00:21:39 +0000 (00:21 +0000)
Doc/howto/cporting.rst
Doc/howto/curses.rst
Doc/library/hmac.rst
Doc/library/io.rst
Doc/library/pdb.rst
Doc/library/whichdb.rst

index 27e7e6f6e0d9a037bfd3cf213892ad22cb4cfb7e..7cacb0aecd8b49aca8f548fbc6dd0e9a5f27ba73 100644 (file)
@@ -95,7 +95,7 @@ long/int Unification
 --------------------
 
 Python 3 has only one integer type, :func:`int`.  But it actually
-corresponds to Python 2's :func:`long` type--the :func:`int` type
+corresponds to Python 2's :func:`long` typethe :func:`int` type
 used in Python 2 was removed.  In the C-API, ``PyInt_*`` functions
 are replaced by their ``PyLong_*`` equivalents.
 
index 74f0da5bcd553f9a3cde5cf739be3c5e87c0a24d..47585f6f37dc8317cadc9895b4a0ce5468215306 100644 (file)
@@ -35,7 +35,7 @@ before X is available.
 The curses library hides all the details of different terminals, and provides
 the programmer with an abstraction of a display, containing multiple
 non-overlapping windows.  The contents of a window can be changed in various
-ways-- adding text, erasing it, changing its appearance--and the curses library
+ways---adding text, erasing it, changing its appearance---and the curses library
 will automagically figure out what control codes need to be sent to the terminal
 to produce the right output.
 
index eef8856e0c4d4813673fe221ee425eabd31a98de..d4877930b14c970f4ca7d6b9460554e030e3028d 100644 (file)
@@ -79,7 +79,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:: 2.7.7
index 633a6aff1cd2a45304ae0186f36442fabf23bbaa..8c488bed6aa3a001750500f61ac41629d0979ffb 100644 (file)
@@ -130,7 +130,7 @@ Module Interface
    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.  Pass
+   errors are to be handledthis cannot be used in binary mode.  Pass
    ``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding
    error (the default of ``None`` has the same effect), or pass ``'ignore'`` to
    ignore errors.  (Note that ignoring encoding errors can lead to data loss.)
index da307df709745885bdeb18a72e66b450e4b1c8b6..9177f95d517cf9a8bd48feaaedc12acb8e86a51f 100644 (file)
@@ -290,7 +290,7 @@ commands [*bpnumber*]
    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
+   breakpointwhich 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
index 3bcb57ccfc10b40b3dc316e62dfd2274663d9c0f..844cc1a16c9e9ed778dfe443f271910ddb4f11b3 100644 (file)
@@ -11,8 +11,8 @@
 
 
 The single function in this module attempts to guess which of the several simple
-database modules available--\ :mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\
---should be used to open a given file.
+database modules available:mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\
+should be used to open a given file.
 
 
 .. function:: whichdb(filename)