Defining a symbolic function seems to declare its arguments. Case 
illustrated in this sagecell example 
<https://sagecell.sagemath.org/?z=eJwrSi1OLdHQ5OXyTDG0BTGLM_LL4zNTUvNKMtMyU4uKNTSBkmn5-RoFOok6SZq2BXEaibqGmloahroFmnEaSUA2SLMRbs1ASQVdBaD5ACSeIG0=&lang=sage&interacts=eJyLjgUAARUAuQ==>
 :

reset()
Id1=set(show_identifiers())
foo(p,a,b)=p^(a-1)*(1-p)^(b-1)
Id2=set(show_identifiers())
Id2 - Id1

which happily prints :

{'Id1', 'a', 'b', 'foo', 'p'}


Is this expected ?



-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to