diff options
Diffstat (limited to 'libshiboken/conversions.h')
-rw-r--r-- | libshiboken/conversions.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h index ebe5c6c56..fa42622fa 100644 --- a/libshiboken/conversions.h +++ b/libshiboken/conversions.h @@ -38,10 +38,6 @@ #define PyObject_Check(X) true #include "autodecref.h" -// Note: if there wasn't for the old-style classes, only a PyNumber_Check would suffice. -#define SbkNumber_Check(X) \ - (PyNumber_Check(X) && (!PyInstance_Check(X) || PyObject_HasAttrString(X, "__trunc__"))) - namespace Shiboken { /** |