chiark
/
gitweb
/
~mdw
/
pyke
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
92d8797
)
catacomb-python.h: Give up on Python versions prior to 2.5.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Nov 2019 22:43:02 +0000
(22:43 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 10 Apr 2020 21:42:39 +0000
(22:42 +0100)
catacomb-python.h
patch
|
blob
|
blame
|
history
diff --git
a/catacomb-python.h
b/catacomb-python.h
index b0f933a9cdeb44d5dc6358802ce822f6216eaae4..5638812dde6c479fc8e9ec4f317cf831bcc044ba 100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-176,11
+176,6
@@
PRIVATE_SYMBOLS;
return (0); \
}
return (0); \
}
-#if PY_VERSION_HEX < 0x02050000 /* Compatibility hack */
-# define ht_name name
-# define ht_type type
-#endif
-
#define root_pytype 0
#define type_pytype &PyType_Type
#define INITTYPE_META(ty, base, meta) do { \
#define root_pytype 0
#define type_pytype &PyType_Type
#define INITTYPE_META(ty, base, meta) do { \