File: ro.rst

package info (click to toggle)
zope.interface 8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,512 kB
  • sloc: python: 14,794; ansic: 1,878; makefile: 140
file content (19 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (4)
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