]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Fix spelling word into Raise TypeError 449/head
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Wed, 5 Oct 2016 18:56:33 +0000 (15:56 -0300)
committerRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Wed, 5 Oct 2016 18:56:33 +0000 (15:56 -0300)
babel/core.py

index 0b7b4edd5b8de9621288fb210b38806477ede46d..79ce61999d30dd54c096d1f503a9304d217ea1aa 100644 (file)
@@ -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)