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/_fastmath.c | |
parent | 96579d92769c47adbaa00f8407b85f93eb856c66 (diff) | |
download | pycrypto-539b46f390d6fe0b67ae059c56d4102935de84ce.tar.gz |
Py3k cleanup: PyVarObject_HEAD_INIT
Diffstat (limited to 'src/_fastmath.c')
-rw-r--r-- | src/_fastmath.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/_fastmath.c b/src/_fastmath.c index afbe931..e048676 100644 --- a/src/_fastmath.c +++ b/src/_fastmath.c @@ -361,12 +361,7 @@ static PyMethodDef rsaKey__methods__[] = { static PyObject *fastmathError; /* raised on errors */ static PyTypeObject dsaKeyType = { -#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 "dsaKey", sizeof (dsaKey), 0, @@ -403,12 +398,7 @@ static PyTypeObject dsaKeyType = { }; static PyTypeObject rsaKeyType = { -#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 "rsaKey", /*tp_name*/ sizeof (rsaKey), /*tp_size*/ 0, /*tp_itemsize*/ |