File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ cdef class DefaultConvertMap_unique(Map):
2626 used when the element_constructor is a bound method (whose self
2727 argument is assumed to be bound to the codomain).
2828 """
29- def __init__ (self , domain , codomain , category = None ):
29+ def __init__ (self , domain , codomain , category = None ) -> None :
3030 """
3131 TESTS:
3232
@@ -61,7 +61,7 @@ cdef class DefaultConvertMap_unique(Map):
6161 if (<Parent>codomain)._element_constructor is None:
6262 raise RuntimeError(f"BUG in coercion model, no element constructor for {type(codomain)}")
6363
64- def _repr_type (self ):
64+ def _repr_type(self) -> str :
6565 r"""
6666 Return a printable type for this morphism.
6767
@@ -102,7 +102,7 @@ cdef class DefaultConvertMap_unique(Map):
102102 sage: f(2 / 3 , 4 )
103103 2 / 3 + O(x^ 4 )
104104 """
105- cdef Parent C = self ._codomain
105+ cdef Parent C = self._codomain
106106 try:
107107 if len(args) == 0:
108108 if len(kwds) == 0:
You can’t perform that action at this time.
0 commit comments