You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
18 lines
420 B
Python
18 lines
420 B
Python
# Github Issue #57 with Python 2.7
|
|
def some_function():
|
|
return ['some_string']
|
|
|
|
def some_other_function():
|
|
some_variable, = some_function()
|
|
print(some_variable)
|
|
|
|
# From 2.7 test_compile.py
|
|
# Bug is adding erroneous parens in d[(1:2, 1:2)] += 1
|
|
def bug(d):
|
|
d[1:2, 1:2] += 1
|
|
|
|
empty_tup = ()
|
|
one_item_tup = ("item1", )
|
|
one_item_tup_without_parentheses = "item",
|
|
many_items_tup = ("item1", "item2", "item3")
|