[Python-checkins] cpython: Remove duplicate AF_INET6 addition

martin.panter python-checkins at python.org
Fri Jun 24 23:35:52 EDT 2016


https://hg.python.org/cpython/rev/64ed56fbc5e7
changeset:   102166:64ed56fbc5e7
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Jun 25 03:06:58 2016 +0000
summary:
  Remove duplicate AF_INET6 addition

files:
  Modules/socketmodule.c |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -6247,9 +6247,6 @@
     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 */

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list