mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Continue improving documentation
This commit is contained in:
@@ -28,7 +28,7 @@ class Final(abc.ABCMeta):
|
||||
|
||||
|
||||
class NoPublicConstructor(Final):
|
||||
def __call__(cls, *args: object, **kwargs: object) -> None:
|
||||
def __call__(cls) -> None:
|
||||
raise TypeError(
|
||||
f"{cls.__module__}.{cls.__qualname__} has no public constructor"
|
||||
)
|
||||
|
Reference in New Issue
Block a user