1# Test subclassing built-in str 2 3class S(str): 4 pass 5 6s = S('hello') 7print(s == 'hello') 8print('hello' == s) 9print(s == 'Hello') 10print('Hello' == s) 11