From 5233a0716b74b3858909c4b76e2996d0918c313a Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 8 May 2020 05:59:20 -0400 Subject: [PATCH] Correct wong class names in super() --- uncompyle6/parsers/parse10.py | 2 +- uncompyle6/parsers/parse11.py | 4 ++-- uncompyle6/parsers/parse21.py | 2 +- uncompyle6/parsers/parse22.py | 4 ++-- uncompyle6/parsers/parse23.py | 4 ++-- uncompyle6/version.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/uncompyle6/parsers/parse10.py b/uncompyle6/parsers/parse10.py index d862cdf1..29af8a59 100644 --- a/uncompyle6/parsers/parse10.py +++ b/uncompyle6/parsers/parse10.py @@ -7,7 +7,7 @@ from uncompyle6.parsers.parse11 import Python11Parser class Python10Parser(Python11Parser): def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG): - super(Python11Parser, self).__init__(debug_parser) + super(Python10Parser, self).__init__(debug_parser) self.customized = {} diff --git a/uncompyle6/parsers/parse11.py b/uncompyle6/parsers/parse11.py index e5f6bec0..237e920c 100644 --- a/uncompyle6/parsers/parse11.py +++ b/uncompyle6/parsers/parse11.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Rocky Bernstein +# Copyright (c) 2019-2020 Rocky Bernstein from spark_parser import DEFAULT_DEBUG as PARSER_DEFAULT_DEBUG from uncompyle6.parser import PythonParserSingle @@ -7,7 +7,7 @@ from uncompyle6.parsers.parse12 import Python12Parser class Python11Parser(Python12Parser): def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG): - super(Python12Parser, self).__init__(debug_parser) + super(Python11Parser, self).__init__(debug_parser) self.customized = {} diff --git a/uncompyle6/parsers/parse21.py b/uncompyle6/parsers/parse21.py index 07bf5ac7..1627a3d0 100644 --- a/uncompyle6/parsers/parse21.py +++ b/uncompyle6/parsers/parse21.py @@ -8,7 +8,7 @@ from uncompyle6.parsers.parse22 import Python22Parser class Python21Parser(Python22Parser): def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG): - super(Python22Parser, self).__init__(debug_parser) + super(Python21Parser, self).__init__(debug_parser) self.customized = {} def p_forstmt21(self, args): diff --git a/uncompyle6/parsers/parse22.py b/uncompyle6/parsers/parse22.py index e7d3415a..108a3c31 100644 --- a/uncompyle6/parsers/parse22.py +++ b/uncompyle6/parsers/parse22.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Rocky Bernstein +# Copyright (c) 2016-2017, 2020 Rocky Bernstein # Copyright (c) 2000-2002 by hartmut Goebel from spark_parser import DEFAULT_DEBUG as PARSER_DEFAULT_DEBUG @@ -8,7 +8,7 @@ from uncompyle6.parsers.parse23 import Python23Parser class Python22Parser(Python23Parser): def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG): - super(Python23Parser, self).__init__(debug_parser) + super(Python22Parser, self).__init__(debug_parser) self.customized = {} def p_misc22(self, args): diff --git a/uncompyle6/parsers/parse23.py b/uncompyle6/parsers/parse23.py index 2411cd58..0e41ad64 100644 --- a/uncompyle6/parsers/parse23.py +++ b/uncompyle6/parsers/parse23.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2018 Rocky Bernstein +# Copyright (c) 2016-2018, 2020 Rocky Bernstein # Copyright (c) 2000-2002 by hartmut Goebel # Copyright (c) 1999 John Aycock @@ -9,7 +9,7 @@ from uncompyle6.parsers.parse24 import Python24Parser class Python23Parser(Python24Parser): def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG): - super(Python24Parser, self).__init__(debug_parser) + super(Python23Parser, self).__init__(debug_parser) self.customized = {} def p_misc23(self, args): diff --git a/uncompyle6/version.py b/uncompyle6/version.py index 277b4db2..537c8d3d 100644 --- a/uncompyle6/version.py +++ b/uncompyle6/version.py @@ -10,6 +10,6 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# This file is suitable for sourcing inside bash as +# This file is suitable for sourcing inside POSIX shell as # well as importing into Python VERSION="3.6.7" # noqa