Import sub-modules with alias.
Is it a bug ?

>>>
>>> import json
>>> from json import tool
>>>

--------

>>>
>>> import json as sjson
>>> from sjson import tool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sjson
>>>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to