Skip to content

Commit 8f340a2

Browse files
Correct spelling of exceptions
1 parent 6718442 commit 8f340a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/sphinx/source/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Incidentially ``PyObject_TypeCheck`` is defined as:
130130
(Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
131131
132132
---------------------------------
133-
Creating Specialised Excpetions
133+
Creating Specialised Exceptions
134134
---------------------------------
135135

136136
Often you need to create an Exception class that is specialised to a particular module. This can be done quite easily using either the ``PyErr_NewException`` or the ``PyErr_NewExceptionWithDoc`` functions. These create new exception classes that can be added to a module. For example:

0 commit comments

Comments
 (0)