1.1 --- a/lib/__builtins__/buffer.py Wed Nov 23 14:27:21 2016 +0100
1.2 +++ b/lib/__builtins__/buffer.py Wed Nov 23 15:17:29 2016 +0100
1.3 @@ -38,15 +38,18 @@
1.4
1.5 self.__data__ = _list_init(n)
1.6
1.7 - # Append all arguments in string form to the buffer.
1.8 + # Append all arguments to the buffer.
1.9
1.10 if args:
1.11 for arg in args:
1.12 - _list_append(self, str(arg))
1.13 + self.append(arg)
1.14
1.15 def append(self, s):
1.16
1.17 - "Append 's' to the buffer."
1.18 + """
1.19 + Append 's' to the buffer, concatenating buffers and adding other objects
1.20 + in string form.
1.21 + """
1.22
1.23 if isinstance(s, buffer):
1.24 _list_concat(self, s)