summaryrefslogtreecommitdiff
path: root/docs/api/ro.rst
blob: f14192a02536c874dfcecaf1668a8b5dca3058ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
===========================================
 Computing The Resolution Order (Priority)
===========================================

Just as Python classes have a method resolution order that determines
which implementation of a method gets used when inheritance is used,
interfaces have a resolution order that determines their ordering when
searching for adapters.

That order is computed by ``zope.interface.ro.ro``. This is an
internal module not generally needed by a user of ``zope.interface``,
but its documentation can be helpful to understand how orders are
computed.

``zope.interface.ro``
=====================

.. automodule:: zope.interface.ro
   :member-order: alphabetical