ipython/ipython — pull request #1917 by takluyver (2012-06-11 21:11:39+00:00)
Title: Fix for %pdef on Python 3

A nice simple one - `types.InstanceType` is for old style classes, so we don't check against it on Python 3.