<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_drop_index_sql(self, index, table=None):
 """ Returns the SQL to drop an index from a table. :param index: The index :type index: Index or str :param table: The table :type table: Table or str or None :rtype: str """

        if isinstance(index, Index):
            index = index.get_quoted_name(self)

        return "DROP INDEX %s" % index