Skip to content

Conversation

sjtechrec
Copy link

Description

  • Created file 'total-ordering.md'
  • Inserted YAML at top ==> Note that Python is not listed as a Subject in the Subjects.md file and Class Decorator is not listed as a Tag in the Tags.md file. Is it possible to add?
  • Wrote a definition for total_ordering and reintroduced the rich comparison methods. Added requirements and characteristics.
  • Wrote syntax for total_ordering, which is technically two different ways.
  • Provided two examples, one example shows simple use based on a class age. The other example shows the customization capabilities of rich comparison methods and usage in conjunction with total_ordering.

Issue Solved

Type of Change

  • Added a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making. - branch is named "total-ordering-entry" if that is ok?
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

…ule. Also, recommending adding Python to Subjects and Class Decorator to tags.
@CLAassistant
Copy link

CLAassistant commented Aug 14, 2025

CLA assistant check
All committers have signed the CLA.

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 this pull request may close these issues.

2 participants