diff options
| author | Michael Merickel <michael@merickel.org> | 2013-11-17 09:37:37 -0800 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-11-17 09:37:37 -0800 |
| commit | e3a1b2c8af41410fdc0bacaf0b695b71078cf0bf (patch) | |
| tree | bf13d3a849854048d998d9b0c139d7f7f4797495 /docs | |
| parent | e697c98813a4acd332da5688867e799adfc9b835 (diff) | |
| parent | fab44e1e402efbf37fc58875974e9ae42827446e (diff) | |
| download | pyramid-e3a1b2c8af41410fdc0bacaf0b695b71078cf0bf.tar.gz pyramid-e3a1b2c8af41410fdc0bacaf0b695b71078cf0bf.tar.bz2 pyramid-e3a1b2c8af41410fdc0bacaf0b695b71078cf0bf.zip | |
Merge pull request #1195 from ztane/master
Should return the simple_tween here, not the handler.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/hooks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 14009a094..f2542f1d7 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -1014,7 +1014,7 @@ You can write the tween factory as a simple closure-returning function: return response - return handler + return simple_tween Alternatively, the tween factory can be a class with the ``__call__`` magic method: |
