| 53 | } |
| 54 | |
| 55 | constexpr char* NonConst(const char* st) { |
| 56 | // Hack for python versions < 3.7 where members of PyStruct members |
| 57 | // where non-const (C++ doesn't like assigning string literals to these types) |
| 58 | return const_cast<char*>(st); |
| 59 | } |
| 60 | |
| 61 | static PyTypeObject MonthDayNanoTupleType = {}; |
| 62 |