Gordon McMillan wrote: > ... > This is nowhere near as confusing as, say, putting a module > named X in a package named X and then saying "from X > import *", (hi, Marc-Andre!). Users shouldn't bother looking into packages... only at the documented interface ;-) The hack is required to allow sibling submodules to import the packages main module (I could have also written import __init__ everywhere but that wouldn't have made things clearer), BTW. It turned out to be very convenient during development of all those mx packages. -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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