From ab70883e9829bc40b46604529649e4641f9c0ca9 2011-05-17 19:41:48 From: Thomas Kluyver Date: 2011-05-17 19:41:48 Subject: [PATCH] Add back 'Class Docstring' to pinfo. --- diff --git a/IPython/core/oinspect.py b/IPython/core/oinspect.py index 6434ba8..e8bc4dc 100644 --- a/IPython/core/oinspect.py +++ b/IPython/core/oinspect.py @@ -396,7 +396,8 @@ class Inspector: ("File", "file"), ("Definition", "definition")] - pinfo_fields_obj = [("Constructor Docstring","init_docstring"), + pinfo_fields_obj = [("Class Docstring", "class_docstring"), + ("Constructor Docstring","init_docstring"), ("Call def", "call_def"), ("Call docstring", "call_docstring")]