Frans Englich 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?

It often depends a lot on the specific use case... Do you have a particular example in mind?


Steve
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to