summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-14 00:47:24 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-03-05 01:52:29 +0200
commit55241cc181d016d59a73373942b654ef97f8e45c (patch)
tree70b98c6b19f20dd0fdadd3d99faa48252e5fcd3b
parent21264e3ed45fda41fb608ea4f69948aa9f9430c1 (diff)
downloadpyramid-55241cc181d016d59a73373942b654ef97f8e45c.tar.gz
pyramid-55241cc181d016d59a73373942b654ef97f8e45c.tar.bz2
pyramid-55241cc181d016d59a73373942b654ef97f8e45c.zip
use 'rfc' role to link to the RFCs; this fixes one link, for free
-rw-r--r--pyramid/httpexceptions.py6
-rw-r--r--pyramid/interfaces.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py
index 64afc346a..4e351bf68 100644
--- a/pyramid/httpexceptions.py
+++ b/pyramid/httpexceptions.py
@@ -7,9 +7,9 @@ single HTTP status code. Each class is a subclass of the
:class:`~HTTPException`. Each exception class is also a :term:`response`
object.
-Each exception class has a status code according to `RFC 2068
-<http://www.ietf.org/rfc/rfc2068.txt>`_: codes with 100-300 are not really
-errors; 400s are client errors, and 500s are server errors.
+Each exception class has a status code according to :rfc:`2068`:
+codes with 100-300 are not really errors; 400s are client errors,
+and 500s are server errors.
Exception
HTTPException
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py
index 0a5ec9588..4fb4d615c 100644
--- a/pyramid/interfaces.py
+++ b/pyramid/interfaces.py
@@ -57,9 +57,9 @@ class IApplicationCreated(Interface):
IWSGIApplicationCreatedEvent = IApplicationCreated # b /c
class IResponse(Interface):
- """ Represents a WSGI response using the WebOb response interface. Some
- attribute and method documentation of this interface references `RFC 2616
- <http://www.w3.org/Protocols/rfc2616/>`_.
+ """ Represents a WSGI response using the WebOb response interface.
+ Some attribute and method documentation of this interface references
+ :rfc:`2616`.
This interface is most famously implemented by
:class:`pyramid.response.Response` and the HTTP exception classes in