mark wrote: > Hmm, I'm not sure I follow. >=20 > This is Python without the PEP: >=20 > falseValues =3D [{}, [], 0, None] > for x in falseValues: > if not x: > print "%s is 'false'." % x >=20 > This is Python with the PEP: >=20 > falseValues =3D [{}, [], 0, None, False] > for x in falseValues: > if not x: > print "%s is 'false'." % x >=20 > I don't see this vast conceptual chasm between pre and post PEP that = you > appear to see. Please help me understand. can you explain how your second example covers everything that's in the PEP? can you explain why the second version is "better", in any sense of that word? </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4