tkinter.Text.debug() now always returns 0/1.
Fixed regression inroduced in issue #6157.