diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-07-21 18:47:48 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-07-21 18:47:48 +0000 |
commit | 5d7428b8ce0ffc79b24b05df2b3d2865db037902 (patch) | |
tree | c673d91d8fe112d194cb9bbf45006b8b35838965 /Include/bytesobject.h | |
parent | 9f2e346911988cda95fec7c901e8d10d34fa9563 (diff) | |
download | cpython-git-5d7428b8ce0ffc79b24b05df2b3d2865db037902.tar.gz |
Fix merge breakage.
Diffstat (limited to 'Include/bytesobject.h')
-rw-r--r-- | Include/bytesobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h index a649d39c02..f1e01d16f9 100644 --- a/Include/bytesobject.h +++ b/Include/bytesobject.h @@ -42,7 +42,7 @@ PyAPI_FUNC(int) PyBytes_Resize(PyObject *, Py_ssize_t); /* Macros, trading safety for speed */ #define PyBytes_AS_STRING(self) (assert(PyBytes_Check(self)),((PyBytesObject *)(self))->ob_bytes) -#define PyBytes_GET_SIZE(self) (assert(PyBytes_Check(self)),((PyBytesObject *)(self))->ob_size) +#define PyBytes_GET_SIZE(self) (assert(PyBytes_Check(self)),Py_Size(self)) #ifdef __cplusplus } |