From b6f24edd9d774ac5d58283b22632d726520e44e5 Mon Sep 17 00:00:00 2001 From: itamarst <> Date: Wed, 8 Jul 2020 15:45:30 +0000 Subject: [PATCH] [Imported from Trac: page Python3, version 5] --- Python3.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Python3.md b/Python3.md index 61cc7a2..79e354c 100644 --- a/Python3.md +++ b/Python3.md @@ -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