A convenience method which fetches the specified value, guaranteeing that it is a list.
>>> a = ConfigObj() >>> a['a'] = 1 >>> a.as_list('a') [1] >>> a['a'] = (1,) >>> a.as_list('a') [1] >>> a['a'] = [1] >>> a.as_list('a') [1]
Enter search terms or a module, class or function name.