> (yield resultset[10:20]).sort(Sort.ASC)
>
> assuming a new enough version of Python.

I wonder if it a good idea to subclass Deferred and define __call__()
for it, making it attach callbacks to itself.
Theoretically should work in earlier versions and make the syntax look
more transparent.

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to