From 55241cc181d016d59a73373942b654ef97f8e45c Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 14 Feb 2013 00:47:24 +0200 Subject: use 'rfc' role to link to the RFCs; this fixes one link, for free --- pyramid/httpexceptions.py | 6 +++--- pyramid/interfaces.py | 6 +++--- 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 -`_: 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 - `_. + """ 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 -- cgit v1.2.3