On Wed, May 17, 2017 at 12:32:47PM -0700, Volker Braun wrote:
>    I'd try to avoid the entire construct; Its the linguistic equivalent of
>    if condition:
>         return True
>    else:
>        return False
>    Just say "Test condition" in the docstring.

Yes, I agree!!! If we want to stick to the "Return ..." idiom, an
alternative is to say "Return whether <condition>".

I guess that's slightly off topic though; I imagine this sentence was
just meant as one example where ``True`` could appear in our doc.

For how to typeset True/False/None/... when we need to spell them out
explicitly, as already suggested, I would be in favor of :obj:`True`.

Cheers,
                Nicolas
--
Nicolas M. ThiĆ©ry "Isil" <[email protected]>
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to