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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: