summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authordelirious-lettuce <delirious.lettuce@gmail.com>2017-05-19 20:37:57 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-05-19 20:37:57 (GMT)
commit3378b2062c7fbb77a9b5e6d315d6b94160fac69a (patch)
tree7cfeb0047ea14f4a77c4fb5a6fd4a233120c96e0 /Doc/c-api
parenta632d00a1cbb6f4f8978cb45dd9789658cceb7c8 (diff)
downloadcpython-3378b2062c7fbb77a9b5e6d315d6b94160fac69a.zip
cpython-3378b2062c7fbb77a9b5e6d315d6b94160fac69a.tar.gz
cpython-3378b2062c7fbb77a9b5e6d315d6b94160fac69a.tar.bz2
Fix typos in multiple `.rst` files (#1668)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index c75408d..2bc1bd8 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -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` | |
+------------------------------------------+---------------------------------+----------+