What is the use of the "delitem" method in Python?