|
From: Robert K. <rob...@gm...> - 2006-01-19 22:03:22
|
Eric Emsellem wrote: > Ok thanks. (in fact the cvs version seemed to have solved it for some reason) > > I did that only because when doing "help(arange)" it gave me that dependency and > I wanted to be sure to use the right one here. So why is Ipython giving me that > instead of the most direct one? arange is defined in the module numpy.core.multiarray. That information is stored in the builtin_function_or_method object itself. It can't know that it is being imported into the root numpy namespace or anywhere else. Consequently, the help() function can't know that you are accessing it as "from numpy import *; help(arange)", and only gives you the information that it knows. -- Robert Kern rob...@gm... "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |