From 4e7dbacba519e3463cd1edcbd06b5f790e636793 2012-06-24 20:07:30 From: Thomas Kluyver Date: 2012-06-24 20:07:30 Subject: [PATCH] Fix mistake in previous commit --- diff --git a/IPython/core/oinspect.py b/IPython/core/oinspect.py index 2bede7d..3a0530c 100644 --- a/IPython/core/oinspect.py +++ b/IPython/core/oinspect.py @@ -522,13 +522,13 @@ class Inspector: # Base class for old-style instances if (not py3compat.PY3) and isinstance(obj, types.InstanceType) and info['base_class']: - displayfield.append(("Base Class", info['base_class'].rstrip())) + displayfields.append(("Base Class", info['base_class'].rstrip())) add_fields(self.pinfo_fields2) # Namespace if info['namespace'] != 'Interactive': - displayfield.append(("Namespace", info['namespace'].rstrip())) + displayfields.append(("Namespace", info['namespace'].rstrip())) add_fields(self.pinfo_fields3)