From 710d797299685ffcc41155e0441df16b47877df2 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Wed, 14 Apr 2021 00:36:58 -0700 Subject: [PATCH] Fix comment typos --- src/ocrmypdf/leptonica.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ocrmypdf/leptonica.py b/src/ocrmypdf/leptonica.py index 8ec02e0a..a6757391 100644 --- a/src/ocrmypdf/leptonica.py +++ b/src/ocrmypdf/leptonica.py @@ -116,8 +116,8 @@ class _LeptonicaErrorTrap_Redirect: try: # It would make sense to do sys.stderr.flush() here, but that can deadlock # due to https://bugs.python.org/issue6721. So don't flush. Pretend - # there's nothing important sys.stderr. If the user cared they would - # be use Leptonica 1.79 or later anyway and avoid this mess. + # there's nothing important in sys.stderr. If the user cared they would + # be using Leptonica 1.79 or later anyway to avoid this mess. self.copy_of_stderr = os.dup(sys.stderr.fileno()) os.dup2(self.tmpfile.fileno(), sys.stderr.fileno(), inheritable=False) except AttributeError: