summaryrefslogtreecommitdiff
path: root/docs/modules/errordocument.txt
diff options
context:
space:
mode:
authorMiro Hron?ok <miro@hroncok.cz>2018-06-08 18:49:42 +0200
committerMiro Hron?ok <miro@hroncok.cz>2018-06-08 18:49:42 +0200
commitbb9bdf7e5b5cb0d3458242c5b8ba6134efb282a4 (patch)
treee3f03e7ce1f234e0c91075da6d0b56040f693162 /docs/modules/errordocument.txt
downloadpaste-git-bb9bdf7e5b5cb0d3458242c5b8ba6134efb282a4.tar.gz
Don't raise StopIteration from generator, return instead
See https://www.python.org/dev/peps/pep-0479/
Diffstat (limited to 'docs/modules/errordocument.txt')
-rw-r--r--docs/modules/errordocument.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/modules/errordocument.txt b/docs/modules/errordocument.txt
new file mode 100644
index 0000000..111ac18
--- /dev/null
+++ b/docs/modules/errordocument.txt
@@ -0,0 +1,12 @@
+:mod:`paste.errordocument` -- Do internal redirects for error responses
+=======================================================================
+
+.. automodule:: paste.errordocument
+
+Module Contents
+---------------
+
+.. autoclass:: StatusBasedForward
+.. autofunction:: make_errordocument
+
+