Searched refs:get_bytes (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | uuid.py | 204 def get_bytes(self): member in UUID 210 bytes = property(get_bytes)
|
/external/python/cpython3/Lib/ |
D | mailbox.py | 87 return email.message_from_bytes(self.get_bytes(key)).as_string() 89 def get_bytes(self, key): member in Mailbox 385 def get_bytes(self, key): member in Maildir 787 self.get_bytes(key)).as_string(unixfrom=from_) 789 def get_bytes(self, key, from_=False): member in _mboxMMDF 1044 def get_bytes(self, key): member in MH 1295 def get_bytes(self, key): member in Babyl 1319 return io.BytesIO(self.get_bytes(key).replace(b'\n', linesep))
|
/external/python/cpython3/Lib/test/ |
D | test_mailbox.py | 95 self.assertEqual(self._box.get_bytes(key), 136 self.assertEqual(self._box.get_bytes(key), 150 self.assertEqual(self._box.get_bytes(key).split(b'\n'), 158 self.assertEqual(self._box.get_bytes(key).split(b'\n'), 167 self.assertEqual(self._box.get_bytes(key).split(b'\n'), 264 self.assertEqual(self._box.get_bytes(key0), 266 self.assertEqual(self._box.get_bytes(key1), _bytes_sample_message) 573 self.assertRaises(NotImplementedError, lambda: box.get_bytes(''))
|
/external/python/cpython2/Lib/bsddb/ |
D | dbtables.py | 244 def get_bytes(self, key, txn=None, flags=0) : member in bsdTableDB.__init__.db_py3k
|
/external/python/cpython3/Doc/library/ |
D | mailbox.rst | 183 .. method:: get_bytes(key)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 2279 the file to text-mode). There is also a new :meth:`~mailbox.Mailbox.get_bytes`
|