Mercurial > hgrepos > Python > libs > ConfigMix
changeset 206:5064e3a2e54a
Doc: "configmix.try_determine_filemode()" got additional documentation
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 05 May 2019 16:53:13 +0200 |
| parents | 344da17f01e3 |
| children | b3b5ed34d180 |
| files | configmix/__init__.py |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/__init__.py Sun May 05 16:39:14 2019 +0200 +++ b/configmix/__init__.py Sun May 05 16:53:13 2019 +0200 @@ -138,6 +138,9 @@ Only the first two lines are searched for. + Conveniently to be used in calls to :func:`~.set_assoc` to determine + the file-mode by content instead of filename extension. + """ with io.open(filename, encoding="ascii", errors="replace") as f: idx = 0
