diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-22 15:25:18 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-22 15:25:18 +0000 |
commit | 74b8e76ec1d85feacaa5e96b60a9c7f21026508f (patch) | |
tree | 07b20fdd26c0d2f54bb4d8ea3fef22658542b44b /Python/bltinmodule.c | |
parent | 690c91220e06b6e3214c8a8efc214db276967b09 (diff) | |
download | cpython-git-74b8e76ec1d85feacaa5e96b60a9c7f21026508f.tar.gz |
Don't repeat yourself
Added the macros PyModule_AddIntMacro and PyModule_AddStringMacro. They shorten PyModule_AddIntConstant(m, "AF_INET", AF_INET) to PyModule_AddIntMacro(m, AF_INET)
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions