LogoopenSUSE Build Service > Projects
Sign Up | Log In

Zope hookable

Hookable object support.

Support the efficient creation of hookable objects, which are callable objects that are meant to be replaced by other callables, at least optionally.

The idea is 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.

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions

Comments for home:marec2000:python:ports (0)

Login required, please login or signup in order to comment