The ever-useful 'Import all plugins script' in unitTest.py reports the
following when run with Python 3.x.
Traceback (most recent call last):
File "<string>", line 84, in <module>
File "c:\leo.repo\trunk\leo\plugins\quickMove.py", line 216, in
<module>
func = types.MethodType(func, None, quickMove)
TypeError: method expected 2 arguments, got 3
This is the code that I hacked previously. I suggest the following,
but this is up to the developer:
if g.isPython3:
func = types.MethodType(func, quickMove)
else:
func = types.MethodType(func, None, quickMove)
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.