Использование del (a, b)
удалит переменные.
>>> a, b = 1, 2
>>> t = (a, b)
>>> del (a, b)
>>> t
(1, 2)
>>> a
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'a' is not defined
>>> b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'b' is not defined
>>>