diff options
author | Aarni Koskela <akx@iki.fi> | 2018-01-19 13:39:07 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2018-01-19 17:44:26 +0200 |
commit | bd2ac889827f55fc6d48b3e63fa38e3c090f8892 (patch) | |
tree | a1bc5de9f712463cad5d95c9acd03a92041b1223 /babel/core.py | |
parent | ff7e3d2e74ff2c271294ae850f5fa139ce981488 (diff) | |
download | babel-bd2ac889827f55fc6d48b3e63fa38e3c090f8892.tar.gz |
Lists: add support for various list styles other than the default
This was inspired by the CLDR 32 release notes:
> New “disjunctive” list style (eg “a, b, or c”)
Diffstat (limited to 'babel/core.py')
-rw-r--r-- | babel/core.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/babel/core.py b/babel/core.py index 5a9091f..5a1a912 100644 --- a/babel/core.py +++ b/babel/core.py @@ -857,11 +857,11 @@ class Locale(object): .. note:: The format of the value returned may change between Babel versions. - >>> Locale('en').list_patterns['start'] + >>> Locale('en').list_patterns['standard']['start'] u'{0}, {1}' - >>> Locale('en').list_patterns['end'] + >>> Locale('en').list_patterns['standard']['end'] u'{0}, and {1}' - >>> Locale('en_GB').list_patterns['end'] + >>> Locale('en_GB').list_patterns['standard']['end'] u'{0} and {1}' """ return self._data['list_patterns'] |