# Introspection¶

dir() is a built-in function which returns a list of all the names belonging to some namespace.
• If no arguments are passed to dir (i.e. dir()), it inspects the namespace in which it was called.
• If dir is given an argument (i.e. `dir(