ipython/ipython — pull request #6774 by minrk (2014-10-22 17:27:16+00:00)
Title: don't pick up tokens right of cursor

inspection of `foo(|a` was picking up 'a' instead of 'foo' due to an off by one error while tokenizing.

closes #6737