Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
374e57d9
Commit
374e57d9
authored
May 22, 2017
by
delirious-lettuce
Committed by
Serhiy Storchaka
May 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.7] Fix typos in multiple `.rst` files (GH-1668) (#1707)
parent
6e1b832a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
Doc/c-api/exceptions.rst
Doc/c-api/exceptions.rst
+4
-4
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+1
-1
Doc/library/email.mime.rst
Doc/library/email.mime.rst
+1
-1
Doc/library/sunau.rst
Doc/library/sunau.rst
+1
-1
Misc/NEWS
Misc/NEWS
+5
-5
No files found.
Doc/c-api/exceptions.rst
View file @
374e57d9
...
...
@@ -290,7 +290,7 @@ is a separate error indicator for each thread.
:c:data:`PyExc_Warning` is a subclass of :c:data:`PyExc_Exception`;
the default warning category is :c:data:`PyExc_RuntimeWarning`. The standard
Python warning categories are available as global variables whose names are
enumerated at :ref:`standarwarningcategories`.
enumerated at :ref:`standar
d
warningcategories`.
For information about warning control, see the documentation for the
:mod:`warnings` module and the :option:`-W` option in the command line
...
...
@@ -665,7 +665,7 @@ Notes:
Only defined on VMS; protect code that uses this by testing that the
preprocessor macro ``__VMS`` is defined.
.. _standarwarningcategories:
.. _standar
d
warningcategories:
Standard Warning Categories
===========================
...
...
@@ -678,7 +678,7 @@ the variables:
.. index::
single: PyExc_Warning
single: PyExc_BytesWarning
single: PyExc_Depr
i
cationWarning
single: PyExc_Depr
e
cationWarning
single: PyExc_FutureWarning
single: PyExc_ImportWarning
single: PyExc_PendingDeprecationWarning
...
...
@@ -700,7 +700,7 @@ the variables:
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_ImportWarning` | :exc:`ImportWarning` | |
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_PendingDepr
i
cationWarning`| :exc:`PendingDeprecationWarning`| |
| :c:data:`PyExc_PendingDepr
e
cationWarning`| :exc:`PendingDeprecationWarning`| |
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_RuntimeWarning` | :exc:`RuntimeWarning` | |
+------------------------------------------+---------------------------------+----------+
...
...
Doc/howto/logging-cookbook.rst
View file @
374e57d9
...
...
@@ -814,7 +814,7 @@ Implementing structured logging
-------------------------------
Although most logging messages are intended for reading by humans, and thus not
readily machine-parseable, there might be cirumstances where you want to output
readily machine-parseable, there might be cir
c
umstances where you want to output
messages in a structured format which *is* capable of being parsed by a program
(without needing complex regular expressions to parse the log message). This is
straightforward to achieve using the logging package. There are a number of
...
...
Doc/library/email.mime.rst
View file @
374e57d9
...
...
@@ -210,7 +210,7 @@ Here are the classes:
Unless the ``_charset`` parameter is explicitly set to ``None``, the
MIMEText object created will have both a :mailheader:`Content-Type` header
with a ``charset`` parameter, and a :mailheader:`Content-Transfer-En
d
coding`
with a ``charset`` parameter, and a :mailheader:`Content-Transfer-Encoding`
header. This means that a subsequent ``set_payload`` call will not result
in an encoded payload, even if a charset is passed in the ``set_payload``
command. You can "reset" this behavior by deleting the
...
...
Doc/library/sunau.rst
View file @
374e57d9
...
...
@@ -117,7 +117,7 @@ AU_read objects, as returned by :func:`.open` above, have the following methods:
.. method:: AU_read.getnchannels()
Returns number of audio channels (1 for mon
e
, 2 for stereo).
Returns number of audio channels (1 for mon
o
, 2 for stereo).
.. method:: AU_read.getsampwidth()
...
...
Misc/NEWS
View file @
374e57d9
...
...
@@ -1225,15 +1225,15 @@ Library
-
Issue
#
24091
:
Fixed
various
crashes
in
corner
cases
in
cElementTree
.
-
Issue
#
15267
:
HTTPConnection
.
request
()
now
is
compatib
i
le
with
old
-
style
-
Issue
#
15267
:
HTTPConnection
.
request
()
now
is
compatible
with
old
-
style
classes
(
such
as
TemporaryFile
).
Original
patch
by
Atsuo
Ishimoto
.
-
Issue
#
20014
:
array
.
array
()
now
accepts
unicode
typecodes
.
Based
on
patch
by
Vajrasky
Kok
.
-
Issue
#
23637
:
Showing
a
warning
no
longer
fails
with
UnicodeErr
r
or
.
-
Issue
#
23637
:
Showing
a
warning
no
longer
fails
with
UnicodeError
.
Formatting
unicode
warning
in
the
file
with
the
path
containing
non
-
ascii
characters
no
longer
fails
with
UnicodeErr
r
or
.
characters
no
longer
fails
with
UnicodeError
.
-
Issue
#
24134
:
Reverted
issue
#
24134
changes
.
...
...
@@ -1974,7 +1974,7 @@ Library
sequence is used on some terminal (ex: TERM=xterm-256color") to enable
support of 8 bit characters.
- Issue #22017: Correct reference counting err
r
or in the initialization of the
- Issue #22017: Correct reference counting error in the initialization of the
_warnings module.
- Issue #21868: Prevent turtle crash when undo buffer set to a value less
...
...
@@ -2907,7 +2907,7 @@ Library
-
Issue
#
11973
:
Fix
a
problem
in
kevent
.
The
flags
and
fflags
fields
are
now
properly
handled
as
unsigned
.
-
Issue
#
16809
:
Fixed
some
tkinter
incompabilities
with
Tcl
/
Tk
8.6
.
-
Issue
#
16809
:
Fixed
some
tkinter
incompa
ti
bilities
with
Tcl
/
Tk
8.6
.
-
Issue
#
16809
:
Tkinter
's splitlist() and split() methods now accept Tcl_Obj
argument.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment