diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-07-21 18:47:48 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-07-21 18:47:48 (GMT) |
commit | 5d7428b8ce0ffc79b24b05df2b3d2865db037902 (patch) | |
tree | c673d91d8fe112d194cb9bbf45006b8b35838965 /Modules/_ctypes | |
parent | 9f2e346911988cda95fec7c901e8d10d34fa9563 (diff) | |
download | cpython-5d7428b8ce0ffc79b24b05df2b3d2865db037902.zip cpython-5d7428b8ce0ffc79b24b05df2b3d2865db037902.tar.gz cpython-5d7428b8ce0ffc79b24b05df2b3d2865db037902.tar.bz2 |
Fix merge breakage.
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index e1b03a0..e6db969 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -4041,7 +4041,7 @@ Simple_repr(CDataObject *self) if (val == NULL) return NULL; - name = PyUnicode_FromString(self->ob_type->tp_name); + name = PyUnicode_FromString(Py_Type(self)->tp_name); if (name == NULL) { Py_DECREF(val); return NULL; |