@@ -424,7 +424,7 @@ Initializing and finalizing the interpreter
424424
425425 Note that Python will do a best effort at freeing all memory allocated by the Python
426426 interpreter. Therefore, any C-Extension should make sure to correctly clean up all
427- of the preveiously allocated PyObjects before using them in subsequent calls to
427+ of the previously allocated PyObjects before using them in subsequent calls to
428428 :c:func:`Py_Initialize`. Otherwise it could introduce vulnerabilities and incorrect
429429 behavior.
430430
@@ -1407,7 +1407,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
14071407
14081408 Get the current interpreter.
14091409
1410- Issue a fatal error if there no :term:`attached thread state`.
1410+ Issue a fatal error if there is no :term:`attached thread state`.
14111411 It cannot return NULL.
14121412
14131413 .. versionadded:: 3.9
@@ -1979,7 +1979,7 @@ Python-level trace functions in previous versions.
19791979 *what* when after any bytecode is processed after which the exception becomes
19801980 set within the frame being executed. The effect of this is that as exception
19811981 propagation causes the Python stack to unwind, the callback is called upon
1982- return to each frame as the exception propagates. Only trace functions receives
1982+ return to each frame as the exception propagates. Only trace functions receive
19831983 these events; they are not needed by the profiler.
19841984
19851985
@@ -2119,7 +2119,7 @@ Reference tracing
21192119 the tracer function is called. Return ``0`` on success. Set an exception and
21202120 return ``-1`` on error.
21212121
2122- Not that tracer functions **must not** create Python objects inside or
2122+ Note that tracer functions **must not** create Python objects inside or
21232123 otherwise the call will be re-entrant. The tracer also **must not** clear
21242124 any existing exception or set an exception. A :term:`thread state` will be active
21252125 every time the tracer function is called.
0 commit comments