diff options
| -rw-r--r-- | pyramid/request.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pyramid/request.py b/pyramid/request.py index 0c433b5af..8fe0afe37 100644 --- a/pyramid/request.py +++ b/pyramid/request.py @@ -19,14 +19,13 @@ class Request(WebobRequest): view callable (and to other subsystems) as the ``request`` argument. - The documentation below (save for the ``add_response_callback`` - and ''add_finished_callback`` methods, which are defined in this - subclass itself, and the attributes ``context``, ``registry``, - ``root``, ``subpath``, ``traversed``, ``view_name``, - ``virtual_root`` , and ``virtual_root_path``, each of which is - added to the request at by the :term:`router` at request ingress - time) are autogenerated from the WebOb source code used when this - documentation was generated. + The documentation below (save for the ``add_response_callback`` and + ''add_finished_callback`` methods, which are defined in this subclass + itself, and the attributes ``context``, ``registry``, ``root``, + ``subpath``, ``traversed``, ``view_name``, ``virtual_root`` , and + ``virtual_root_path``, each of which is added to the request by the + :term:`router` at request ingress time) are autogenerated from the WebOb + source code used when this documentation was generated. Due to technical constraints, we can't yet display the WebOb version number from which this documentation is autogenerated, but @@ -170,7 +169,7 @@ class Request(WebobRequest): # b/c dict interface for "root factory" code that expects a bare # environ. Explicitly omitted dict methods: clear (unnecessary), # copy (implemented by WebOb), fromkeys (unnecessary) - + def __contains__(self, k): return self.environ.__contains__(k) @@ -224,7 +223,7 @@ class Request(WebobRequest): def route_request_iface(name, bases=()): iface = InterfaceClass('%s_IRequest' % name, bases=bases) - # for exception view lookups + # for exception view lookups iface.combined = InterfaceClass('%s_combined_IRequest' % name, bases=(iface, IRequest)) return iface |
