Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

@total_ordering in oo-proramming talk notebook #4

Copy link
Copy link
@debsankha

Description

@debsankha
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.