Skip to content

Commit 6c1255f

Browse files
consistent protcol definition
1 parent 4e6f432 commit 6c1255f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

asyncstdlib/_typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858

5959
# bool(...)
6060
class SupportsBool(Protocol):
61-
def __bool__(self) -> bool: ...
61+
def __bool__(self) -> bool:
62+
raise NotImplementedError
6263

6364

6465
# LT < LT

0 commit comments

Comments
 (0)