Input core/input gestures dialog: script function object has no attribute __func__. (#9752)
As part of Input Gestures dialog initialization, script function objects are gathered (or at least script infos are gathered). Previously it would work, but in Python 3, attribute erro is raised when trying to obtain script.__func__, with Python 3 claiming that there is no such attribute. Thus remove this attribute which restores Input Gestures dialog.