On Tue, 1 Feb 2005 04:17:10 +0000, Frans Englich <[EMAIL PROTECTED]> wrote:
...
> But in Python, when one wants to be able to pass different data types into a 
> single "entry point" for functionality, how is that best done? To in a 
> function do an if statement with the type() function? 

Have a look at this older thread on this subject:

  Subject: Re: Does python support multi prototype.
  Message-ID: <[EMAIL PROTECTED]>

/Jorgen

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to