[mnet-devel] Re: [mnet-cvs]693805 ] redefine Truth

Zooko zooko at zooko.com
Sat Apr 26 16:04:22 BST 2003


> Log Message:
> [ 693805 ] redefine Truth
...
> -true = 1
> -false = 0 
> +True = 1==1
> +False = 1==0

The coding standard specifies that it should be:

> +True = 1 == 1
> +False = 1 == 0

In fact, we follow PEP 8 in this regard, which specifies that "==" is *always* 
surrounded by spaces.

http://www.python.org/peps/pep-0008.html

See the part of PEP 8 about "Whitespace in Expressions and Statements".

--Z



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list