Mercurial > hgrepos > Python > libs > ConfigMix
comparison docs/introduction.rst @ 354:bd28fb4565e1
FIX: Tagging of the KeyError: :py:exception: -> :py:exc:
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 24 Jun 2021 19:41:44 +0200 |
| parents | a7491f835cb0 |
| children | baedd2031074 |
comparison
equal
deleted
inserted
replaced
| 353:a7491f835cb0 | 354:bd28fb4565e1 |
|---|---|
| 417 | 417 |
| 418 ``upper`` | 418 ``upper`` |
| 419 | 419 |
| 420 Also available are special filter functions ``None`` and ``Empty``. | 420 Also available are special filter functions ``None`` and ``Empty``. |
| 421 They are useful in variable interpolation context because they | 421 They are useful in variable interpolation context because they |
| 422 suppress possible lookup errors (aka :py:exception:`KeyError`) and | 422 suppress possible lookup errors (aka :py:exc:`KeyError`) and instead |
| 423 instead return with :py:obj:`None` or an empty string. | 423 return with :py:obj:`None` or an empty string. |
| 424 | 424 |
| 425 | 425 |
| 426 Examples | 426 Examples |
| 427 ~~~~~~~~ | 427 ~~~~~~~~ |
| 428 | 428 |
