No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src/zope
.coveragerc
.gitignore
.travis.yml
CHANGES.rst
COPYRIGHT.txt
LICENSE.txt
MANIFEST.in
README.rst
appveyor.yml
bootstrap.py
buildout.cfg
setup.cfg
setup.py
tox.ini

README.rst

zope.hookable

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.hookable.svg?branch=master Documentation Status https://coveralls.io/repos/github/zopefoundation/zope.hookable/badge.svg?branch=master

This package supports the efficient creation of "hookable" objects, which are callable objects that are meant to be optionally replaced.

The idea is that you create a function that does some default thing and make it hookable. Later, someone can modify what it does by calling its sethook method and changing its implementation. All users of the function, including those that imported it, will see the change.

Documentation is hosted at https://zopehookable.readthedocs.io