add socket.AF_DECnet value (#13172)

This commit is contained in:
Stephen Morton
2024-12-03 00:08:49 -08:00
committed by GitHub
parent d9e5333ab8
commit c606b4f8ad
2 changed files with 1 additions and 5 deletions

View File

@@ -146,9 +146,6 @@ wave.Wave_write.initfp
# Platform and installation differences
# ==========
# Platform differences that cannot be captured by the type system
socket.AF_DECnet
# sys attributes that are not always defined
sys.gettotalrefcount # Available on python debug builds
sys.last_traceback

View File

@@ -1046,7 +1046,6 @@ class AddressFamily(IntEnum):
AF_INET = 2
AF_INET6 = 10
AF_APPLETALK = 5
AF_DECnet = ...
AF_IPX = 4
AF_SNA = 22
AF_UNSPEC = 0
@@ -1096,7 +1095,7 @@ class AddressFamily(IntEnum):
AF_INET = AddressFamily.AF_INET
AF_INET6 = AddressFamily.AF_INET6
AF_APPLETALK = AddressFamily.AF_APPLETALK
AF_DECnet = AddressFamily.AF_DECnet
AF_DECnet: Literal[12]
AF_IPX = AddressFamily.AF_IPX
AF_SNA = AddressFamily.AF_SNA
AF_UNSPEC = AddressFamily.AF_UNSPEC