mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
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:
@@ -5,6 +5,7 @@ class BaseProcess:
|
||||
name: str
|
||||
daemon: bool
|
||||
authkey: bytes
|
||||
_identity: Tuple[int, ...] # undocumented
|
||||
def __init__(
|
||||
self,
|
||||
group: None = ...,
|
||||
|
||||
Reference in New Issue
Block a user