Michael Merickel
2017-06-07 fb98aa8eaab53a855917f2700d511bf73b8baf98
add versionadded directive for invoke_exception_view
1 files modified
5 ■■■■ changed files
pyramid/view.py 5 ●●●● patch | view | raw | blame | history
pyramid/view.py
@@ -657,8 +657,11 @@
        This method returns a :term:`response` object or raises
        :class:`pyramid.httpexceptions.HTTPNotFound` if a matching view cannot
        be found."""
        be found.
        .. versionadded:: 1.7
        """
        if request is None:
            request = self
        registry = getattr(request, 'registry', None)