# HG changeset patch # User Paul Boddie # Date 1485043983 -3600 # Node ID 3528cff91fcef5ea24d9c7ef04e616cf28401991 # Parent 82a420510d632594d7bcced3db09a38b068b9a28 Fixed the string representation of slice-based instances. diff -r 82a420510d63 -r 3528cff91fce lib/__builtins__/span.py --- a/lib/__builtins__/span.py Sun Jan 22 01:12:21 2017 +0100 +++ b/lib/__builtins__/span.py Sun Jan 22 01:13:03 2017 +0100 @@ -3,7 +3,7 @@ """ Span-related objects. -Copyright (C) 2015, 2016 Paul Boddie +Copyright (C) 2015, 2016, 2017 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -45,7 +45,7 @@ "Return a string representation." - b = buffer([self.__name__, "(", self.start, ", ", self.end, ", ", self.step, ")"]) + b = buffer([self.__oname__, ".", self.__name__, "(", self.start, ", ", self.end, ", ", self.step, ")"]) return str(b) __repr__ = __str__