You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add missing code for n_assert_invert
This commit is contained in:
Binary file not shown.
@@ -175,6 +175,14 @@ def customize_for_version37(self, version):
|
||||
pass
|
||||
return
|
||||
|
||||
def n_assert_invert(node):
|
||||
testtrue = node[0]
|
||||
assert testtrue == "testtrue"
|
||||
testtrue.kind = "assert"
|
||||
self.default(testtrue)
|
||||
|
||||
self.n_assert_invert = n_assert_invert
|
||||
|
||||
def n_attribute37(node):
|
||||
expr = node[0]
|
||||
assert expr == "expr"
|
||||
|
Reference in New Issue
Block a user