unbinding a global variable in Python

Mark Tarver dr.mtarver at ukonline.co.uk
Thu Apr 30 07:32:29 EDT 2009


In Lisp this is done so

> (setq *g* 0)
0

> *g*
0

> (makunbound '*g*)
*g*

> *g*
error: unbound variable

How is this done in Python?

Mark




More information about the Python-list mailing list