Is this the correct way to emulate C++ function overloading?
Courageous
jkraska1 at san.rr.com
Wed May 16 01:57:47 EDT 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.
C//
More information about the Python-list
mailing list