@_modify_str_or_docstring
    def doctest_refactor_print(doc):
        return _print_statement_re.sub(_print_statement_sub, doc)
    
    # Abstract u'abc' syntax:
Refactor 'print x' statements in a doctest to print(x) style. 2to3
dataset/ETHPy150Open PythonCharmers/python-future/docs/3rd-party-py3k-compat-code/ipython_py3compat.py/doctest_refactor_print