mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typos in multiple .rst
files (#1668)
This commit is contained in:
parent
a632d00a1c
commit
3378b2062c
18 changed files with 31 additions and 31 deletions
|
@ -295,7 +295,7 @@ an error value).
|
|||
: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:`standardwarningcategories`.
|
||||
|
||||
For information about warning control, see the documentation for the
|
||||
:mod:`warnings` module and the :option:`-W` option in the command line
|
||||
|
@ -958,7 +958,7 @@ Notes:
|
|||
Only defined on Windows; protect code that uses this by testing that the
|
||||
preprocessor macro ``MS_WINDOWS`` is defined.
|
||||
|
||||
.. _standarwarningcategories:
|
||||
.. _standardwarningcategories:
|
||||
|
||||
Standard Warning Categories
|
||||
===========================
|
||||
|
@ -971,7 +971,7 @@ the variables:
|
|||
.. index::
|
||||
single: PyExc_Warning
|
||||
single: PyExc_BytesWarning
|
||||
single: PyExc_DepricationWarning
|
||||
single: PyExc_DeprecationWarning
|
||||
single: PyExc_FutureWarning
|
||||
single: PyExc_ImportWarning
|
||||
single: PyExc_PendingDeprecationWarning
|
||||
|
@ -994,7 +994,7 @@ the variables:
|
|||
+------------------------------------------+---------------------------------+----------+
|
||||
| :c:data:`PyExc_ImportWarning` | :exc:`ImportWarning` | |
|
||||
+------------------------------------------+---------------------------------+----------+
|
||||
| :c:data:`PyExc_PendingDepricationWarning`| :exc:`PendingDeprecationWarning`| |
|
||||
| :c:data:`PyExc_PendingDeprecationWarning`| :exc:`PendingDeprecationWarning`| |
|
||||
+------------------------------------------+---------------------------------+----------+
|
||||
| :c:data:`PyExc_ResourceWarning` | :exc:`ResourceWarning` | |
|
||||
+------------------------------------------+---------------------------------+----------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue