Ejemplo n.º 1
0
 def __rlshift__(self, other):
     '''
         >>> 1 << this    # doctest: +ELLIPSIS
         <expression '1 << this' ...>
     '''
     from xotl.ql.expressions import lshift
     return lshift(other, self)
Ejemplo n.º 2
0
 def __rlshift__(self, other):
     '''
         >>> 1 << this    # doctest: +ELLIPSIS
         <expression '1 << this' ...>
     '''
     from xotl.ql.expressions import lshift
     return lshift(other, self)
Ejemplo n.º 3
0
 def __lshift__(self, other):
     '''
         >>> this << 1    # doctest: +ELLIPSIS
         <expression 'this << 1' ...>
     '''
     from xotl.ql.expressions import lshift
     return lshift(self, other)
Ejemplo n.º 4
0
 def __lshift__(self, other):
     '''
         >>> this << 1    # doctest: +ELLIPSIS
         <expression 'this << 1' ...>
     '''
     from xotl.ql.expressions import lshift
     return lshift(self, other)