[Python-checkins] cpython (3.6): Revert part of 3cb3e224b692 in code that I maintain.
stefan.krah
python-checkins at python.org
Sat Jan 7 19:12:23 EST 2017
https://hg.python.org/cpython/rev/9c4ed0bbe523
changeset: 106031:9c4ed0bbe523
branch: 3.6
parent: 106026:198edd926751
user: Stefan Krah <skrah at bytereef.org>
date: Sun Jan 08 01:11:27 2017 +0100
summary:
Revert part of 3cb3e224b692 in code that I maintain.
files:
Modules/_testbuffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_testbuffer.c b/Modules/_testbuffer.c
--- a/Modules/_testbuffer.c
+++ b/Modules/_testbuffer.c
@@ -13,7 +13,7 @@
PyObject *calcsize = NULL;
/* cache simple format string */
-static const char simple_fmt[] = "B";
+static const char *simple_fmt = "B";
PyObject *simple_format = NULL;
#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list