tests/test_rl_accel.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3862 272e650eecf5
equal deleted inserted replaced
3722:29c11b905751 3723:99aa837b6703
   117         from _rl_accel import _sameFrag
   117         from _rl_accel import _sameFrag
   118         class ABag:
   118         class ABag:
   119             def __init__(self,**kwd):
   119             def __init__(self,**kwd):
   120                 self.__dict__.update(kwd)
   120                 self.__dict__.update(kwd)
   121             def __str__(self):
   121             def __str__(self):
   122                 V=['%s=%r' % v for v in list(self.__dict__.items())]
   122                 V=['%s=%r' % v for v in self.__dict__.items()]
   123                 V.sort()
   123                 V.sort()
   124                 return 'ABag(%s)' % ','.join(V)
   124                 return 'ABag(%s)' % ','.join(V)
   125 
   125 
   126         a=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")
   126         a=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")
   127         b=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")
   127         b=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")