[Chicago] Import Shadowing
mattkemp at gmail.com
Thu Nov 8 00:50:45 CET 2012
I believe you can still reference it with __builtins__.sum.
On Wed, Nov 7, 2012 at 4:40 PM, Oren Livne <livne at uchicago.edu> wrote:
> Dear All,
> ipython loads all numpy functions into the main scope, so sum() references
> np.sum(). What if I want to call the python function sum()? I can't seem to
> qualify it so that the numpy import is ignored.
> Chicago mailing list
> Chicago at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago