Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/c-api/slots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Definition slots

To define :ref:`module objects <moduleobjects>` and
:ref:`classes <creating-heap-types>` using the C API, you may use
an array of *slots* -- essentally, key-value pairs that describe features
an array of *slots* -- essentially, key-value pairs that describe features
of the object to create.
This decouples the data from the structures used at runtime, allowing CPython
-- and other Python C API implementations -- to update the stuctures without
-- and other Python C API implementations -- to update the structures without
breaking backwards compatibility.

This section documents slots in general.
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/synchronization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ are not available.
.. c:function:: void PyCriticalSection_BeginMutex(PyCriticalSection *c, PyMutex *m);
void PyCriticalSection2_BeginMutex(PyCriticalSection2 *c, PyMutex *m1, PyMutex *m2);

.. (These need to be in a separate section without a Stable ABI anotation.)
.. (These need to be in a separate section without a Stable ABI annotation.)

To be used only as in the macro expansions
listed :ref:`earlier in this section <critical-section-macros>`.
Expand Down
Loading