summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/arraymodule.c2
-rw-r--r--Modules/datetimemodule.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 7349527..edd1530 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -1566,7 +1566,7 @@ PyMethodDef array_methods[] = {
static PyObject *
array_repr(arrayobject *a)
{
- char buf[256], typecode;
+ char typecode;
PyObject *s, *v = NULL;
Py_ssize_t len;
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index e03148c..5539659 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -4006,7 +4006,6 @@ datetime_subtract(PyObject *left, PyObject *right)
static PyObject *
datetime_repr(PyDateTime_DateTime *self)
{
- char buffer[1000];
const char *type_name = self->ob_type->tp_name;
PyObject *baserepr;