diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-01-22 15:25:18 (GMT) |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-01-22 15:25:18 (GMT) |
| commit | 74b8e76ec1d85feacaa5e96b60a9c7f21026508f (patch) | |
| tree | 07b20fdd26c0d2f54bb4d8ea3fef22658542b44b /Lib/SimpleXMLRPCServer.py | |
| parent | 690c91220e06b6e3214c8a8efc214db276967b09 (diff) | |
| download | cpython-74b8e76ec1d85feacaa5e96b60a9c7f21026508f.zip cpython-74b8e76ec1d85feacaa5e96b60a9c7f21026508f.tar.gz cpython-74b8e76ec1d85feacaa5e96b60a9c7f21026508f.tar.bz2 | |
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 'Lib/SimpleXMLRPCServer.py')
0 files changed, 0 insertions, 0 deletions
