Home
last modified time | relevance | path

Searched refs:__num (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_binop.py45 self.__num = long(num//g)
50 return self.__num
60 return "Rat(%d, %d)" % (self.__num, self.__den)
68 return self.__num*1.0/self.__den
74 return int(self.__num)
83 return long(self.__num)
91 return Rat(self.__num*other.__den + other.__num*self.__den,
104 return Rat(self.__num*other.__den - other.__num*self.__den,
115 return Rat(other.__num*self.__den - self.__num*other.__den,
124 return Rat(self.__num*other.__num, self.__den*other.__den)
[all …]
/external/libmojo/third_party/jinja2/
Dext.py147 def ngettext(__context, __singular, __plural, __num, **variables): argument
148 variables.setdefault('num', __num)
149 rv = __context.call(func, __singular, __plural, __num)