summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-08-04 17:02:47 +0000
committerChris McDonough <chrism@agendaless.com>2009-08-04 17:02:47 +0000
commit0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7 (patch)
tree00f4d7cab03cf86cc192906dacc0a8079eebae9b /docs
parentff65a5a7b6177759191071be8790d02bd4c0ce8e (diff)
downloadpyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.tar.gz
pyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.tar.bz2
pyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.zip
- Allow ``repoze.bfg.traversal.find_interface`` API to use a class
object as the argument to compare against the ``model`` passed in. This means you can now do ``find_interface(model, SomeClass)`` and the first object which is found in the lineage which has ``SomeClass`` as its class (or the first object found which has ``SomeClass`` as any of its superclasses) will be returned.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions