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.
This commit is contained in:
Rebecca Chen
2021-09-17 13:14:07 -07:00
committed by GitHub
parent e4c2c0f302
commit d74a5a9ef8

View File

@@ -5,6 +5,7 @@ class BaseProcess:
name: str
daemon: bool
authkey: bytes
_identity: Tuple[int, ...] # undocumented
def __init__(
self,
group: None = ...,