You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fold in some decompile changes
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
Generators and comprehenison functions
|
||||
Generators and comprehension functions
|
||||
"""
|
||||
|
||||
|
||||
@@ -185,7 +185,13 @@ class ComprehensionMixin:
|
||||
self.preorder(tree[iter_index])
|
||||
self.prec = p
|
||||
|
||||
def comprehension_walk_newer(self, node, iter_index: int, code_index: int = -5):
|
||||
def comprehension_walk_newer(
|
||||
self,
|
||||
node,
|
||||
iter_index: Optional[int],
|
||||
code_index: int = -5,
|
||||
collection_node=None,
|
||||
):
|
||||
"""Non-closure-based comprehensions the way they are done in Python3
|
||||
and some Python 2.7. Note: there are also other set comprehensions.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user