summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-19 02:45:37 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-19 02:45:37 +0000
commitd87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4 (patch)
tree19dda31d5adcf70440e5aa2565efa9d1701a2f21 /Python/codecs.c
parent386ef4a4352cfcfdc9f666f2379cfe566ad8b4b7 (diff)
downloadcpython-d87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4.tar.gz
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c2
1 files changed, 1 insertions, 1 deletions
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);