del « Statement « Python Tutorial






3.7.del
3.7.1.The del statement unbinds variables and attributes, and removes parts (positions, slices, or slots) from data structures (mappings or sequences).
3.7.2.The Class Namespace