##// END OF EJS Templates
ui: add configlist doctest to document a bit more of the whitespace behavior...
Augie Fackler -
r34958:58e7791e default
parent child Browse files
Show More
@@ -695,6 +695,9 b' class ui(object):'
695 >>> u.setconfig(s, b'list1', b'this,is "a small" ,test')
695 >>> u.setconfig(s, b'list1', b'this,is "a small" ,test')
696 >>> u.configlist(s, b'list1')
696 >>> u.configlist(s, b'list1')
697 ['this', 'is', 'a small', 'test']
697 ['this', 'is', 'a small', 'test']
698 >>> u.setconfig(s, b'list2', b'this, is "a small" , test ')
699 >>> u.configlist(s, b'list2')
700 ['this', 'is', 'a small', 'test']
698 """
701 """
699 # default is not always a list
702 # default is not always a list
700 v = self.configwith(config.parselist, section, name, default,
703 v = self.configwith(config.parselist, section, name, default,
General Comments 0
You need to be logged in to leave comments. Login now