From a9d557f6fa2915e7374c081d6b9a3d0b69a7c1f8 Mon Sep 17 00:00:00 2001 From: Ruben Garcia Date: Fri, 8 Feb 2019 11:18:06 +0100 Subject: [PATCH] Fix typo --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:: -- 2.47.2