]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use PyModule_AddIntConstant() instead of creating a private helper function.
authorFred Drake <fdrake@acm.org>
Thu, 14 Feb 2002 06:59:26 +0000 (06:59 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 14 Feb 2002 06:59:26 +0000 (06:59 +0000)
commitcca657b8fefa26eadd5c8362813d8b93dded3a46
tree22642c653b60ef34a9e7053d83b37ec9497c19bd
parent8301256a440fdd98fd500d225dac20ebb192e08f
Use PyModule_AddIntConstant() instead of creating a private helper function.
This also avoids directly accessing the module'd __dict__.
Modules/resource.c