The Class Namespace : del « Statement « Python Tutorial






# The following two statements are (more or less) equivalent: 

def foo(x): return x*x 
foo = lambda x: x*x








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