Skip to content

Commit

Permalink
MAINT: Remove unused sign function in _extract_text (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Aug 21, 2022
1 parent 6714481 commit 2ff3bff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions PyPDF2/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1178,9 +1178,6 @@ def _extract_text(
TL = 0.0
font_size = 12.0 # init just in case of

def sign(x: float) -> float:
return 1 if x >= 0 else -1

def mult(m: List[float], n: List[float]) -> List[float]:
return [
m[0] * n[0] + m[1] * n[2],
Expand Down

0 comments on commit 2ff3bff

Please sign in to comment.