ipython/ipython — pull request #1869 by tkf (2012-06-06 23:06:40+00:00)
Title: Improve CodeMagics._find_edit_target

Previously %edit fails to open class definition when an instance is
given. This change fix this problem by trying to find source file of
the __class__ attribute of given object.