#NEWLINE# def get_table_description( cursor , table_name ) : #NEWLINE# #INDENT# 'Returns a description of the table, with the DB-API cursor.description interface.' #NEWLINE# return [ ( info [ 'name' ] , info [ 'type' ] , None , None , None , None , info [ 'null_ok' ] ) for info in _table_info ( table_name , table_name ) ]