Home
last modified time | relevance | path

Searched refs:whichdb (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/dbm/
H A D__init__.py9 type of database being opened (determined by the whichdb function) in the case
30 __all__ = ['open', 'whichdb', 'error']
78 result = whichdb(file) if 'n' not in flag else None
98 def whichdb(filename): function
190 print(whichdb(filename) or "UNKNOWN", filename)
/third_party/python/Lib/test/
H A Dtest_dbm.py172 # Check whether whichdb correctly guesses module name
180 self.assertEqual(name, self.dbm.whichdb(path))
189 self.assertEqual(name, self.dbm.whichdb(path))
193 # Issue 17198: check that ndbm which is referenced in whichdb is defined
199 self.assertIsNone(self.dbm.whichdb(path))
H A Dpickletester.py1165 # whichdb.whichdb
1167 self.assertIs(self.loads(pickled), dbm.whichdb)
2866 (dbm.whichdb, 'whichdb', 'whichdb'),

Completed in 6 milliseconds