Minor improvement of comments for SimpleCnf
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 2 Dec 2019 12:12:34 +0000 (13:12 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 13 Feb 2020 15:14:43 +0000 (16:14 +0100)
src/simple_cnf.py

index 9d9958d..bd43ccb 100644 (file)
@@ -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
         """