Fix return typing

This commit is contained in:
Suren Khorenyan 2018-06-11 00:31:26 +03:00
parent 7e601d1c8d
commit 3adba29c27

View file

@ -43,7 +43,7 @@ class User(base.TelegramObject):
return self.full_name
@property
def locale(self) -> 'babel.core.Locale' or None:
def locale(self) -> babel.core.Locale or None:
"""
Get user's locale