Skip to content

Commit dd34300

Browse files
committed
fix indentation
1 parent d9fffa5 commit dd34300

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/structure/coerce_maps.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)