mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +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:
1 parent
e4c2c0f302
commit
d74a5a9ef8
1 file changed
+1
@@ -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