Skip to content
Myr

Merge pull request #943 from RubenGarcia/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix typo

authored by David Lord · committed by GitHub · parents 9fe9520, a9d557f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/api.rst+1 added-1 removed
378 unmodified lines
379 return 0.0380381 To disallow a method, just override it and raise382 :attr:`~Undefined._undefined_exception`. Because this is a very common383 idom in undefined objects there is the helper method383 idiom in undefined objects there is the helper method384 :meth:`~Undefined._fail_with_undefined_error` that does the error raising385 automatically. Here a class that works like the regular :class:`Undefined`386 but chokes on iteration::387
545 unmodified lines