Skip to content

Conversation

encukou
Copy link

@encukou encukou commented Oct 15, 2025

This should make it clearer that PyObject_GenericGetDict is for implementing your own class, and PyObject_GetDict is for getting the dict of an arbitrary object.


📚 Documentation preview 📚: https://cpython-previews--11.org.readthedocs.build/

@vstinner vstinner merged commit d250442 into vstinner:object_getdict Oct 15, 2025
4 checks passed
@vstinner
Copy link
Owner

Merged, thanks for your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants