PS:

On 2012-08-15, Simon King <simon.k...@uni-jena.de> wrote:
> sage: B = deprecated_function_alias(12345, A)
> sage: B()
> ...:1: DeprecationWarning: B is deprecated. Please use A instead.
> See http://trac.sagemath.org/12345 for details.
>   #!/usr/bin/env python
><__main__.A instance at 0x449d098>

But I guess the caveat is that isinstance(X,B) won't work.

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



Reply via email to