[pypy-commit] pypy cpyext-subclass-setattr: remove unused variable
mattip
pypy.commits at gmail.com
Wed Apr 4 16:14:47 EDT 2018
Author: Matti Picus <matti.picus at gmail.com>
Branch: cpyext-subclass-setattr
Changeset: r94239:a7f1ba785e54
Date: 2018-04-04 22:55 +0300
http://bitbucket.org/pypy/pypy/changeset/a7f1ba785e54/
Log: remove unused variable
diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py
--- a/pypy/module/cpyext/typeobject.py
+++ b/pypy/module/cpyext/typeobject.py
@@ -887,7 +887,6 @@
base = pto.c_tp_base
base_pyo = rffi.cast(PyObject, pto.c_tp_base)
if base and not base.c_tp_flags & Py_TPFLAGS_READY:
- name = rffi.charp2str(cts.cast('char*', base.c_tp_name))
type_realize(space, base_pyo)
if base and not pto.c_ob_type: # will be filled later
pto.c_ob_type = base.c_ob_type
More information about the pypy-commit
mailing list