diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 16:41:02 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 19:14:35 -0700 |
commit | 539b46f390d6fe0b67ae059c56d4102935de84ce (patch) | |
tree | 217e5796307a41bc922dccb36492d1dccbaf906e /src/hash_template.c | |
parent | 96579d92769c47adbaa00f8407b85f93eb856c66 (diff) | |
download | pycrypto-539b46f390d6fe0b67ae059c56d4102935de84ce.tar.gz |
Py3k cleanup: PyVarObject_HEAD_INIT
Diffstat (limited to 'src/hash_template.c')
-rw-r--r-- | src/hash_template.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hash_template.c b/src/hash_template.c index 1134942..8f3ea4b 100644 --- a/src/hash_template.c +++ b/src/hash_template.c @@ -214,12 +214,7 @@ ALG_getattr(PyObject *self, char *name) } static PyTypeObject ALGtype = { -#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 _MODULE_STRING, /*tp_name*/ sizeof(ALGobject), /*tp_size*/ 0, /*tp_itemsize*/ |