[IPython-dev] making pdoc, pdef, and pinfo more generally useful (Was Re: Patches to use pydb instead of pdb for debugging)

Ville M. Vainio vivainio at gmail.com
Thu Oct 12 01:17:01 CDT 2006


On 10/12/06, R. Bernstein <rocky at panix.com> wrote:

>     def do_pinfo(self, arg):
>         """The debugger (or any application) equivalant of ?obj"""
>         namespaces = [('Locals', self.curframe.f_locals),
>                       ('Globals', self.curframe.f_globals)]

Any particular reasons for using tuple for namespaces instead of
separate kwargs?

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list