mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 11:21:19 +08:00
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -13,9 +13,9 @@ from ..warnings import SetuptoolsWarning
|
||||
_WheelFile: TypeAlias = Incomplete
|
||||
|
||||
class _EditableMode(Enum):
|
||||
STRICT: str
|
||||
LENIENT: str
|
||||
COMPAT: str
|
||||
STRICT = "strict"
|
||||
LENIENT = "lenient"
|
||||
COMPAT = "compat"
|
||||
@classmethod
|
||||
def convert(cls, mode: str | None) -> _EditableMode: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user