Changes between Version 3 and Version 7 of Ticket #22611
- Timestamp:
- 03/18/17 09:52:39 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22611
-
Property
Commit
changed from
326465738e5a563ebffc86196f400829650cee63
tofa42d8eb1966a7e1ade67bb40b42a80bb04059b1
-
Property
Commit
changed from
-
Ticket #22611 – Description
v3 v7 1 The method `_sage_doc_` is used to havecustom documentation for instances of a class. Such a use case makes sense, but it should be implemented as the `__doc__` attribute instead of the Sage-specific `_sage_doc_`.1 Currently, the method `_sage_doc_` is used to implement custom documentation for instances of a class. Such a use case makes sense, but it should be implemented as the `__doc__` attribute instead of the Sage-specific `_sage_doc_`. 2 2 3 I tried various ways of implementing this and I was various Cython bugs along the way. The current solution is not the cleanest, but it works in all cases.3 I tried various ways of implementing this and I found several Cython bugs along the way. The current solution is not the cleanest, but it works in all cases (Cython and Python, extension types and normal classes).