You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Problem was not escaping """ inside """. Use ''' when possible; and when not, use: \"\"\".
8 lines
268 B
Python
8 lines
268 B
Python
# uncompyle2 bug was not escaping """ properly
|
|
r'''func placeholder - with ("""\nstring\n""")'''
|
|
def foo():
|
|
r'''func placeholder - ' and with ("""\nstring\n""")'''
|
|
|
|
def bar():
|
|
r"""func placeholder - ' and with ('''\nstring\n''') and \"\"\"\nstring\n\"\"\" """
|