Mercurial > public > mercurial-scm > hg-stable
diff mercurial/config.py @ 34146:0fa781320203
doctest: bulk-replace string literals with b'' for Python 3
Our code transformer can't rewrite string literals in docstrings, and I
don't want to make the transformer more complex.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 03 Sep 2017 14:32:11 +0900 |
parents | 6a773d3050c9 |
children | c41444a39de2 |
line wrap: on
line diff
--- a/mercurial/config.py Thu Sep 07 22:36:54 2017 +0900 +++ b/mercurial/config.py Sun Sep 03 14:32:11 2017 +0900 @@ -183,7 +183,7 @@ def parselist(value): """parse a configuration value as a list of comma/space separated strings - >>> parselist('this,is "a small" ,test') + >>> parselist(b'this,is "a small" ,test') ['this', 'is', 'a small', 'test'] """