SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

Issue #21205: Add a new ``__qualname__`` attribute to generator, the qualified

name, and use it in the representation of a generator (``repr(gen)``). The
default name of the generator (``__name__`` attribute) is now get from the
function instead of the code. Use ``gen.gi_code.co_name`` to get the name of
the code.
V
Victor Stinner committed
40ee30181f7f7c71d6b49ceef35b5d3d20b88a6d
Parent: 2617199