Guido: > This doesn't strictly apply to "import ..abc as xyz", but it doesn't > seem worth stretching the syntax when you can already do that using > "from .. import abc as xyz". I can see your point of view. It just seems a bit strange coming at from the other direction -- if you can say 'import a.b as z' there doesn't seem to be any good reason not to say 'import ..a.b as z'. I can imagine people getting tripped up by this. I guess you're right that it doesn't matter much either way. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4