Commits

Armin Rigo committed 52418df

Add a comment.

  • Participants
  • Parent commits 3976bd3

Comments (0)

Files changed (1)

File pypy/module/__builtin__/interp_memoryview.py

         return W_MemoryView(buf)
 
     def descr_buffer(self, space):
+        """Note that memoryview() objects in PyPy support buffer(), whereas
+        not in CPython; but CPython supports passing memoryview() to most
+        built-in functions that accept buffers, with the notable exception
+        of the buffer() built-in."""
         return space.wrap(self.buf)
 
     def descr_tobytes(self, space):