Home
last modified time | relevance | path

Searched refs:register_adapter (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/sqlite3/
Ddbapi2.py81 register_adapter(datetime.date, adapt_date)
82 register_adapter(datetime.datetime, adapt_datetime)
/external/python/cpython2/Doc/includes/sqlite3/
Dadapter_datetime.py7 sqlite3.register_adapter(datetime.datetime, adapt_datetime)
Dadapter_point_2.py10 sqlite3.register_adapter(Point, adapt_point)
Dconverter_point.py18 sqlite3.register_adapter(Point, adapt_point)
/external/autotest/client/cros/nfc/
Dconsole.py184 lambda adapter: self.register_adapter(str(adapter)))
193 self.register_adapter(adapter)
195 def register_adapter(self, adapter): member in NfcClient
/external/python/cpython2/Lib/sqlite3/test/
Dregression.py150 self.assertRaises(TypeError, sqlite.register_adapter, {}, None)
Dtypes.py325 sqlite.register_adapter(int, ObjectAdaptationTests.cast)
/external/python/cpython2/Doc/library/
Dsqlite3.rst213 .. function:: register_adapter(type, callable)
769 string representation and register the function with :meth:`register_adapter`.