[Twisted-Python] My pet peeve ugly coding style

Tommi Virtanen tv at twistedmatrix.com
Thu Jul 10 08:17:32 MDT 2003


On Thu, Jul 10, 2003 at 12:41:25PM -0000, Moshe Zadka wrote:
> checkHosts(('moshez.org', 25), ('moshez.org', 22)
> ).addCallback(util.println
> ).addCallback(lambda _: reactor.stop())

	*vomit*

d = checkHosts(('moshez.org', 25), ('moshez.org', 22))
d.addCallback(util.println)
d.addCallback(lambda _: reactor.stop())

	anyone?

-- 
:(){ :|:&};:




More information about the Twisted-Python mailing list