Author: Ronan Lamy <ronan.l...@gmail.com> Branch: py3.5 Changeset: r92990:92c6fb568fa1 Date: 2017-11-11 15:51 +0000 http://bitbucket.org/pypy/pypy/changeset/92c6fb568fa1/
Log: fix translation diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py --- a/pypy/objspace/std/typeobject.py +++ b/pypy/objspace/std/typeobject.py @@ -977,6 +977,7 @@ w_type.setdictvalue(space, '__doc__', w_value) def type_get_txtsig(space, w_type): + w_type = _check(space, w_type) if w_type.text_signature is None: return space.w_None return space.newtext(w_type.text_signature) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit