#615772: raise a more explicit error from Tkinter.Misc.__contains__.