mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add CAN_RAW_JOIN_FILTERS constant to socket stub (#6159)
This constant has been added in python 3.9.
This commit is contained in:
@@ -325,6 +325,7 @@ if sys.platform == "linux" and sys.version_info >= (3, 7):
|
||||
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
CAN_J1939: int
|
||||
CAN_RAW_JOIN_FILTERS: int
|
||||
|
||||
J1939_MAX_UNICAST_ADDR: int
|
||||
J1939_IDLE_ADDR: int
|
||||
|
||||
@@ -341,6 +341,7 @@ if sys.platform == "linux" and sys.version_info >= (3, 8):
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
from _socket import (
|
||||
CAN_J1939 as CAN_J1939,
|
||||
CAN_RAW_JOIN_FILTERS as CAN_RAW_JOIN_FILTERS,
|
||||
J1939_EE_INFO_NONE as J1939_EE_INFO_NONE,
|
||||
J1939_EE_INFO_TX_ABORT as J1939_EE_INFO_TX_ABORT,
|
||||
J1939_FILTER_MAX as J1939_FILTER_MAX,
|
||||
|
||||
Reference in New Issue
Block a user