function "overloading"
Janos Blazi
jblazi at netsurf.de
Fri Jan 21 10:24:41 EST 2000
I have 3 classes called Tline, Tsegment and Tpoint, repectively. I'd like to
write a function "subset" that cheks if one of the instances of the above
classes is a subset of another instance (as long as this is sensible).
I am afraid I cannot overload the name "subset" and additionally when subset
has control it cannot decide the type of its arguments: Does this mean I
have to write several *different* subset functions having different names?
Janos Blazi
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
More information about the Python-list
mailing list