Use PyModule_AddObject() instead of accessing the module dict directly.
2 files changed