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

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

function

IPython.core.magics.namespace:NamespaceMagics.pdef

source: /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