From 607abb2e227d5b91ca6f5d7f8fbe82be61239186 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Wed, 5 Oct 2016 15:56:33 -0300 Subject: [PATCH] Fix spelling word into Raise TypeError --- babel/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel/core.py b/babel/core.py index 0b7b4edd..79ce6199 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) -- 2.47.2