[SciPy-Dev] AttributeError when editing source

Ralf Gommers ralf.gommers at gmail.com
Sun Jul 7 12:00:54 EDT 2013


On Sun, Jul 7, 2013 at 5:53 PM, Anubhab Baksi <anubhab91 at 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.python.org/pipermail/scipy-dev/attachments/20130707/567d10f8/attachment.html>


More information about the SciPy-Dev mailing list