Permalink
Browse files

Docs: replace 'definition header' with 'call signature'

  • Loading branch information...
bfroehle committed Nov 12, 2012
1 parent 886a3ee commit aada9c8796f31789a56018401802c795f2518391
View
@@ -477,7 +477,7 @@ def do_list(self, arg):
do_l = do_list
def do_pdef(self, arg):
- """Print the definition header for any callable object.
+ """Print the call signature for any callable object.
The debugger interface to %pdef"""
namespaces = [('Locals', self.curframe.f_locals),
@@ -69,7 +69,7 @@ def pinfo2(self, parameter_s='', namespaces=None):
@skip_doctest
@line_magic
def pdef(self, parameter_s='', namespaces=None):
- """Print the definition header for any callable object.
+ """Print the call signature for any callable object.
If the object is a class, print the constructor information.
View
@@ -344,7 +344,7 @@ def __init__(self, color_table=InspectColors,
self.set_active_scheme(scheme)
def _getdef(self,obj,oname=''):
- """Return the definition header for any callable object.
+ """Return the call signature for any callable object.
If any exception is generated, None is returned instead and the
exception is suppressed."""
@@ -373,7 +373,7 @@ def noinfo(self, msg, oname):
print()
def pdef(self, obj, oname=''):
- """Print the definition header for any callable object.
+ """Print the call signature for any callable object.
If the object is a class, print the constructor information."""
@@ -337,7 +337,7 @@ this is just a summary:
* **%pdoc <object>**: Print (or run through a pager if too long) the
docstring for an object. If the given object is a class, it will
print both the class and the constructor docstrings.
- * **%pdef <object>**: Print the definition header for any callable
+ * **%pdef <object>**: Print the call signature for any callable
object. If the object is a class, print the constructor information.
* **%psource <object>**: Print (or run through a pager if too long)
the source code for an object.

0 comments on commit aada9c8

Please sign in to comment.