Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
src/sage/structure/element.pyx: Fix placement of # optional tag
  • Loading branch information
Matthias Koeppe committed Feb 8, 2023
commit 6efb63ee2f4d05468f6d836a831e8a971bcd7778
3 changes: 2 additions & 1 deletion src/sage/structure/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,8 @@ cdef class Element(SageObject):
We now create an ``Element`` class where we define ``_richcmp_``
and check that comparison works::

sage: cython(''' # optional - sage.misc.cython
sage: cython( # optional - sage.misc.cython
....: '''
....: from sage.structure.richcmp cimport rich_to_bool
....: from sage.structure.element cimport Element
....: cdef class FloatCmp(Element):
Expand Down