summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simplejson/_speedups.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/simplejson/_speedups.c b/simplejson/_speedups.c
index 5ea8c46..212616a 100644
--- a/simplejson/_speedups.c
+++ b/simplejson/_speedups.c
@@ -3336,10 +3336,8 @@ static PyObject *
moduleinit(void)
{
PyObject *m;
- PyScannerType.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyScannerType) < 0)
return NULL;
- PyEncoderType.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyEncoderType) < 0)
return NULL;