# HG changeset patch # User Franz Glasner # Date 1557067993 -7200 # Node ID 5064e3a2e54aaecf0421310d8597bbd8d85ca41b # Parent 344da17f01e35d397c741b4336533b091039930b Doc: "configmix.try_determine_filemode()" got additional documentation diff -r 344da17f01e3 -r 5064e3a2e54a configmix/__init__.py --- 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