We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2537fcf commit c5f2c8bCopy full SHA for c5f2c8b
1 file changed
stubs/psutil/psutil/_pslinux.pyi
@@ -3,7 +3,6 @@ import sys
3
if sys.platform == "linux":
4
import enum
5
import re
6
- import socket
7
from _typeshed import FileDescriptorOrPath, Incomplete
8
from collections import defaultdict
9
from collections.abc import Callable, Generator, Sequence
@@ -52,7 +51,7 @@ if sys.platform == "linux":
52
51
DISK_SECTOR_SIZE: Final = 512
53
54
class AddressFamily(enum.IntEnum):
55
- AF_LINK = socket.AF_PACKET
+ AF_LINK: Final[int]
56
57
AF_LINK: Final = AddressFamily.AF_LINK
58
0 commit comments