ipython/ipython — pull request #4144 by takluyver (2013-08-29 23:45:12+00:00)
Title: help_end transformer shouldn't pick up ? in multiline string

The help_end() transformer was already tokenizing the line to determine whether the ? was in a comment, so I just extended this to check for multi-line strings as well.

Possible for backporting to 1.1, but it's low priority, and this code is fairly sensitive, so it doesn't have to be.

Closes gh-4134