[merge] LazyFactory
Adeodato Simó
dato at net.com.org.es
Wed Aug 16 06:39:43 BST 2006
* John Arbash Meinel [Tue, 15 Aug 2006 21:45:27 -0500]:
> Now, it doesn't specifically talk about dictionaries there. But that is
> why I was doing:
> if self._first_is_default and not self._dict:
> # set the default
Yeah, I also kept it knowing it was PEP8, but as Robert, I like "not
len(self._dict)" much more.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Let us not be ashamed to speak what we shame not to think.
-- Michel de Montaigne
More information about the bazaar
mailing list