From b89177d234786245e38da8596a44e9975f39f764 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 31 Dec 2015 15:24:24 -0500 Subject: [PATCH] track source deparsing superclass bug fix --- uncompyle6/semantics/fragments.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uncompyle6/semantics/fragments.py b/uncompyle6/semantics/fragments.py index b06c2179..319ee9d6 100644 --- a/uncompyle6/semantics/fragments.py +++ b/uncompyle6/semantics/fragments.py @@ -26,7 +26,7 @@ node 2 range information, it in %c, is copied to nodes 0 and 1. from __future__ import print_function -import inspect, re, sys +import re, sys from uncompyle6 import PYTHON3 from uncompyle6.code import iscode @@ -864,8 +864,6 @@ class FragmentsWalker(pysource.SourceWalker, object): return self.extract_node_info(p), p def print_super_classes(self, node): - node[1][0].parent = node - node = node[1][0] if not (node == 'build_list'): return