Skip to content

Commit 63ac44b

Browse files
committed
Fix TypeError due to IntEnum also in http11
1 parent 7aaeaef commit 63ac44b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

httpcore/_async/http11.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
]
3434

3535

36-
class HTTPConnectionState(enum.IntEnum):
36+
class HTTPConnectionState(enum.Enum):
3737
NEW = 0
3838
ACTIVE = 1
3939
IDLE = 2

httpcore/_sync/http11.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
]
3434

3535

36-
class HTTPConnectionState(enum.IntEnum):
36+
class HTTPConnectionState(enum.Enum):
3737
NEW = 0
3838
ACTIVE = 1
3939
IDLE = 2

0 commit comments

Comments
 (0)