Home
last modified time | relevance | path

Searched refs:_lookup (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Dmailbox.py310 os.remove(os.path.join(self._path, self._lookup(key)))
325 old_subpath = self._lookup(key)
327 temp_subpath = self._lookup(temp_key)
352 subpath = self._lookup(key)
370 f = open(os.path.join(self._path, self._lookup(key)), 'r')
378 f = open(os.path.join(self._path, self._lookup(key)), 'rb')
386 self._lookup(key)
537 def _lookup(self, key): member in Maildir
592 self._lookup()
602 self._lookup(key)
[all …]
/external/python/cpython2/Lib/test/
Dtest_mailbox.py733 self.assertRaises(KeyError, lambda: self._box._lookup('foo'))
735 self.assertEqual(self._box._lookup(key0), os.path.join('new', key0))
741 self.assertRaises(KeyError, lambda: self._box._lookup(key0))
784 path = os.path.join(self._path, self._box._lookup(key))