This commit is contained in:
Jeroen Demeyer 2018-04-24 17:12:35 +02:00 committed by Chris Angelico
parent 5466fb4518
commit 5ce2015e4f
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ own reload-friendly lookup caching scheme.
Immutable Exception Types Immutable Exception Types
------------------------- -------------------------
To faciliate creating static exception classes, a new function is proposed: To facilitate creating static exception classes, a new function is proposed:
``PyErr_PrepareImmutableException``. It will work similarly to ``PyErr_NewExceptionWithDoc`` ``PyErr_PrepareImmutableException``. It will work similarly to ``PyErr_NewExceptionWithDoc``
but will take a ``PyTypeObject **`` pointer, which points to a ``PyTypeObject *`` that is but will take a ``PyTypeObject **`` pointer, which points to a ``PyTypeObject *`` that is
either ``NULL`` or an initialized ``PyTypeObject``. either ``NULL`` or an initialized ``PyTypeObject``.