From a354663ee172706374979a5b8cfc57df9f66b4a5 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 2 Nov 2020 00:58:28 -0800 Subject: [PATCH] Fix typo in API documentation --- src/ocrmypdf/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocrmypdf/api.py b/src/ocrmypdf/api.py index f8809157..a9e2d625 100644 --- a/src/ocrmypdf/api.py +++ b/src/ocrmypdf/api.py @@ -261,7 +261,7 @@ def ocr( # pylint: disable=unused-argument read. output_file: If a :class:`pathlib.Path`, ``str`` or ``bytes``, this is interpreted as file system path to the output file. If the object - appears to be a writable stream (with methods such as ``.read()`` and + appears to be a writable stream (with methods such as ``.write()`` and ``.seek()``), the output will be written to this stream. If ``output_file`` is ``"-"``, the output will be written to ``sys.stdout`` (provided that standard output does not seem to be a terminal device).