overload operator()?
Chris Liechti
cliechti at gmx.net
Mon Dec 16 15:30:49 EST 2002
More information about the Python-list mailing list
Mon Dec 16 15:30:49 EST 2002
- Previous message (by thread): overload operator()?
- Next message (by thread): overload operator()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Bruce Dickey" <brucedickey at micron.com> wrote in news:atlbb0$bqp$1 at admin- svc.micron.com: > Is there a way to overload () in Python to call a user-defined function? > I've overloaded + | ~ etc, but () has me stumped. that would be __call__ but some people say that overloading operators leads to confusing code... chris -- Chris <cliechti at gmx.net>
- Previous message (by thread): overload operator()?
- Next message (by thread): overload operator()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list