diff --git a/PyPDF2/generic.py b/PyPDF2/generic.py index af0038b71..3b82483c7 100644 --- a/PyPDF2/generic.py +++ b/PyPDF2/generic.py @@ -2117,7 +2117,7 @@ def line( rect: Tuple[float, float, float, float], text: str = "", title_bar: str = "", - ): + ) -> DictionaryObject: """ Draw a line on the PDF.