Tiny Python3 compatibility fix
Miklós Homolya
Branch: mapdes/ufl:py3-compat
Branch: fenics-project/ufl:master
Declined
Declined pull request
Cherry-picked into c5eb7fbe89c1091132479c081e6fa9c182191dcc.
Closed by: Jan Blechta·2017-01-30
Cherry-picked into c5eb7fbe89c1091132479c081e6fa9c182191dcc.
types.MethodType
is used with three arguments for construction. Python 2 docs suggest to useinstancemethod
instead, in Python 3 this is not necessary at all. However, callingtypes.MethodType
with just two arguments works on both.