From 8e118c913ca760f0ef074adc07b2a4c55b01e902 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 28 Jun 2018 01:01:46 +0200 Subject: [PATCH] Remove note about print as absolute import. This is probably not going to happen anymore, Python 2 is pretty much end-of-life --- parso/python/parser.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/parso/python/parser.py b/parso/python/parser.py index 9762f54..a5e2632 100644 --- a/parso/python/parser.py +++ b/parso/python/parser.py @@ -72,16 +72,6 @@ class Parser(BaseParser): self._omit_dedent_list = [] self._indent_counter = 0 - # TODO do print absolute import detection here. - # try: - # del python_grammar_no_print_statement.keywords["print"] - # except KeyError: - # pass # Doesn't exist in the Python 3 grammar. - - # if self.options["print_function"]: - # python_grammar = pygram.python_grammar_no_print_statement - # else: - def parse(self, tokens): if self._error_recovery: if self._start_nonterminal != 'file_input':