Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 702:58dc57bed012
Typo in docs
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 13 Aug 2023 16:14:39 +0200 |
| parents | 2e7920b0b4d9 |
| children | 193a616e0b3c |
comparison
equal
deleted
inserted
replaced
| 701:de041ec028d7 | 702:58dc57bed012 |
|---|---|
| 273 | 273 |
| 274 | 274 |
| 275 def py_quote(s): | 275 def py_quote(s): |
| 276 """Replace important special characters in string `s` by replacing | 276 """Replace important special characters in string `s` by replacing |
| 277 them with ``%xNN`` where `NN` are the two hexadecimal digits of the | 277 them with ``%xNN`` where `NN` are the two hexadecimal digits of the |
| 278 characters unicode codepoint value. | 278 character's unicode codepoint value. |
| 279 | 279 |
| 280 Handled are the important special chars: ``%``, ``.``, ``:``, | 280 Handled are the important special chars: ``%``, ``.``, ``:``, |
| 281 ``#``; ``'``, ``"``, ``|``, ``{``, ``}``, ``[`` and ``]``. | 281 ``#``; ``'``, ``"``, ``|``, ``{``, ``}``, ``[`` and ``]``. |
| 282 | 282 |
| 283 See also the :ref:`quoting` section. | 283 See also the :ref:`quoting` section. |
