File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ long/int Unification
95
95
--------------------
96
96
97
97
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 ` type— the :func: `int ` type
99
99
used in Python 2 was removed. In the C-API, ``PyInt_* `` functions
100
100
are replaced by their ``PyLong_* `` equivalents.
101
101
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ before X is available.
35
35
The curses library hides all the details of different terminals, and provides
36
36
the programmer with an abstraction of a display, containing multiple
37
37
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
39
39
will automagically figure out what control codes need to be sent to the terminal
40
40
to produce the right output.
41
41
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ This module also provides the following helper function:
79
79
80
80
If *a * and *b * are of different lengths, or if an error occurs,
81
81
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.
83
83
84
84
85
85
.. versionadded :: 2.7.7
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ Module Interface
130
130
the list of supported encodings.
131
131
132
132
*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 handled— this cannot be used in binary mode. Pass
134
134
``'strict' `` to raise a :exc: `ValueError ` exception if there is an encoding
135
135
error (the default of ``None `` has the same effect), or pass ``'ignore' `` to
136
136
ignore errors. (Note that ignoring encoding errors can lead to data loss.)
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ commands [*bpnumber*]
290
290
return, jump, quit and their abbreviations) terminates the command list (as if
291
291
that command was immediately followed by end). This is because any time you
292
292
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
+ breakpoint— which could have its own command list, leading to ambiguities about
294
294
which list to execute.
295
295
296
296
If you use the 'silent' command in the command list, the usual message about
Original file line number Diff line number Diff line change 11
11
12
12
13
13
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.
16
16
17
17
18
18
.. function :: whichdb(filename)
You can’t perform that action at this time.
0 commit comments