You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
10 lines
273 B
Python
10 lines
273 B
Python
# From Python 2.6 ast.py
|
|
# Bug was finding the last iteration expression in generator-expression handling
|
|
#
|
|
fields = (1, 2)
|
|
rv = '%s(%s' % (__name__.__class__.__name__, ', '.join(
|
|
('%s=%s' % field for field in fields)
|
|
if __file__ else
|
|
(b for a, b in fields)
|
|
))
|