Skip to content

Commit 229a07e

Browse files
committed
Fix typos in C API documentation
1 parent 354ef33 commit 229a07e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/c-api/slots.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Definition slots
77

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

1616
This section documents slots in general.

Doc/c-api/synchronization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ are not available.
238238
.. c:function:: void PyCriticalSection_BeginMutex(PyCriticalSection *c, PyMutex *m);
239239
void PyCriticalSection2_BeginMutex(PyCriticalSection2 *c, PyMutex *m1, PyMutex *m2);
240240
241-
.. (These need to be in a separate section without a Stable ABI anotation.)
241+
.. (These need to be in a separate section without a Stable ABI annotation.)
242242
243243
To be used only as in the macro expansions
244244
listed :ref:`earlier in this section <critical-section-macros>`.

0 commit comments

Comments
 (0)