diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-09-16 00:07:04 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@upcloud.com> | 2017-12-17 17:37:19 +0200 |
commit | 75b8f7899f0080e99a7793c4b97de07be06af518 (patch) | |
tree | 0680d22b6c03c6e3480b26e19759b2ca161fce74 /babel/core.py | |
parent | 1539c8a89119f37890f46586d705d5a90cc98ae6 (diff) | |
download | babel-75b8f7899f0080e99a7793c4b97de07be06af518.tar.gz |
Python 3.6 invalid escape sequence deprecation fixes
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'babel/core.py')
-rw-r--r-- | babel/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/core.py b/babel/core.py index df03b24..7d38d43 100644 --- a/babel/core.py +++ b/babel/core.py @@ -1118,7 +1118,7 @@ def parse_locale(identifier, sep='_'): def get_locale_identifier(tup, sep='_'): """The reverse of :func:`parse_locale`. It creates a locale identifier out of a ``(language, territory, script, variant)`` tuple. Items can be set to - ``None`` and trailing ``None``\s can also be left out of the tuple. + ``None`` and trailing ``None``\\s can also be left out of the tuple. >>> get_locale_identifier(('de', 'DE', None, '1999')) 'de_DE_1999' |