Fix various __all__-related typos and omissions (#7378)

This commit is contained in:
Alex Waygood
2022-02-25 13:10:00 +00:00
committed by GitHub
parent f4b43daba0
commit d2ddda00cf
8 changed files with 14 additions and 7 deletions

View File

@@ -10,6 +10,9 @@ if sys.platform == "win32":
__all__ = ("pipe", "Popen", "PIPE", "PipeHandle")
else:
__all__ = ["socketpair", "pipe", "Popen", "PIPE", "PipeHandle"]
import socket
socketpair = socket.socketpair
class _WarnFunction(Protocol):
def __call__(