1.1 --- a/lib/__builtins__/str.py Mon Dec 19 00:26:49 2016 +0100
1.2 +++ b/lib/__builtins__/str.py Fri Jan 06 22:23:52 2017 +0100
1.3 @@ -262,6 +262,10 @@
1.4 def strip(self, chars=None): pass
1.5 def upper(self): pass
1.6
1.7 +class string(basestring):
1.8 +
1.9 + "A plain string of bytes."
1.10 +
1.11 # Special implementation methods.
1.12
1.13 def __get_single_item__(self, index):
1.14 @@ -290,12 +294,6 @@
1.15
1.16 return str_substr(self.__data__, start, end, step)
1.17
1.18 -class string(basestring):
1.19 -
1.20 - "A plain string of bytes."
1.21 -
1.22 - pass
1.23 -
1.24 def str(obj):
1.25
1.26 "Return the string representation of 'obj'."