From f8aca83288afbeea6a78ff1db2787b2a2f808234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jori=20M=C3=A4ntysalo?= Date: Fri, 8 Jul 2016 10:17:36 +0300 Subject: [PATCH] Restructure input-output blocks. --- src/sage/combinat/posets/lattices.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/sage/combinat/posets/lattices.py b/src/sage/combinat/posets/lattices.py index 0c45f246db8..45e0c0409db 100644 --- a/src/sage/combinat/posets/lattices.py +++ b/src/sage/combinat/posets/lattices.py @@ -812,10 +812,15 @@ def is_relatively_complemented(self, certificate=False): INPUT: - - ``certificate``, a Boolean -- If ``False`` (the default), return - only truth value. If ``True``, return either - ``(True, None)`` or ``(False, (a, b, c))``, where `b` is the - only element that covers `a` and is covered by `c`. + - ``certificate`` -- (default: ``False``) Whether to return + a certificate if the lattice is not relatively complemented. + + OUTPUT: + + - If ``certificate=True`` return either ``(True, None)`` or + ``(False, (a, b, c))``, where `b` is the only element that + covers `a` and is covered by `c`. + - If ``certificate=False`` return ``True`` or ``False``. EXAMPLES::