[Twisted-Python] Interface documentation

Itamar Shtull-Trauring lists at itamarst.org
Wed Oct 3 13:01:21 EDT 2001


Oh yes, next you ask - what is this good for?

Well, you can mark a class as supporting a specific interface, and I have 
some unit testing code that makes sure that the class's methods have the 
same signatures as the interface's methods. And this way the docstrings for 
a specific interface are together in one one place.






More information about the Twisted-Python mailing list