- Timestamp:
- 28 Jun 2009, 00:05:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/university/certificate.txt
r4383 r4384 229 229 >>> mycertificate 230 230 <waeup.university.certificate.Certificate object at 0x...> 231 232 The factory complies with the specifications from the 233 :class:`IFactory` insterface: 234 235 >>> from zope.interface.verify import verifyClass 236 >>> from zope.component.interfaces import IFactory 237 >>> from waeup.university.certificate import CertificateFactory 238 >>> verifyClass(IFactory, CertificateFactory) 239 True 240 241 This means also, that we can get the interfaces of the created 242 object from the factory: 243 244 >>> certificate_factory = CertificateFactory() 245 >>> certificate_factory.getInterfaces() 246 <implementedBy waeup.university.certificate.Certificate> 247 231 248 232 249 Event Subscribers
Note: See TracChangeset for help on using the changeset viewer.