#18949: a doc typo in graph.py
-------------------------+-------------------------------------------------
Reporter: | Owner:
chapoton | Status: positive_review
Type: | Milestone: sage-6.8
enhancement | Resolution:
Priority: minor | Merged in:
Component: graph | Reviewers: Nathann Cohen
theory | Work issues:
Keywords: | Commit:
Authors: | 3b9cb9c7eccebbe96da6e08a0fd779fa53842ae6
Frédéric Chapoton | Stopgaps:
Report Upstream: N/A |
Branch: |
u/chapoton/18949 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by wluebbe):
Maybe this citation from PEP 8 (https://www.python.org/dev/peps/pep-0008/)
applies:
{{{
Don't compare boolean values to True or False using == .
Yes: if greeting:
No: if greeting == True:
Worse: if greeting is True:
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18949#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.