[ANN] Multimethod.py -- multimethods for Python

Aahz Maruch aahz at netcom.com
Tue Jan 11 11:56:20 EST 2000


In article <20000111113656.A42270 at vislab.epa.gov>,
Randall Hopper  <aa8vb at yahoo.com> wrote:
>Doug Hellmann:
> |
> |Could one of you post a brief description of what a multimethod is, or
> |maybe just a pointer to a definition somewhere?
>
>I had the same question yesterday and did a little surfing.  Basically,
>instead of switching off just the type of 'self' to determine which method
>to call, you switch off the type of other arguments as well.

IOW, similar to C++-style multiple dispatch?
--
                      --- Aahz (@netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Have a *HAPPY* day!!!!!!!!!!



More information about the Python-list mailing list