Browse files

Fix mistake in previous commit

  • Loading branch information...
1 parent 951f37f commit 4e7dbacba519e3463cd1edcbd06b5f790e636793 @takluyver committed Jun 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/core/oinspect.py
View
4 IPython/core/oinspect.py
@@ -522,13 +522,13 @@ def add_fields(fields):
# 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)

0 comments on commit 4e7dbac

Please sign in to comment.