openbsd-ports/lang/python/2.7/patches/patch-Modules_socketmodule_c
rpointel eaa3c34823 Import Python 2.7.1.
Thanks a lot to landry@, fgsch@ for feedback.
Need tests before doing this version the default.
2011-04-24 09:31:44 +00:00

14 lines
459 B
Plaintext

$OpenBSD: patch-Modules_socketmodule_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/socketmodule.c.orig Thu Feb 4 20:26:34 2010
+++ Modules/socketmodule.c Thu Jun 17 13:04:44 2010
@@ -93,9 +93,6 @@ Local naming conventions:
#include "Python.h"
#include "structmember.h"
-#undef MAX
-#define MAX(x, y) ((x) < (y) ? (y) : (x))
-
/* Socket object documentation */
PyDoc_STRVAR(sock_doc,
"socket([family[, type[, proto]]]) -> socket object\n\