summaryrefslogtreecommitdiff
path: root/babel/core.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-09-16 00:07:04 +0300
committerVille Skyttä <ville.skytta@upcloud.com>2017-12-17 17:37:19 +0200
commit75b8f7899f0080e99a7793c4b97de07be06af518 (patch)
tree0680d22b6c03c6e3480b26e19759b2ca161fce74 /babel/core.py
parent1539c8a89119f37890f46586d705d5a90cc98ae6 (diff)
downloadbabel-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.py2
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'