Re: Override the '+' symbol

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Lundh

    Re: Override the '+' symbol

    Mr.SpOOn wrote:
    how can I override the '+' symbol (and other math symbols) so that it
    can have a new behavior when applied to some objects?
    see "Emulating Numeric Types" in the language reference:

    The official home of the Python Programming Language


    </F>

Working...