Is this the correct way to emulate C++ function overloading?

Courageous jkraska1 at
Wed May 16 07:57:47 CEST 2001

>Is this the correct way of doing this?

No, not really. As another poster pointed out, you can determine
the type of arguments at runtime with the right function calls.

>on it's type/class, right? But what when you don't need to create
>objects or want to do it with built-in types? Is there another way?

Yep. Python is a _dynamic_ language.


More information about the Python-list mailing list