human
Solve the following python programming problem given the following code:
def alter_partition(self, spec, location = None, format = None, tbl_properties = None, serde_properties = None) : 
    '
        Change setting and parameters of an existing partition

        Parameters
        ----------
        spec : dict or list
          The partition keys for the partition being modified
        location : string, optional
        format : string, optional
        tbl_properties : dict, optional
        serde_properties : dict, optional

        Returns
        -------
        None (for now)
        ' 
    part_schema = self.partition_schema () 
    def _run_ddl(**kwds) : 
        stmt = ddl.AlterPartition (self._qualified_name, spec, part_schema, ** kwds) 
        return self._execute (stmt) 
return self._alter_table_helper (_run_ddl, location = location, format = format, tbl_properties = spec, serde_properties = serde_properties) 

    
    

    Fix the buggy line: return self._alter_table_helper (_run_ddl, location = location, format = format, tbl_properties = spec, serde_properties = serde_properties)
assistant
#Here is Python code to fix the buggy line: return self.

return self._alter_table_helper (_run_ddl, location = location, format = format, tbl_properties = tbl_properties, serde_properties = serde_properties)