def _trigger(defns):
    if defns is not None:
        defn = defns[0]
if defn.name and defn.doc:
    msg = '%s: %s' % (defn.name, defn.doc)
logger(view, 'info', msg, timeout=3000)
return
Show Python doc strings for the current function in Sublime Text 2?