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

@total_ordering in oo-proramming talk notebook #4

Open
debsankha opened this issue Mar 18, 2015 · 0 comments
Open

@total_ordering in oo-proramming talk notebook #4

debsankha opened this issue Mar 18, 2015 · 0 comments
Assignees

Comments

@debsankha
Copy link
Member

Hi Norma,
As we discussed in our last meeting, the old cmp method does not work for comparison operators in python3 anymore.

So I have added the "total_ordering" decorator to the class definition in file "Object-oriented programming in Python.ipynb" at input line:
In [142].

However this raises the question of how should be explained to students about decorators. Since you are giving the talk, I suppose you have final say in this matter.

Best,
Deb

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

No branches or pull requests

2 participants