dict1 < dict2 <=> len(dict1) <= len(dict2) ?
Chris Liechti
cliechti at gmx.net
Fri Oct 18 15:58:43 EDT 2002
Thorsten Kampe <thorsten at thorstenkampe.de> wrote in news:aopn8p$p072h$1 at ID-
77524.news.dfncis.de:
> does anyone know what "dict1 < dict2" tests?
short answer: "don't do that!"
reason: "explicit is better than implicit"
if you don't know it, why should any one else know when he/she reviews your
code...
>>> import this
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list