Change NotImplemented to NotImplementedError

This commit is contained in:
deepsource-autofix[bot] 2020-11-08 21:39:21 +00:00 committed by GitHub
parent e498a661b9
commit 6224a232ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ class TelegramObject(ContextInstanceMixin, metaclass=MetaTelegramObject):
@classmethod
def create(cls: typing.Type[T], *args: typing.Any, **kwargs: typing.Any) -> T:
raise NotImplemented
raise NotImplementedError
def __str__(self) -> str:
"""