Commits

Anonymous committed 34d15a7

Update docstrings in errordocument.py

  • Participants
  • Parent commits aa7819a
  • Tags 0.5

Comments (0)

Files changed (1)

File paste/errordocument.py

         app = RecursiveMiddleware(app)
         
         # Set up the error document forwarding
-        from paste.error_document import forward
+        from paste.errordocument import forward
         app = forward(app, codes={404:'/error404.html'})
         
     """
     If you wanted to write an application to handle all your error docuemnts
     in a consitent way you might do this::
     
-        from paste.error_document import custom_forward
+        from paste.errordocument import custom_forward
         from paste.recursive import RecursiveMiddleware
         from urllib import urlencode
         
     Example
     -------
     
-    For example the ``paste.error_document.forward`` middleware actaully
+    For example the ``paste.errordocument.forward`` middleware actaully
     uses ``custom_forward``. It looks like this::
     
     def forward(app, codes):