Ajout type contrat

This commit is contained in:
2026-04-29 11:52:03 +02:00
parent 375549cb30
commit 1c0e4c3048
10530 changed files with 1842149 additions and 158 deletions

View File

@@ -0,0 +1,17 @@
__all__ = ["_CopyMode", "_NoValue"]
import enum
from typing import Final, final
@final
class _CopyMode(enum.Enum):
ALWAYS = True
NEVER = False
IF_NEEDED = 2
def __bool__(self, /) -> bool: ...
@final
class _NoValueType: ...
_NoValue: Final[_NoValueType] = ...