Skip to content

Commit 3738ef4

Browse files
committed
Change double hyphens (en dashes) to em (longer) dashes
1 parent fd08fdc commit 3738ef4

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Doc/howto/cporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ long/int Unification
9595
--------------------
9696

9797
Python 3 has only one integer type, :func:`int`. But it actually
98-
corresponds to Python 2's :func:`long` type--the :func:`int` type
98+
corresponds to Python 2's :func:`long` typethe :func:`int` type
9999
used in Python 2 was removed. In the C-API, ``PyInt_*`` functions
100100
are replaced by their ``PyLong_*`` equivalents.
101101

Doc/howto/curses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ before X is available.
3535
The curses library hides all the details of different terminals, and provides
3636
the programmer with an abstraction of a display, containing multiple
3737
non-overlapping windows. The contents of a window can be changed in various
38-
ways-- adding text, erasing it, changing its appearance--and the curses library
38+
ways---adding text, erasing it, changing its appearance---and the curses library
3939
will automagically figure out what control codes need to be sent to the terminal
4040
to produce the right output.
4141

Doc/library/hmac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This module also provides the following helper function:
7979

8080
If *a* and *b* are of different lengths, or if an error occurs,
8181
a timing attack could theoretically reveal information about the
82-
types and lengths of *a* and *b*--but not their values.
82+
types and lengths of *a* and *b*but not their values.
8383

8484

8585
.. versionadded:: 2.7.7

Doc/library/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Module Interface
130130
the list of supported encodings.
131131

132132
*errors* is an optional string that specifies how encoding and decoding
133-
errors are to be handled--this cannot be used in binary mode. Pass
133+
errors are to be handledthis cannot be used in binary mode. Pass
134134
``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding
135135
error (the default of ``None`` has the same effect), or pass ``'ignore'`` to
136136
ignore errors. (Note that ignoring encoding errors can lead to data loss.)

Doc/library/pdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ commands [*bpnumber*]
290290
return, jump, quit and their abbreviations) terminates the command list (as if
291291
that command was immediately followed by end). This is because any time you
292292
resume execution (even with a simple next or step), you may encounter another
293-
breakpoint--which could have its own command list, leading to ambiguities about
293+
breakpointwhich could have its own command list, leading to ambiguities about
294294
which list to execute.
295295

296296
If you use the 'silent' command in the command list, the usual message about

Doc/library/whichdb.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212

1313
The single function in this module attempts to guess which of the several simple
14-
database modules available--\ :mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\
15-
--should be used to open a given file.
14+
database modules available:mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\
15+
should be used to open a given file.
1616

1717

1818
.. function:: whichdb(filename)

0 commit comments

Comments
 (0)