From 464801bcb37acfa90e7f5f1b45c288dd1fbaa891 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 21 Apr 2022 20:10:33 -0400 Subject: [PATCH] Correct type annotation on decompile() Fixes #391 --- uncompyle6/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/main.py b/uncompyle6/main.py index 5585bfb9..1cdd2657 100644 --- a/uncompyle6/main.py +++ b/uncompyle6/main.py @@ -46,7 +46,7 @@ def _get_outstream(outfile: str) -> Any: def decompile( co, - bytecode_version: str = PYTHON_VERSION_TRIPLE, + bytecode_version: Tuple[int] = PYTHON_VERSION_TRIPLE, out=sys.stdout, showasm=None, showast={},