summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTara Fife <fi.tara@gmail.com>2016-06-05 07:48:09 -0500
committerTara Fife <fi.tara@gmail.com>2016-06-05 07:48:09 -0500
commitd05d6d24cfde51e83a973e2044394747f260e49c (patch)
treeb42a7030f9b6b2b6e95b3ccae7a16d9d6c38e52f
parentEddited documentation (diff)
Fixed error in documentation
-rw-r--r--src/sage/matroids/matroid.pyx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index afaa053..e6cefd1 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -3905,14 +3905,14 @@ cdef class Matroid(SageObject):
INPUT:
- - ``N`` -- A ``Matroid``,
- - ``certificate`` -- Boolean (Defalt: ``False``) If true, returns ``frozenset``s
- ``X`` and ``Y`` where ``N`` is isomorphic to ``self.minor(X, Y)``.
+ - ``N`` -- An instance of a ``Matroid`` object,
+ - ``certificate`` -- Boolean (Defalt: ``False``) If ``True``, returns
+ ``True, (X, Y, dic) where ``N`` is isomorphic to ``self.minor(X, Y)``,
+ and ``dic`` is an isomorphism between ``N`` and ``self.minor(X, Y)``.
OUTPUT:
- Boolean,
- and (if ``certificate`` is ``True``,) frozensets ``X``, ``Y``, where ``N`` is isomorphic to ``self.minor(X, Y)``.
+ boolean or tuple.
.. SEEALSO::
@@ -3931,7 +3931,7 @@ cdef class Matroid(SageObject):
False
sage: matroids.named_matroids.NonFano().has_minor(M)
True
- sage: matroids.named_matroids.NonFano().has_minor(M, True)
+ sage: matroids.named_matroids.NonFano().has_minor(M, certificate=True)
(True, (frozenset(), frozenset({'g'})))
"""
if not isinstance(N, Matroid):