Update docs/reference/ImageGrab.rst

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hankson Bradley 2023-04-19 16:02:36 +08:00 committed by GitHub
parent f672bf6cd4
commit 1feed13c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,9 @@ or the clipboard to a PIL image memory.
returned as an "RGBA" on macOS, or an "RGB" image otherwise.
If the bounding box is omitted, the entire screen is copied.
On Linux, if ``xdisplay`` is ``None`` then ``gnome-screenshot`` or ``scrot`` will
be used if they are installed. To capture the default X11 display instead, pass
``xdisplay=""``.
On Linux, if ``xdisplay`` is ``None`` then (in order) ``scrot`` or
``gnome-screenshot`` will be used if they are installed. To capture the default
X11 display instead, pass ``xdisplay=""``.
.. versionadded:: 1.1.3 (Windows), 3.0.0 (macOS), 7.1.0 (Linux)