You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Wacky string at beginning of fn which is not docstring...
3.7.6 test_fstring.py tests this.
This commit is contained in:
@@ -353,6 +353,13 @@ TABLE_DIRECT = {
|
||||
'print_nl_to': ( '%|print >> %c\n', 0 ),
|
||||
'print_to_items': ( '%C', (0, 2, ', ') ),
|
||||
|
||||
# This is only generated by transform
|
||||
# it is a string at the beginning of a function that is *not* a docstring
|
||||
# 3.7 test_fstring.py tests for this kind of crap.
|
||||
# For compatibility with older Python, we'll use "%" instead of
|
||||
# a format string.
|
||||
"string_at_beginning": ( '%|"%%s" %% %c\n', 0),
|
||||
|
||||
'call_stmt': ( '%|%p\n', (0, 200)),
|
||||
'break': ( '%|break\n', ),
|
||||
'continue': ( '%|continue\n', ),
|
||||
|
Reference in New Issue
Block a user