Searched refs:madstring (Results 1 – 2 of 2) sorted by relevance
2777 class madstring(str): class2786 s = madstring("abcdefghijklmnopqrstuvwxyz")2788 self.assertEqual(s.rev(), madstring("zyxwvutsrqponmlkjihgfedcba"))2789 self.assertEqual(s.rev().rev(), madstring("abcdefghijklmnopqrstuvwxyz"))2791 s = madstring("".join(map(chr, range(i))))2795 s = madstring("12345")2800 s = madstring(base)
2762 class madstring(str): class2771 s = madstring("abcdefghijklmnopqrstuvwxyz")2773 self.assertEqual(s.rev(), madstring("zyxwvutsrqponmlkjihgfedcba"))2774 self.assertEqual(s.rev().rev(), madstring("abcdefghijklmnopqrstuvwxyz"))2776 s = madstring("".join(map(chr, range(i))))2780 s = madstring("12345")2785 s = madstring(base)