How do I reset the underscore in an interactive session?

Viewed 59

I have overriden the underscore variable _ in the Python interactive interpreter. How can I make the underscore work again without restarting the interpreter?

1 Answers
del _

A global _ shadows the builtin _, so deleting the global reveals the builtin again.

Related