summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-05-13 04:08:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-05-13 04:08:28 (GMT)
commitf6b687fcd4d62e53443e23376dc02c177fecc0d4 (patch)
treee9de3846d9babce511548b0ed3f19bf0d2fa3b99 /Include/pyport.h
parentfa6bdc6d8651e8240f2964ea628a188fb2d594c6 (diff)
downloadcpython-f6b687fcd4d62e53443e23376dc02c177fecc0d4.zip
cpython-f6b687fcd4d62e53443e23376dc02c177fecc0d4.tar.gz
cpython-f6b687fcd4d62e53443e23376dc02c177fecc0d4.tar.bz2
remove support GCC PyArg_ParseTuple format patch, last seen in 2006
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 17d9f6d..96e8f1a 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -832,15 +832,6 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
#endif
/*
- * Add PyArg_ParseTuple format where available.
- */
-#ifdef HAVE_ATTRIBUTE_FORMAT_PARSETUPLE
-#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
-#else
-#define Py_FORMAT_PARSETUPLE(func,p1,p2)
-#endif
-
-/*
* Specify alignment on compilers that support it.
*/
#if defined(__GNUC__) && __GNUC__ >= 3