You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really a Python coder and so can't usefully comment on the appropriateness of the change, but if it does need fixing, then submitting a pull request against the main SWIG repo would likely get it done sooner.
Indeed the documentation was wrong. Your change doesn't work though and I also couldn't get super to work for Python 2. I've fixed the docs in swig/swig@76d813f. I could get the new Python 3 super syntax to work and so I've added this into the docs.
AFAIS the example at https://github.com/swig/www/blob/master/Doc3.0/Python.html#L2865 should read
super(mymodule.Foo, self).__init__(foo)
.The text was updated successfully, but these errors were encountered: