Title: @total_ordering in oo-proramming talk notebook · Issue #4 · MPIDS/Python-Course · GitHub
Open Graph Title: @total_ordering in oo-proramming talk notebook · Issue #4 · MPIDS/Python-Course
X Title: @total_ordering in oo-proramming talk notebook · Issue #4 · MPIDS/Python-Course
Description: 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 P...
Open Graph Description: 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 i...
X Description: 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 de...
Opengraph URL: https://github.com/MPIDS/Python-Course/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@total_ordering in oo-proramming talk notebook","articleBody":"Hi Norma,\nAs we discussed in our last meeting, the old **cmp** method does not work for comparison operators in python3 anymore. \n\nSo I have added the \"total_ordering\" decorator to the class definition in file \"Object-oriented programming in Python.ipynb\" at input line:\nIn [142]. \n\nHowever 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. \n\nBest,\nDeb\n","author":{"url":"https://github.com/debsankha","@type":"Person","name":"debsankha"},"datePublished":"2015-03-18T21:13:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/Python-Course/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc71f810-8ac5-ae41-c037-83072589daff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B02:2754C9:1C5317E:260A6CA:69806EB2 |
| html-safe-nonce | c8fef4a320c8bdfa30edc70a71bd135409e0339cc2019fff9ea8320e58e50642 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjAyOjI3NTRDOToxQzUzMTdFOjI2MEE2Q0E6Njk4MDZFQjIiLCJ2aXNpdG9yX2lkIjoiNTM2NTczOTQ5MTE4NzI1NzAxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1da22aaa6ab58c5954160b7016a54d8ef8867db4fb316560f0c57e5ab52c2e0c |
| hovercard-subject-tag | issue:62802349 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MPIDS/Python-Course/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad1ad23fd5ae70dc3d961c94336c0d28ed8eb4b65bbb9457858b323f3602788c/MPIDS/Python-Course/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad1ad23fd5ae70dc3d961c94336c0d28ed8eb4b65bbb9457858b323f3602788c/MPIDS/Python-Course/issues/4 |
| og:image:alt | 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 i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | debsankha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0959b1a93ca48b0c88b3bddbdfd04ca43f388cb1a8293105a28c5ef6e8079db8 |
| turbo-cache-control | no-preview |
| go-import | github.com/MPIDS/Python-Course git https://github.com/MPIDS/Python-Course.git |
| octolytics-dimension-user_id | 1584092 |
| octolytics-dimension-user_login | MPIDS |
| octolytics-dimension-repository_id | 4146063 |
| octolytics-dimension-repository_nwo | MPIDS/Python-Course |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4146063 |
| octolytics-dimension-repository_network_root_nwo | MPIDS/Python-Course |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 78307334c66591a8f87f493dd2968126b34961dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width