Author: Matti Picus <matti.pi...@gmail.com>
Branch: cpyext-subclass-setattr
Changeset: r94238:2f6fa12ef5e6
Date: 2018-04-04 22:37 +0300
http://bitbucket.org/pypy/pypy/changeset/2f6fa12ef5e6/

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
@@ -781,7 +781,6 @@
     try:
         w_obj = _type_realize(space, py_obj)
     finally:
-        name = rffi.charp2str(cts.cast('char*', pto.c_tp_name))
         pto.c_tp_flags &= ~Py_TPFLAGS_READYING
     pto.c_tp_flags |= Py_TPFLAGS_READY
     return w_obj
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to