Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use a more suitable Sphinx directive

  • Loading branch information...
commit 231fbba4f9adbe32537bcd1e995022f401117058 1 parent 0d40143
@tshepang tshepang authored
Showing with 3 additions and 7 deletions.
  1. +1 −3 pyramid/config/factories.py
  2. +2 −4 pyramid/interfaces.py
View
4 pyramid/config/factories.py
@@ -182,9 +182,7 @@ def register():
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.
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.