3.7+ "from import" vs "import as" disambiguation

This commit is contained in:
rocky
2020-01-02 09:36:16 -05:00
parent c42e16fafe
commit 7bd81efe9b
4 changed files with 49 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ from os import path
from os import *
import time as time1, os as os1
import http.client as httpclient
from sys import stdin, stdout, stderr
if len(__file__) == 0:
# a.b.c should force consecutive LOAD_ATTRs
import a.b.c as d