]> granicus.if.org Git - python/commitdiff
Remove old macro that isn't used anywhere anymore.
authorGeorg Brandl <georg@python.org>
Sun, 11 May 2008 14:42:16 +0000 (14:42 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 11 May 2008 14:42:16 +0000 (14:42 +0000)
Include/code.h

index a9b0708f8cec0b34ce462c27942c3b73c1479934..40cce180f51618431becfef341fc6b3c3a66144e 100644 (file)
@@ -73,10 +73,6 @@ PyAPI_FUNC(PyCodeObject *) PyCode_New(
 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int);
 
 /* for internal use only */
-#define _PyCode_GETCODEPTR(co, pp) \
-       ((*Py_TYPE((co)->co_code)->tp_as_buffer->bf_getreadbuffer) \
-        ((co)->co_code, 0, (void **)(pp)))
-
 typedef struct _addr_pair {
         int ap_lower;
         int ap_upper;