[docs] Python 3.5.2: object() takes no parameters

Berker Peksağ berker.peksag at gmail.com
Sun Sep 11 19:22:17 EDT 2016


On Thu, Sep 8, 2016 at 3:58 PM, Deon P Hugo <deon.hugo at vodamail.co.za>
wrote:

> Good day,
>
> I am using Python 3.5.2.
>
>
>
> When I try to run the following program:
>
>
>

 Hi Deon,

Questions like this should be asked on StackOverflow or python-list, but I
think you need to rename _init_ to __init__ in the following line:

    def _init_(self, name):

--Berker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20160912/52f53847/attachment.html>


More information about the docs mailing list