Added idle() method, called when no events are available.
Added idle() method, called when no events are available.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator