Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(37)  |  Call(37)  |  Derive(0)  |  Import(0)
x.__add__(y) <==> x+y

src/x/d/xdwlib-2.29.0/xdwlib/page.py   xdwlib(Download)
    def __add__(self, y):
        if isinstance(y, Page):
            return PageCollection(list.__add__(self, [y]))
        elif isinstance(y, PageCollection):
            return PageCollection(list.__add__(self, y))
        raise TypeError("only Page or PageCollection can be added")
 
    def __radd__(self, y):
        if isinstance(y, Page):
            return PageCollection(list.__add__([y], self))
    def __radd__(self, y):
        if isinstance(y, Page):
            return PageCollection(list.__add__([y], self))
        elif isinstance(y, PageCollection):
            return PageCollection(list.__add__(y, self))

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/grammar/list.py   SublimeSpeech(Download)
    def __add__(self, *args, **kwargs):
        result = list.__add__(self, *args, **kwargs)
        self._update(); return result
    def __delitem__(self, *args, **kwargs):
        result = list.__delitem__(self, *args, **kwargs)

src/d/r/dragonfly-0.6.5/dragonfly/grammar/list.py   dragonfly(Download)
    def __add__(self, *args, **kwargs):
        result = list.__add__(self, *args, **kwargs)
        self._update(); return result
    def __delitem__(self, *args, **kwargs):
        result = list.__delitem__(self, *args, **kwargs)

src/s/a/sahara-2014.1/sahara/db/sqlalchemy/types.py   sahara(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/s/a/savanna-0.3/savanna/db/sqlalchemy/types.py   savanna(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/s/a/sahara-HEAD/sahara/db/sqlalchemy/types.py   sahara(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/s/a/sahara-2014.1/sahara/utils/sqlatypes.py   sahara(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/s/a/savanna-0.3/savanna/utils/sqlatypes.py   savanna(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/m/i/mistral-0.0.2/mistral/db/sqlalchemy/types.py   mistral(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

src/s/a/sahara-HEAD/sahara/utils/sqlatypes.py   sahara(Download)
    def __add__(self, value):
        """Detect list add events and emit change events."""
        list.__add__(self, value)
        self.changed()
 

  1 | 2 | 3  Next