From: Ruben Garcia Date: Fri, 8 Feb 2019 10:18:06 +0000 (+0100) Subject: Fix typo X-Git-Tag: 2.11.0~100^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F943%2Fhead;p=thirdparty%2Fjinja.git Fix typo --- diff --git a/docs/api.rst b/docs/api.rst index 47760e36..ff0e3b21 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -380,7 +380,7 @@ Undefined objects are created by calling :attr:`undefined`. To disallow a method, just override it and raise :attr:`~Undefined._undefined_exception`. Because this is a very common - idom in undefined objects there is the helper method + idiom in undefined objects there is the helper method :meth:`~Undefined._fail_with_undefined_error` that does the error raising automatically. Here a class that works like the regular :class:`Undefined` but chokes on iteration::