@line_magic<EOL><INDENT>def pinfo(self, parameter_s='<STR_LIT>', namespaces=None):<DEDENT>
<EOL>detail_level = <NUM_LIT:0><EOL>pinfo,qmark1,oname,qmark2 =re.match('<STR_LIT>',parameter_s).groups()<EOL>if pinfo or qmark1 or qmark2:<EOL><INDENT>detail_level = <NUM_LIT:1><EOL><DEDENT>if "<STR_LIT:*>" in oname:<EOL><INDENT>self.psearch(oname)<EOL><DEDENT>else:<EOL><INDENT>self.shell._inspect('<STR_LIT>', oname, detail_level=detail_level,<EOL>namespaces=namespaces)<EOL><DEDENT>
Provide detailed information about an object.

        '%pinfo object' is just a synonym for object? or ?object.