Skip to content

Commit 2ff3bff

Browse files
authored
MAINT: Remove unused sign function in _extract_text (#1262)
1 parent 6714481 commit 2ff3bff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

PyPDF2/_page.py

-3
Original file line numberDiff line numberDiff line change
@@ -1178,9 +1178,6 @@ def _extract_text(
11781178
TL = 0.0
11791179
font_size = 12.0 # init just in case of
11801180

1181-
def sign(x: float) -> float:
1182-
return 1 if x >= 0 else -1
1183-
11841181
def mult(m: List[float], n: List[float]) -> List[float]:
11851182
return [
11861183
m[0] * n[0] + m[1] * n[2],

0 commit comments

Comments
 (0)