##// END OF EJS Templates
Remove unused _print_statement_sub function in py3compat #12010
takuya fujiwara -
Show More
@@ -169,9 +169,6 b' def execfile(fname, glob, loc=None, compiler=None):'
169
169
170 # Refactor print statements in doctests.
170 # Refactor print statements in doctests.
171 _print_statement_re = re.compile(r"\bprint (?P<expr>.*)$", re.MULTILINE)
171 _print_statement_re = re.compile(r"\bprint (?P<expr>.*)$", re.MULTILINE)
172 def _print_statement_sub(match):
173 expr = match.groups('expr')
174 return "print(%s)" % expr
175
172
176 # Abstract u'abc' syntax:
173 # Abstract u'abc' syntax:
177 @_modify_str_or_docstring
174 @_modify_str_or_docstring
General Comments 0
You need to be logged in to leave comments. Login now