Indexed variables

Rocco Moretti roccomoretti at hotpop.com
Thu Sep 22 12:50:56 EDT 2005


python-novice at gmx.de wrote:

> So how do I define the function such as to discrimate wheter I call it by 
> f(a1) or f(a2) ?

I don't want to sound rude, but I think you'll be better served by 
telling us why you would want to do such a thing - ten to one someone 
can suggest a better way to acomplish you end goal, rather than 
discriminating on which variable is passed to a function.



More information about the Python-list mailing list