@@ -152,7 +152,7 @@ def _set_cfunctions(self):
152152 ) # type: ignore
153153
154154 def _set_dpi_awareness (self ):
155- """ Set DPI aware to capture full screen on Hi-DPI monitors. """
155+ """ Set DPI awareness to capture full screen on Hi-DPI monitors. """
156156
157157 version = sys .getwindowsversion ()[:2 ] # pylint: disable=no-member
158158 if version >= (6 , 3 ):
@@ -169,7 +169,7 @@ def _set_dpi_awareness(self):
169169 def _get_srcdc (self ):
170170 """
171171 Retrieve a thread-safe HDC from GetWindowDC().
172- In multithreading, if the thread who creates *srcdc* is dead, *srcdc* will
172+ In multithreading, if the thread that creates *srcdc* is dead, *srcdc* will
173173 no longer be valid to grab the screen. The *srcdc* attribute is replaced
174174 with *_srcdc_dict* to maintain the *srcdc* values in multithreading.
175175 Since the current thread and main thread are always alive, reuse their *srcdc* value first.
@@ -198,7 +198,7 @@ def _monitors_impl(self):
198198 }
199199 )
200200
201- # Each monitors
201+ # Each monitor
202202 def _callback (monitor , data , rect , dc_ ):
203203 # types: (int, HDC, LPRECT, LPARAM) -> int
204204 """
@@ -226,7 +226,7 @@ def _grab_impl(self, monitor):
226226 """
227227 Retrieve all pixels from a monitor. Pixels have to be RGB.
228228
229- In the code, there are few interesting things:
229+ In the code, there are a few interesting things:
230230
231231 [1] bmi.bmiHeader.biHeight = -height
232232
0 commit comments