In a sage function I need to use Sage's built-in types, say, vector.
E,g,

def foo(bar):
  from ???? import vector as v
  a=v(bar)

How do I find out from where it has to be imported?
(I haven't come up with anything better than running a grep on devel/
sage/sage/*/*.py* looking for vector and import)

Thanks,
Dima

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to