blob: 21fc00f389563f58e7ea66d0de8459ced9b10143 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
This package builds on the object adaptation protocol presented in PEP
246 to make it easier for component authors, framework suppliers, and
other developers to:
* Specify what behavior a component requires or provides
* Specify how to adapt the interface provided by one component to
that required by another
* Specify how to adapt objects of a particular type or class (even
built-in types) to a particular required interface
* Automatically adapt a supplied object to a required interface,
and
* Do all of the above, even when the components or frameworks
involved were not written to take advantage of this package, and
even if the frameworks have different mechanisms for defining
interfaces.
WWW: http://peak.telecommunity.com/PyProtocols.html
|