ipython/ipython — pull request #1906 by minrk (2012-06-11 07:02:27+00:00)
Title: oinfo finds cell magics

Fixes logic in `Shell._ofind` to differentiate cell magics from line magics

defines ESC_CELL_MAGIC in prefilter, rather than making the assumption that ESC_CELL_MAGIC == ESC_MAGIC * 2, but I don't have to do that.

also changes preemptive not-found to not fire in case of magics, as it has been pointed out elsewhere that magic names need only not contain spaces, they need not be valid identifiers.

closes #1904