[Twisted-Python] Beginners confusion on components tutorial

Andrew Bennetts andrew-twisted at puzzling.org
Tue Jan 4 17:20:40 EST 2005


On Tue, Jan 04, 2005 at 11:04:20PM +0100, Michael Lang wrote:
[...]
> 
> as my understanding of this the example code of the HairDryer Class
> is wrong, as it should call
> "assert socket.voltage() == 110, 'BOOM'" 
> as
> "assert adapted.voltage() == 110, 'BOOM'"
> 
> which makes the example work as expected.

Known bug, fixed in SVN:
    http://twistedmatrix.com/users/warner/doc-latest/core/howto/components.html

Now's probably a good time to remind people that you can see the development
version of the howtos here, updated after every commit:
    http://twistedmatrix.com/users/warner/doc-latest/

-Andrew.





More information about the Twisted-Python mailing list