You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
logic bug: and->or
This commit is contained in:
@@ -649,7 +649,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
if self.pending_newlines:
|
||||
out = out[:-self.pending_newlines]
|
||||
if (isinstance(out, str) and
|
||||
not (PYTHON3 and self.FUTURE_UNICODE_LITERALS)):
|
||||
not (PYTHON3 or self.FUTURE_UNICODE_LITERALS)):
|
||||
out = unicode(out, 'utf-8')
|
||||
self.f.write(out)
|
||||
|
||||
|
Reference in New Issue
Block a user