Opened 10 years ago

Last modified 10 years ago

#587 defect closed fixed (fixed)

Confusing error in interface example

Reported by: edsuom Owned by:
Priority: high Milestone:
Component: Keywords: documentation
Cc: hypatia, edsuom Branch:
Author: Launchpad Bug:

Description


Change History (3)

comment:1 Changed 10 years ago by edsuom

http://www.twistedmatrix.com/documents/current/howto/components

In "smart" HairDryer class example:

assert socket.voltage() = 110, "BOOM"

should be

assert adapted.voltage() = 110, "BOOM"

comment:2 Changed 10 years ago by hypatia

This is fixed in the SVN version of Twisted, see
http://svn.twistedmatrix.com/cvs/trunk/doc/core/howto/components.xhtml?view=markup&rev=12975&root=Twisted
, although the version at
http://twistedmatrix.com/documents/current/howto/components won't be updated
until the next release :(

Thanks for the report!

comment:3 Changed 4 years ago by <automation>

  • Owner hypatia deleted
Note: See TracTickets for help on using tickets.