File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ Legacy single-phase initialization
282282 However, there are no plans to remove support for it.
283283
284284In single-phase initialization, the old-style
285- :ref: `initializaton function <extension-pyinit >` (``PyInit_modulename ``)
285+ :ref: `initialization function <extension-pyinit >` (``PyInit_modulename ``)
286286should create, populate and return a module object.
287287This is typically done using :c:func:`PyModule_Create` and functions like
288288:c:func:`PyModule_AddObjectRef`.
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ A module's token -- and the *your_token* value to use in the above code -- is:
588588 behave as if it was created from that :c:type:`PyModuleDef`.
589589 In particular, the module state must have matching layout and semantics.
590590
591- Modules created from :c:type:`PyModuleDef` allways use the address of
591+ Modules created from :c:type:`PyModuleDef` always use the address of
592592 the :c:type:`PyModuleDef` as the token.
593593 This means that :c:macro:`!Py_mod_token` cannot be used in
594594 :c:member:`PyModuleDef.m_slots`.
Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ Retrieving source code
640640 Added parameters *inherit_class_doc * and *fallback_to_class_doc *.
641641
642642 Documentation strings on :class: `~functools.cached_property `
643- objects are now inherited if not overriden .
643+ objects are now inherited if not overridden .
644644
645645
646646.. function :: getcomments(object)
Original file line number Diff line number Diff line change @@ -1227,7 +1227,7 @@ Whitespace is significant in these situations:
12271227 string contents.
12281228* In ``fstring_replacement_field ``, if ``f_debug_specifier `` is present,
12291229 all whitespace after the opening brace until the ``f_debug_specifier ``,
1230- as well as whitespace immediatelly following ``f_debug_specifier ``,
1230+ as well as whitespace immediately following ``f_debug_specifier ``,
12311231 is retained as part of the expression.
12321232
12331233 .. impl-detail ::
You can’t perform that action at this time.
0 commit comments