summaryrefslogtreecommitdiff
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2006-05-26 14:29:35 +0000
committerBob Ippolito <bob@redivi.com>2006-05-26 14:29:35 +0000
commit24012795e38447a5e8efff3485721ffc35bde38b (patch)
treecea50e622486062e2c6c52ee283bb5a8b5884c23 /Modules/_struct.c
parent5434466617c107bff46093444091a080a9af8cac (diff)
downloadcpython-24012795e38447a5e8efff3485721ffc35bde38b.tar.gz
Enable PY_USE_INT_WHEN_POSSIBLE in struct
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 8c98db85e5..95b5e0bb05 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -16,12 +16,10 @@ typedef int Py_ssize_t;
#endif
-/* PY_USE_INT_WHEN_POSSIBLE is an experimental flag that changes the
+/* PY_USE_INT_WHEN_POSSIBLE is a flag that changes the
struct API to return int instead of long when possible. This is
often a significant performance improvement. */
-/*
#define PY_USE_INT_WHEN_POSSIBLE 1
-*/
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
to be packed. This will break some incorrect code that happened