What to do when debugging in Werkzeug and the name “dump” is already defined in the local scope but you really need to dump(something)

from werkzeug.debug.repr import dump as xdump # or some other name

xdump(something)

See also: Werkzeug

Previous
Previous

Kombucha Redux

Next
Next

A Sporting Exhortation