Skip to content

Commit d74a5a9

Browse files
authored
Add undocumented attribute multiprocessing.process.BaseProcess._identity (#6041)
A user filed an issue against pytype about this attribute being missing: google/pytype#1010. I determined its type from the source code: https://github.com/python/cpython/blob/3.9/Lib/multiprocessing/process.py.
1 parent e4c2c0f commit d74a5a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/multiprocessing/process.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class BaseProcess:
55
name: str
66
daemon: bool
77
authkey: bytes
8+
_identity: Tuple[int, ...] # undocumented
89
def __init__(
910
self,
1011
group: None = ...,

0 commit comments

Comments
 (0)