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

bundles / IPython 9.12.0 / IPython / core / oinspect / Inspector / psearch

function

IPython.core.oinspect:Inspector.psearch

source: /IPython/core/oinspect.py :1108

Signature

def   psearch ( self pattern ns_table ns_search = [] ignore_case = False show_all = False * list_types = False )

Summary

Search namespaces with wildcards for objects.

Extended Summary

Arguments:

  • pattern: string containing shell-like wildcards to use in namespace searches and optionally a type specification to narrow the search to objects of that type.

  • ns_table: dict of name->namespaces for search.

Optional arguments:

  • ns_search: list of namespace names to include in search.

  • ignore_case(False): make the search case-insensitive.

  • show_all(False): show all names, including those starting with underscores.

  • list_types(False): list all available object types for object matching.

Aliases

  • IPython.core.oinspect.Inspector.psearch