1.1 --- a/lib/__builtins__/str.py Tue Jun 29 22:41:05 2021 +0200
1.2 +++ b/lib/__builtins__/str.py Tue Jun 29 23:50:13 2021 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 String objects.
1.6
1.7 -Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017, 2021 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -576,7 +576,7 @@
1.13
1.14 def upper(self): pass
1.15
1.16 -class string(basestring):
1.17 +class str(basestring):
1.18
1.19 "A plain string of bytes."
1.20
1.21 @@ -607,7 +607,7 @@
1.22 l = get_using(basestring.__get_multiple_items__, self)(start, end, step)
1.23 return "".join(l)
1.24
1.25 -def str(obj):
1.26 +def new_str(obj):
1.27
1.28 "Return the string representation of 'obj'."
1.29