11d10 < 22,25c21,40 < Two examples of objects that support the buffer interface are strings and < arrays. The string object exposes the character contents in the buffer < interface's byte-oriented form. An array can also expose its contents, but it < should be noted that array elements may be multi-byte values. --- > An example of an object that supports the buffer inteface is an object created > by the built-in :meth:`str` method. The string object exposes the character > contents in the buffer interface's byte-oriented form. > > .. note:: As the implementations of objects created by :meth:`str` and > :meth:`unicode` differ, so do their support for :meth:`memoryview`. > The latter does not implement the new buffer API and > as such, cannot be the subject of :meth:`memoryview`. > > Meaning that while this will work: > > .. code-block:: python > > memoryview('And now for something completely different.') > > This will not: > > .. code-block:: python > > memoryview(u'And now for something completely different.')