Return the bytes value (contents) of the buffer
(self)
| 920 | return self.__dict__.copy() |
| 921 | |
| 922 | def getvalue(self): |
| 923 | """Return the bytes value (contents) of the buffer |
| 924 | """ |
| 925 | if self.closed: |
| 926 | raise ValueError("getvalue on closed file") |
| 927 | return bytes(self._buffer) |
| 928 | |
| 929 | def getbuffer(self): |
| 930 | """Return a readable and writable view of the buffer. |
no outgoing calls