Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_binop.pyo |
³ò h”Rc @ s d Z d d k Z d d k l Z d „ Z d „ Z d „ Z d „ Z d e f d „ ƒ YZ d e i f d „ ƒ YZ d Z d „ Z e d j o e ƒ n d S( s9 Tests for binary operators on subtypes of built-in types.iÿÿÿÿN( t test_supportc C s$ x | o | | | } } q W| S( s1 Greatest common divisor using Euclid's algorithm.( ( t at b( ( s+ /usr/local/lib/python2.5/test/test_binop.pyt gcd s c C s t | t ƒ p t | t ƒ S( s5 Test whether an object is an instance of int or long.( t isinstancet intt long( t x( ( s+ /usr/local/lib/python2.5/test/test_binop.pyt isint s c C s9 x2 t t t t f D] } t | | ƒ o d Sq q Wd S( sA Test whether an object is an instance of a built-in numeric type.i i ( R R t floatt complexR ( R t T( ( s+ /usr/local/lib/python2.5/test/test_binop.pyt isnum s c C s t | t ƒ S( s6 Test wheter an object is an instance of the Rat class.( R t Rat( R ( ( s+ /usr/local/lib/python2.5/test/test_binop.pyt isRat s R c B s e Z d Z d d g Z d d d „ Z d „ Z e e d ƒ Z d „ Z e e d ƒ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e Z d „ Z d „ Z d „ Z e Z d „ Z e Z d „ Z e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z! RS( s: Rational number implemented as a normalized pair of longs.t _Rat__numt _Rat__denl l c C s t | ƒ p t d | ‚ n t | ƒ p t d | ‚ n | d j o t d ‚ n t | | ƒ } t | | ƒ | _ t | | ƒ | _ d S( sd Constructor: Rat([num[, den]]). The arguments must be ints or longs, and default to (0, 1).s&