From 6440b122a2282aa78fd73f808293bd6adeb17920 Mon Sep 17 00:00:00 2001 From: Simon Kallweit Date: Tue, 24 Sep 2024 17:36:48 +0200 Subject: [PATCH] update pyi reference --- tests/test_enum_ext.pyi.ref | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test_enum_ext.pyi.ref b/tests/test_enum_ext.pyi.ref index dbe89957..37844391 100644 --- a/tests/test_enum_ext.pyi.ref +++ b/tests/test_enum_ext.pyi.ref @@ -100,11 +100,8 @@ def from_enum_implicit(arg: Enum, /) -> int: ... @overload def from_enum_implicit(arg: Flag, /) -> int: ... -@overload def to_enum(arg: int, /) -> Enum: ... -@overload -def to_enum(arg: int, /) -> Flag: ... +def to_flag(arg: int, /) -> Flag: ... -@overload -def to_enum(arg: int, /) -> UnsignedFlag: ... +def to_unsigned_flag(arg: int, /) -> UnsignedFlag: ...