summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-25 03:06:58 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-25 03:06:58 (GMT)
commitb466f8facf9ae8e893c30b7a7a76a8333b59d5c7 (patch)
tree37d236c9ef8cbf413a57acda9808dfd79fac84e7 /Modules/socketmodule.c
parent650c1c9ddd2f678c7f6aa86b8f079dce8c1ddef5 (diff)
downloadcpython-b466f8facf9ae8e893c30b7a7a76a8333b59d5c7.zip
cpython-b466f8facf9ae8e893c30b7a7a76a8333b59d5c7.tar.gz
cpython-b466f8facf9ae8e893c30b7a7a76a8333b59d5c7.tar.bz2
Remove duplicate AF_INET6 addition
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 175e82f..f7fe218 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -6247,9 +6247,6 @@ PyInit__socket(void)
PyModule_AddIntMacro(m, AF_UNSPEC);
#endif
PyModule_AddIntMacro(m, AF_INET);
-#ifdef AF_INET6
- PyModule_AddIntMacro(m, AF_INET6);
-#endif /* AF_INET6 */
#if defined(AF_UNIX)
PyModule_AddIntMacro(m, AF_UNIX);
#endif /* AF_UNIX */