_dispatch():  Do no re-define the resolve_dotted_atttribute() function     every time this gets called; move it out as a global helper function.     Simplify the call to the _dispatch() method of the registered instance.
_dispatch():  Do no re-define the resolve_dotted_atttribute() function
    every time this gets called; move it out as a global helper function.
    Simplify the call to the _dispatch() method of the registered instance.

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