##// END OF EJS Templates
cext: remove some conditional preprocessor defines...
Gregory Szorc -
r49668:be3af7eb default
parent child Browse files
Show More
@@ -317,12 +317,7 b' done:'
317 317 return ret;
318 318 }
319 319
320 #ifdef IS_PY3K
321 320 #define LAZYMANIFESTENTRIESITERATOR_TPFLAGS Py_TPFLAGS_DEFAULT
322 #else
323 #define LAZYMANIFESTENTRIESITERATOR_TPFLAGS Py_TPFLAGS_DEFAULT \
324 | Py_TPFLAGS_HAVE_ITER
325 #endif
326 321
327 322 static PyTypeObject lazymanifestEntriesIterator = {
328 323 PyVarObject_HEAD_INIT(NULL, 0) /* header */
@@ -365,12 +360,7 b' static PyObject *lmiter_iterkeysnext(PyO'
365 360 return PyBytes_FromStringAndSize(l->start, pl);
366 361 }
367 362
368 #ifdef IS_PY3K
369 363 #define LAZYMANIFESTKEYSITERATOR_TPFLAGS Py_TPFLAGS_DEFAULT
370 #else
371 #define LAZYMANIFESTKEYSITERATOR_TPFLAGS Py_TPFLAGS_DEFAULT \
372 | Py_TPFLAGS_HAVE_ITER
373 #endif
374 364
375 365 static PyTypeObject lazymanifestKeysIterator = {
376 366 PyVarObject_HEAD_INIT(NULL, 0) /* header */
@@ -955,11 +945,7 b' static PyMethodDef lazymanifest_methods['
955 945 {NULL},
956 946 };
957 947
958 #ifdef IS_PY3K
959 948 #define LAZYMANIFEST_TPFLAGS Py_TPFLAGS_DEFAULT
960 #else
961 #define LAZYMANIFEST_TPFLAGS Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_SEQUENCE_IN
962 #endif
963 949
964 950 static PyTypeObject lazymanifestType = {
965 951 PyVarObject_HEAD_INIT(NULL, 0) /* header */
General Comments 0
You need to be logged in to leave comments. Login now