Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abff4bf

Browse files
narumi147BoboTiG
authored andcommitted
doc: fix the type annotation of srcdc_dict
1 parent 7f98b6a commit abff4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mss/windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class MSS(MSSBase):
7676
memdc = None
7777

7878
# A dict to maintain *srcdc* values created by multiple threads.
79-
srcdc_dict = {} # type: Dict[int, Any]
79+
srcdc_dict = {} # type: Dict[threading.Thread, int]
8080

8181
# A threading lock to lock resources(bmp/memdc/srcdc) inside .grab() method.
8282
_lock = threading.Lock()

0 commit comments

Comments
 (0)