sage: import_statements(Permutation)
from sage.combinat.permutation import Permutation
And if there is an ambiguity it does show up
sage: import_statements('ZZ')
# **Warning**: distinct objects with name 'ZZ' in:
# - sage.rings.integer_ring
# - sage.libs.ntl.ntl_ZZ
from sage.rings.integer_ring import ZZ
Vincent
On 19/08/16 15:05, Joseph Hundley wrote:
Hi,
Suppose I have something which I know I need to import and have forgotten
where it's found. What is the best way to recover that information? The
best method I know is to type ??ThingIWantToImport and scroll and scroll
and scroll until at the very end it tells me which file I want. Is there a
better approach?
Thanks,
JH
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.