File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -969,6 +969,21 @@ if sys.platform != "linux":
969969if sys .platform != "darwin" and sys .platform != "linux" :
970970 __all__ += ["AF_BLUETOOTH" ]
971971
972+ if sys .platform != "win32" and sys .platform != "darwin" and sys .platform != "linux" :
973+ from _socket import BTPROTO_HCI as BTPROTO_HCI , BTPROTO_L2CAP as BTPROTO_L2CAP , BTPROTO_SCO as BTPROTO_SCO
974+
975+ __all__ += ["BTPROTO_HCI" , "BTPROTO_L2CAP" , "BTPROTO_SCO" ]
976+
977+ if sys .platform != "win32" and sys .platform != "darwin" and sys .platform != "linux" :
978+ from _socket import HCI_DATA_DIR as HCI_DATA_DIR , HCI_FILTER as HCI_FILTER , HCI_TIME_STAMP as HCI_TIME_STAMP
979+
980+ __all__ += ["HCI_FILTER" , "HCI_TIME_STAMP" , "HCI_DATA_DIR" ]
981+
982+ if sys .version_info >= (3 , 11 ) and sys .platform != "linux" and sys .platform != "win32" and sys .platform != "darwin" :
983+ from _socket import LOCAL_CREDS as LOCAL_CREDS , LOCAL_CREDS_PERSISTENT as LOCAL_CREDS_PERSISTENT , SCM_CREDS2 as SCM_CREDS2
984+
985+ __all__ += ["SCM_CREDS2" , "LOCAL_CREDS" , "LOCAL_CREDS_PERSISTENT" ]
986+
972987if sys .platform == "win32" and sys .version_info >= (3 , 12 ):
973988 __all__ += ["AF_HYPERV" ]
974989
You can’t perform that action at this time.
0 commit comments