Trees | Index | Help |
|
---|
Package zope :: Package interface :: Module verify |
|
Verify interface implementations
$Id: verify.py,v 1.2 2005/06/24 16:52:41 nyergler Exp $Function Summary | |
---|---|
_incompat(required,
implemented)
| |
Verify that 'candidate' might correctly implements 'iface'. | |
verifyClass(iface,
candidate,
tentative)
| |
verifyObject(iface,
candidate,
tentative)
|
Variable Summary | |
---|---|
tuple |
MethodTypes = (<type 'instancemethod'>,)
|
Function Details |
---|
_verify(iface, candidate, tentative=0, vtype=None)Verify that 'candidate' might correctly implements 'iface'. This involves: o Making sure the candidate defines all the necessary methods o Making sure the methods have the correct signature o Making sure the candidate asserts that it implements the interface Note that this isn't the same as verifying that the class does implement the interface. If optional tentative is true, suppress the "is implemented by" test. |
Variable Details |
---|
MethodTypes
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:25 2005 | http://epydoc.sf.net |