[SciPy-Dev] AttributeError when editing source

Ralf Gommers ralf.gommers@gmail....
Sun Jul 7 11:00:54 CDT 2013


On Sun, Jul 7, 2013 at 5:53 PM, Anubhab Baksi <anubhab91@gmail.com> wrote:

>
> Hi,
> I was trying to write an additional function in misc/common. But, when I
> tried to run that, I got an AttributeError, stating module object has no
> such attribute.
>
> Can anybody, please, tell me why this is happening and how can I fix it?
>

You probably need to add the function name to "__all__". If that's not it,
please show us your actual code.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130707/567d10f8/attachment.html 


More information about the SciPy-Dev mailing list