A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-January/032186.html below:

[Python-Dev] import a.b as c

[Python-Dev] import a.b as cChristopher Blunck blunck@gst.com
Wed, 15 Jan 2003 13:45:00 -0500
On Wed, Jan 15, 2003 at 07:46:47AM -0500, Guido van Rossum wrote:
> > The docs currently say that import-as doesn't work if the imported
> > thing is a submodule. Patch #662454 points out that this documentation
> > is factually incorrect, and suggests to remove it.
> > 
> > Can anybody remember what the rationale was for documenting such a
> > restriction?

No idea.  I originally speculated that v1.x of py wouldn't allow import-as with
a submodule and that the documentation was a relic.  Turns out that v1.x 
doesn't allow import-as at all.  That kind of invalidates my hypothesis.

> > If not, I'll apply this patch.
+1

-c

-- 
 10:25am  up 86 days,  1:41,  1 user,  load average: 3.47, 3.49, 3.58



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