From 6ac093dfeb24bd3e32ccd66c3c4ae0448c006e87 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Mon, 2 Dec 2019 13:12:34 +0100 Subject: [PATCH] Minor improvement of comments for SimpleCnf --- src/simple_cnf.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/simple_cnf.py b/src/simple_cnf.py index 9d9958d..bd43ccb 100644 --- a/src/simple_cnf.py +++ b/src/simple_cnf.py @@ -229,13 +229,17 @@ class SimpleCnf(object): Based on C++ `cnf_vars` as visualized by *get_cnf*. - Internal data representation: see module doc + Internal data representation: list of conf var dicts; see module doc for + details """ def __init__(self, cnf=None): """ Creates a simple configuration. + Does not check whether given cnf list contains only valid data. + Does not recurse into dicts. + :param cnf: initial set of conf var data (default: None = empty conf) :type cnf: list or anything that :py:func:`get_cnf` can read """ -- 1.7.1