Skip to content

Commit

Permalink
lkpp10
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Oct 3, 2024
1 parent cec5280 commit 0fc5b85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions homeworks/10-==.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Теория

База:
- Байткод `COMPARE_OP`: https://docs.python.org/3/library/dis.html#opcode-COMPARE_OP
- Байткод `IS_OP`: https://docs.python.org/3/library/dis.html#opcode-IS_OP
- Как работают сравнения в Python? https://docs.python.org/3/reference/datamodel.html#object.__eq__
- `functools.total_ordering`: https://docs.python.org/3/library/functools.html#functools.total_ordering
- `@dataclass(eq=True, order=True)`: https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass
- `ast.Compare`: https://docs.python.org/3/library/ast.html#ast.Compare
Binary file added lectures/10-==.key
Binary file not shown.

0 comments on commit 0fc5b85

Please sign in to comment.