00001 00002 import gmpy 00003 rat = gmpy.mpq(1,2) 00004 print id(rat) 00005 import test 00006 test.reportmpq(rat) 00007 print dir(test)