summaryrefslogtreecommitdiff
path: root/babel
diff options
context:
space:
mode:
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>2016-10-05 15:56:33 -0300
committerRodrigo Ramírez Norambuena <a@rodrigoramirez.com>2016-10-05 15:56:33 -0300
commit607abb2e227d5b91ca6f5d7f8fbe82be61239186 (patch)
treed23982be5098c23e7bbc372ba6d0923f41462696 /babel
parent903898f97d1010f5bf39b6b6d7e153fc6c2cc15b (diff)
downloadbabel-607abb2e227d5b91ca6f5d7f8fbe82be61239186.tar.gz
Fix spelling word into Raise TypeError
Diffstat (limited to 'babel')
-rw-r--r--babel/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/core.py b/babel/core.py
index 0b7b4ed..79ce619 100644
--- a/babel/core.py
+++ b/babel/core.py
@@ -262,7 +262,7 @@ class Locale(object):
elif isinstance(identifier, Locale):
return identifier
elif not isinstance(identifier, string_types):
- raise TypeError('Unxpected value for identifier: %r' % (identifier,))
+ raise TypeError('Unexpected value for identifier: %r' % (identifier,))
parts = parse_locale(identifier, sep=sep)
input_id = get_locale_identifier(parts)