File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3598,10 +3598,12 @@ def open(
35983598 and be opened in binary mode. The file object will also seek to zero
35993599 before reading.
36003600 :param mode: The mode. If given, this argument must be "r".
3601- :param formats: A list or tuple of formats to attempt to load the file in, e.g.
3602- ("JPEG", "GIF"). This can be used to restrict the set of formats checked.
3601+ :param formats: A list or tuple of formats to attempt to load the file in, for
3602+ example, ``("JPEG", "GIF")``. This can be used to restrict the set of formats
3603+ checked.
36033604
3604- To exclude a format, start the format with "!", e.g. ("!EPS", "!PSD").
3605+ To exclude a format, start the format with "!", for example,
3606+ ``("!EPS", "!PSD")``.
36053607
36063608 Pass ``None`` to try all supported formats.
36073609
You can’t perform that action at this time.
0 commit comments