You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fix docstring bug..
small sync with python 2.4 branch
This commit is contained in:
@@ -13,6 +13,7 @@ def print_docstring(self, indent, docstring):
|
||||
quote = '"""'
|
||||
else:
|
||||
quote = "'''"
|
||||
docstring = docstring.replace("'''", "\\'''")
|
||||
except:
|
||||
return False
|
||||
self.write(indent)
|
||||
|
Reference in New Issue
Block a user