[Imported from Trac: page Python3, version 5]

itamarst 2020-07-08 15:45:30 +00:00
parent 92aa91a030
commit b6f24edd9d

@ -37,7 +37,16 @@ Then:
**Second**, run `futurize --write --both-stages --all-imports path/to/file.py`.
**Third**, replace the `from builtins import *` variant, if any, with:
**Third**, fix the imports (TODO this can probably be automated).
Delete this bit:
```#!python
from future import standard_library
standard_library.install_aliases()
```
And replace the `from builtins import *` variant, if any, with:
```#!python
from future.utils import PY2