Re: [sage-devel] Depreciated is_AlgebraElement function

2012-03-25 Thread Mike Hansen
On Sun, Mar 25, 2012 at 11:06 PM, Starx wrote: > 1) How are functions depreciated?  I ran > search_src("is_AlgebraElement") and looked at all the results and I > can only find this function occurring in either its definition or in > import statements.  How does sage know to print a depreciation wa

[sage-devel] Depreciated is_AlgebraElement function

2012-03-25 Thread Starx
I was looking at the function is_AlgebraElement which needs a doctest. When I called it in sage (to come up with a doctest) I got a depreciation warning: sage: is_AlgebraElement(e) /Users/Starx/sage-dev/local/bin/sage-ipython:1: DeprecationWarning: Using is_AlgebraElement from the top level is de