From f0e7bea8ba7b579592342c6c95d0c28011650a86 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 27 Nov 2020 13:54:36 -0800 Subject: [PATCH] docs: remove redundant statement --- docs/api.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 78428699..a93c4a9c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -20,7 +20,7 @@ and largely have the same functions. import ocrmypdf - if __name__ == '__main__': # To ensure correct behavior on Windows + if __name__ == '__main__': # To ensure correct behavior on Windows and macOS ocrmypdf.ocr('input.pdf', 'output.pdf', deskew=True) With a few exceptions, all of the command line arguments are available @@ -42,8 +42,7 @@ execution. To do this, it will: - execute other subprocesses (forking and executing other programs) The Python process that calls ``ocrmypdf.ocr()`` must be sufficiently -privileged to perform these actions. If it is not, ``ocrmypdf()`` will -fail. +privileged to perform these actions. There is no currently no option to manage how jobs are scheduled other than the argument ``jobs=`` which will limit the number of worker