File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ Definition slots
77
88To 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
1111of the object to create.
1212This 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
1414breaking backwards compatibility.
1515
1616This section documents slots in general.
Original file line number Diff line number Diff 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 >`.
You can’t perform that action at this time.
0 commit comments