| 6 | { |
| 7 | |
| 8 | inline bool IsPyString( PyObject* pyObj ) |
| 9 | { |
| 10 | #if PY_MAJOR_VERSION == 2 |
| 11 | return PyString_Check( pyObj ); |
| 12 | #else |
| 13 | return PyUnicode_Check( pyObj ); |
| 14 | #endif |
| 15 | } |
| 16 | |
| 17 | inline bool IsPyInt( PyObject* pyObj ) |
| 18 | { |
no outgoing calls
no test coverage detected