Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Close the braces
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
Erlend Egeberg Aasland and vstinner authored Jan 20, 2021
commit 08a7132d99e757b8d2bca10c8c6518ea121b288d
2 changes: 2 additions & 0 deletions Doc/howto/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,8 @@ state. Example from the `setattro` slot method in
{
PyObject *module = _PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
thread_module_state *state = get_thread_state(module);
Comment thread
erlend-aasland marked this conversation as resolved.
...
}


Note that ``_PyType_GetModuleByDef`` traverses the MRO cache, and therefore has
Expand Down