HomeSort by relevance Sort by last modified time
    Searched refs:Rat (Results 1 - 4 of 4) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_binop.py 24 """Test wheter an object is an instance of the Rat class."""
25 return isinstance(x, Rat)
27 class Rat(object):
34 """Constructor: Rat([num[, den]]).
38 raise TypeError, "Rat numerator must be int or long (%r)" % num
40 raise TypeError, "Rat denominator must be int or long (%r)" % den
49 """Accessor function for read-only 'num' attribute of Rat."""
54 """Accessor function for read-only 'den' attribute of Rat."""
59 """Convert a Rat to an string resembling a Rat constructor call.""
    [all...]
test_long.py 799 class Rat:
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_binop.py 24 """Test wheter an object is an instance of the Rat class."""
25 return isinstance(x, Rat)
27 class Rat(object):
34 """Constructor: Rat([num[, den]]).
38 raise TypeError, "Rat numerator must be int or long (%r)" % num
40 raise TypeError, "Rat denominator must be int or long (%r)" % den
49 """Accessor function for read-only 'num' attribute of Rat."""
54 """Accessor function for read-only 'den' attribute of Rat."""
59 """Convert a Rat to an string resembling a Rat constructor call.""
    [all...]
test_long.py 799 class Rat:
    [all...]

Completed in 74 milliseconds