Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example2 error on running #13

Open
zangetsudo opened this issue Mar 15, 2017 · 0 comments · May be fixed by #33
Open

example2 error on running #13

zangetsudo opened this issue Mar 15, 2017 · 0 comments · May be fixed by #33

Comments

@zangetsudo
Copy link

python-cookbook/src/8/extending_classes_with_mixins/example2.py

that's seem not a solutino for minin class which needs init method, i have checked on python 2.7, this is what i got:

C:\Python27\python.exe D:/dev/python/pyqt/workapce/pyqt/widget/test/test.py
File "D:/dev/python/pyqt/workapce/pyqt/widget/test/test.py", line 2
def init(self, *args, _restrict_key_type, **kwargs):
^
SyntaxError: invalid syntax

@saadkhi saadkhi linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant