Skip to content

Commit

Permalink
Remove Py_TYPE definition
Browse files Browse the repository at this point in the history
No longer needed for supported versions from 2.7
  • Loading branch information
wsfulton committed Mar 21, 2024
1 parent 572a9bc commit c21ec6b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Lib/python/pyhead.swg
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

#endif

#ifndef Py_TYPE
# define Py_TYPE(op) ((op)->ob_type)
#endif

/* SWIG APIs for compatibility of both Python 2 & 3 */

#if PY_VERSION_HEX >= 0x03000000
Expand Down

0 comments on commit c21ec6b

Please sign in to comment.