From d74a5a9ef869eab4fba8d35ea0bf41a9b9f6786a Mon Sep 17 00:00:00 2001 From: Rebecca Chen Date: Fri, 17 Sep 2021 13:14:07 -0700 Subject: [PATCH] Add undocumented attribute multiprocessing.process.BaseProcess._identity (#6041) A user filed an issue against pytype about this attribute being missing: https://github.com/google/pytype/issues/1010. I determined its type from the source code: https://github.com/python/cpython/blob/3.9/Lib/multiprocessing/process.py. --- stdlib/multiprocessing/process.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/multiprocessing/process.pyi b/stdlib/multiprocessing/process.pyi index 249ff712e..32c22d19f 100644 --- a/stdlib/multiprocessing/process.pyi +++ b/stdlib/multiprocessing/process.pyi @@ -5,6 +5,7 @@ class BaseProcess: name: str daemon: bool authkey: bytes + _identity: Tuple[int, ...] # undocumented def __init__( self, group: None = ...,