You are viewing an older version (9.2.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.2.0 / IPython / core / magics / namespace / NamespaceMagics / pdef

function

IPython.core.magics.namespace:NamespaceMagics.pdef

source: /dev/ipython/IPython/core/magics/namespace.py:69

Signature

def pdef(self, parameter_s = '', namespaces = None)

Summary

Print the call signature for any callable object.

Extended Summary

If the object is a class, print the constructor information.

Examples

:: In [3]: %pdef urllib.urlopen urllib.urlopen(url, data=None, proxies=None)

Aliases

  • IPython.core.magics.NamespaceMagics.pdef