This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mariano Anaya
Recipients Mariano Anaya, docs@python
Date 2017-05-31.21:11:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496265085.29.0.159074921199.issue30530@psf.upfronthosting.co.za>
In-reply-to
Content
The example on which tries to create a method from the function's __get__ doesn't work for Python 3.5+. It would give this error:

TypeError: method expected 2 arguments, got 3

The 3rd parameter, needs to be removed.
History
Date User Action Args
2017-05-31 21:11:25Mariano Anayasetrecipients: + Mariano Anaya, docs@python
2017-05-31 21:11:25Mariano Anayasetmessageid: <1496265085.29.0.159074921199.issue30530@psf.upfronthosting.co.za>
2017-05-31 21:11:25Mariano Anayalinkissue30530 messages
2017-05-31 21:11:25Mariano Anayacreate