#NEWLINE# def get_table_description( cursor , table_name ) : #NEWLINE# #INDENT# 'Returns a description of the table, with the DB-API cursor.description interface.' #NEWLINE# cursor . execute ( ( 'SELECT * FROM %s LIMIT 1' % quote_name ( cursor ) ) ) #NEWLINE# return cursor . description