Continue improving documentation

This commit is contained in:
Lonami Exo
2023-10-16 20:12:16 +02:00
parent 04806a2a4a
commit 0727c1d1f1
6 changed files with 82 additions and 33 deletions

View File

@@ -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"
)