Skip to content

Commit f47f1d9

Browse files
committed
Move _text_extractor into _text_extraction
1 parent f4e9285 commit f47f1d9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pypdf/_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
from ._text_extraction import (
5757
_layout_mode,
5858
)
59-
from ._text_extractor import TextExtraction
59+
from ._text_extraction._text_extractor import TextExtraction
6060
from ._utils import (
6161
CompressedTransformationMatrix,
6262
TransformationMatrixType,

pypdf/_text_extractor.py renamed to pypdf/_text_extraction/_text_extractor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@
3030
import math
3131
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, cast
3232

33-
from ._cmap import (
33+
from .._cmap import (
3434
build_char_map,
3535
build_font_width_map,
3636
compute_font_width,
3737
get_actual_str_key,
3838
unknown_char_map,
3939
)
40-
from ._text_extraction import (
40+
from . import (
4141
OrientationNotFoundError,
4242
crlf_space_check,
4343
get_display_str,
4444
get_text_operands,
4545
mult,
4646
)
47-
from ._utils import logger_warning
48-
from .constants import PageAttributes as PG
49-
from .generic import (
47+
from .._utils import logger_warning
48+
from ..constants import PageAttributes as PG
49+
from ..generic import (
5050
ContentStream,
5151
DictionaryObject,
5252
FloatObject,

0 commit comments

Comments
 (0)