Skip to content

Commit b4a480f

Browse files
committed
Corrected documentation
1 parent d2683e0 commit b4a480f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/ImageGrab.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ or the clipboard to a PIL image memory.
99

1010
.. versionadded:: 1.1.3
1111

12-
.. py:function:: grab(bbox=None, include_layered_windows=False, all_screens=False, xdisplay=None)
12+
.. py:function:: grab(bbox=None, include_layered_windows=False, all_screens=False, xdisplay=None, window=None)
1313
1414
Take a snapshot of the screen. The pixels inside the bounding box are returned as
1515
an "RGBA" on macOS, or an "RGB" image otherwise. If the bounding box is omitted,
@@ -40,7 +40,7 @@ or the clipboard to a PIL image memory.
4040

4141
.. versionadded:: 7.1.0
4242

43-
:param handle:
43+
:param window:
4444
HWND, to capture a single window. Windows only.
4545

4646
.. versionadded:: 11.2.0

0 commit comments

Comments
 (0)