[issue37714] 2to3 tab Problems

Aldwin Pollefeyt report at bugs.python.org
Tue Jul 30 01:03:41 EDT 2019


Aldwin Pollefeyt <aldwinaldwin at gmail.com> added the comment:

There is a reindent.py tool to help you in this case. After running the 2to3 on the FrisPy, I tried the reindent tool, and the example worked fine afterwards.

$ wget https://raw.githubusercontent.com/python/cpython/master/Tools/scripts/reindent.py
$ python3 reindent.py -r .
$ python3 example.py

----------
nosy: +aldwinaldwin

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37714>
_______________________________________


More information about the Python-bugs-list mailing list