Open mkoeppe opened 2 years ago
Description changed:
---
+++
@@ -8,7 +8,7 @@
- finally explain that an instance of (a subclass of) `CategoryObject`
- is a Python object
- that *has* a distinguished/default category as its attribute `_category` (returned by the method `category()`)
- - that mixes in attributes/methods from that category.
+ - that mixes in attributes/methods from that category's `ParentMethods`.
- conclude that "the same" mathematical object can be represented by several instances of (subclasses of) `CategoryObject` for the purpose of "considering it as an object of" the category.
Related:
CategoryObject
introduces itself as "an object in some category", but this is highly ambiguous.In this ticket, we update the documentation along the following lines:
CategoryObject
_category
(returned by the methodcategory()
)ParentMethods
.CategoryObject
for the purpose of "considering it as an object of" the category.Related:
31247 Meta-ticket:
ForgetfulFunctor
not working properlyCC: @tscrim @xcaruso @DavidAyotte
Component: categories
Issue created by migration from https://trac.sagemath.org/ticket/34540