コード例 #1
0
ファイル: core.py プロジェクト: pvergain/xotl.ql
 def __rmod__(self, other):
     '''
         >>> 1 % this    # doctest: +ELLIPSIS
         <expression '1 mod this' ...>
     '''
     from xotl.ql.expressions import mod
     return mod(other, self)
コード例 #2
0
 def __rmod__(self, other):
     '''
         >>> 1 % this    # doctest: +ELLIPSIS
         <expression '1 mod this' ...>
     '''
     from xotl.ql.expressions import mod
     return mod(other, self)
コード例 #3
0
ファイル: core.py プロジェクト: pvergain/xotl.ql
 def __mod__(self, other):
     '''
         >>> this % 1    # doctest: +ELLIPSIS
         <expression 'this mod 1' ...>
     '''
     from xotl.ql.expressions import mod
     return mod(self, other)
コード例 #4
0
 def __mod__(self, other):
     '''
         >>> this % 1    # doctest: +ELLIPSIS
         <expression 'this mod 1' ...>
     '''
     from xotl.ql.expressions import mod
     return mod(self, other)