diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-02-09 14:18:21 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-02-09 14:19:18 +0200 |
| commit | 231fbba4f9adbe32537bcd1e995022f401117058 (patch) | |
| tree | d129f8d90e074aee08b8cf623b0dd8d79e85c6bc | |
| parent | 0d40143635c5a248453b881247db66d2ba1f8d00 (diff) | |
| download | pyramid-231fbba4f9adbe32537bcd1e995022f401117058.tar.gz pyramid-231fbba4f9adbe32537bcd1e995022f401117058.tar.bz2 pyramid-231fbba4f9adbe32537bcd1e995022f401117058.zip | |
use a more suitable Sphinx directive
| -rw-r--r-- | pyramid/config/factories.py | 4 | ||||
| -rw-r--r-- | pyramid/interfaces.py | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/pyramid/config/factories.py b/pyramid/config/factories.py index ef7975d92..d30df3b74 100644 --- a/pyramid/config/factories.py +++ b/pyramid/config/factories.py @@ -182,9 +182,7 @@ class FactoriesConfiguratorMixin(object): def set_request_property(self, callable, name=None, reify=False): """ Add a property to the request object. - .. warning:: - - This method has been docs-deprecated as of Pyramid 1.4. + .. deprecated:: 1.4 :meth:`pyramid.config.Configurator.add_request_method` should be used instead. diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index 54bce6fd2..8c5f46105 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -744,10 +744,8 @@ class IResourceURL(Interface): class IContextURL(IResourceURL): """ An adapter which deals with URLs related to a context. - ..warning:: - - This interface is deprecated as of Pyramid 1.3 with the introduction of - IResourceURL. + .. deprecated:: 1.3 + use IResourceURL instead. """ # this class subclasses IResourceURL because request.resource_url looks # for IResourceURL via queryAdapter. queryAdapter will find a deprecated |
