You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Handle 3.6 Format String conversions !r, !s, !a
This commit is contained in:
@@ -591,7 +591,8 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
# Python 3.6+ Additions
|
||||
#######################
|
||||
TABLE_DIRECT.update({
|
||||
'formatted_value': ( '{%c}', 0),
|
||||
'formatted_value': ( '{%c%c}', 0, 1),
|
||||
'FORMAT_VALUE': ( '%{pattr}', ),
|
||||
'joined_str': ( "f'%c'", 2),
|
||||
})
|
||||
return
|
||||
|
Reference in New Issue
Block a user