File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ For example::
3131Background
3232==========
3333
34- At the C level, all objects in Python's C API are interacted with through their
35- type (a pointer to a :c:type: ` PyTypeObject `). For example, to call an object,
34+ At the C level, Python interacts with objects through their
35+ type (:c:member: ` ~PyObject.ob_type `). For example, to call an object,
3636the interpreter will access the :c:member: `~PyTypeObject.tp_call ` field on the
3737object's type. This is where the magic of a shared object proxy can happen.
3838
3939The :c:type: `!PyTypeObject ` for a shared object proxy must implement
4040wrapping behavior for every single field on the type object structure.
41- So, going back to ``tp_call ``, an object proxy must be able to "intercept" the
41+ So, for ``tp_call ``, an object proxy must be able to "intercept" the
4242call in such a way where the wrapped object's ``tp_call `` slot can be executed
4343without thread-safety issues. This is done by switching the
4444:term: `attached thread state `.
You can’t perform that action at this time.
0 commit comments