mirror of
https://github.com/python/cpython.git
synced 2026-05-15 00:48:35 -04:00
40ee30181f
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.