summaryrefslogtreecommitdiff
path: root/src/_counter.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-07-14 16:41:02 -0700
committerDwayne Litzenberger <dlitz@dlitz.net>2013-07-14 19:14:35 -0700
commit539b46f390d6fe0b67ae059c56d4102935de84ce (patch)
tree217e5796307a41bc922dccb36492d1dccbaf906e /src/_counter.c
parent96579d92769c47adbaa00f8407b85f93eb856c66 (diff)
downloadpycrypto-539b46f390d6fe0b67ae059c56d4102935de84ce.tar.gz
Py3k cleanup: PyVarObject_HEAD_INIT
Diffstat (limited to 'src/_counter.c')
-rw-r--r--src/_counter.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/_counter.c b/src/_counter.c
index 618ee89..525b5cf 100644
--- a/src/_counter.c
+++ b/src/_counter.c
@@ -353,12 +353,7 @@ CounterBEObject_getattr(PyObject *s, char *name)
static PyTypeObject
PCT_CounterLEType = {
-#ifdef IS_PY3K
PyVarObject_HEAD_INIT(NULL, 0) /* deferred type init for compilation on Windows, type will be filled in at runtime */
-#else
- PyObject_HEAD_INIT(NULL)
- 0, /* ob_size */
-#endif
"_counter.CounterLE", /* tp_name */
sizeof(PCT_CounterObject), /* tp_basicsize */
0, /* tp_itemsize */
@@ -401,12 +396,7 @@ PCT_CounterLEType = {
static PyTypeObject
PCT_CounterBEType = {
-#ifdef IS_PY3K
PyVarObject_HEAD_INIT(NULL, 0) /* deferred type init for compilation on Windows, type will be filled in at runtime */
-#else
- PyObject_HEAD_INIT(NULL)
- 0, /* ob_size */
-#endif
"_counter.CounterBE", /* tp_name */
sizeof(PCT_CounterObject), /* tp_basicsize */
0, /* tp_itemsize */