On Saturday, April 9, 2016 at 6:19:57 PM UTC+1, lundy....@gmail.com wrote:
>
> Thanks Dima,
> this will at least allow me to do what I need.
>
> note, I have avoided using f=x^2, for a while now due to deprecation 
> warnings like this:
> sage: f=x^2
> sage: f(5)
> /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/
> interactiveshell.py:2885:
>  DeprecationWarning: Substitution using function-call syntax and unnamed
>  arguments is deprecated and will be removed from a future release of 
> Sage; you can use named arguments instead, like EXPR(x=..., y=...)
> See http://trac.sagemath.org/5930 for details.
>   exec(code_obj, self.user_global_ns, self.user_ns)
> 25
>

this warning merely tells you to use 'f(x=5)' instead of 'f(5)',
it has nothing to do with the way f is defined.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to