Searched refs:StrSubclass (Results 1 – 3 of 3) sorted by relevance
7 class StrSubclass(str): class114 self.assertEqual(StrSubclass(Foo8("foo")), "foofoo")115 self.assertIs(type(StrSubclass(Foo8("foo"))), StrSubclass)
46 class StrSubclass(str): class1505 subclass = StrSubclass(text)2259 s = StrSubclass(StrSubclassToStrSubclass("foo"))2261 self.assertIs(type(s), StrSubclass)
209 class StrSubclass(str): class212 p = P(*(StrSubclass(x) for x in args))