[IPython-dev] Overzealous introspection

Ville M. Vainio vivainio@gmail....
Fri Jan 23 08:31:14 CST 2009


On Fri, Jan 23, 2009 at 3:15 PM, Mike Hansen <mhansen@gmail.com> wrote:

> In [1]: def foo(x):
>   ...:     """
>   ...:     Eh?
> Object `Eh` not found.
>   ...:     """
>   ...:     return 4
>   ...:
>
> The function still gets defined.  I've verified that this is still an

Eh? gets converted to valid python code, hence the function gets
defined. I don't think this is a bug.

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-dev mailing list