Add missing 3.7 "import_from37" template

This commit is contained in:
rocky
2022-05-14 02:59:15 -04:00
parent fbe4be3bb0
commit 87fb83de08

View File

@@ -146,6 +146,7 @@ def customize_for_version37(self, version):
),
"ifstmtl": ("%|if %c:\n%+%c%-", (0, "testexpr"), (1, "_ifstmts_jumpl")),
'import_as37': ( '%|import %c as %c\n', 2, -2),
"import_from37": ("%|from %[2]{pattr} import %c\n", (3, "importlist37")),
"import_from_as37": (
"%|from %c as %c\n",
(2, "import_from_attr37"),