This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / 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