--- a/doc/book/en/devrepo/entityclasses/adapters.rst Thu Feb 02 14:33:30 2012 +0100
+++ b/doc/book/en/devrepo/entityclasses/adapters.rst Mon Jan 23 13:25:02 2012 +0100
@@ -45,9 +45,9 @@
Adapters came with the notion of service identified by the registry identifier
of an adapters, hence dropping the need for explicit interface and the
- :class:`cubicweb.selectors.implements` selector. You should instead use
- :class:`cubicweb.selectors.is_instance` when you want to select on an entity
- type, or :class:`cubicweb.selectors.adaptable` when you want to select on a
+ :class:`cubicweb.predicates.implements` selector. You should instead use
+ :class:`cubicweb.predicates.is_instance` when you want to select on an entity
+ type, or :class:`cubicweb.predicates.adaptable` when you want to select on a
service.
@@ -79,7 +79,7 @@
.. sourcecode:: python
- from cubicweb.selectors import implements
+ from cubicweb.predicates import implements
from cubicweb.interfaces import ITree
from cubicweb.mixins import ITreeMixIn
@@ -97,7 +97,7 @@
.. sourcecode:: python
- from cubicweb.selectors import adaptable, is_instance
+ from cubicweb.predicates import adaptable, is_instance
from cubicweb.entities.adapters import ITreeAdapter
class MyEntityITreeAdapter(ITreeAdapter):