Tiny Python3 compatibility fix

Declined
#68 · Created  · Last updated

Declined pull request

Cherry-picked into c5eb7fbe89c1091132479c081e6fa9c182191dcc.

Closed by: ·2017-01-30

Description

types.MethodType is used with three arguments for construction. Python 2 docs suggest to use instancemethod instead, in Python 3 this is not necessary at all. However, calling types.MethodType with just two arguments works on both.

0 attachments

0 comments

Loading commits...