From 90aa7646affbaee9628ca6ea6a702aec17b3b550 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 19 Dec 2007 02:45:37 +0000 Subject: #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. --- Python/codecs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/codecs.c') diff --git a/Python/codecs.c b/Python/codecs.c index c8926fcafb..5a0e4884db 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -354,7 +354,7 @@ PyObject *PyCodec_Encode(PyObject *object, v = NULL; goto onError; } - v = PyString_FromStringAndSize(PyBytes_AS_STRING(v), Py_Size(v)); + v = PyString_FromStringAndSize(PyBytes_AS_STRING(v), Py_SIZE(v)); } else if (PyString_Check(v)) Py_INCREF(v); -- cgit v1.2.1