Skip to content

Commit

Permalink
STY: Use relative imports (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Oct 9, 2022
1 parent 50c1b52 commit d5111e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions PyPDF2/_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
from enum import IntEnum
from typing import Any, Dict, Optional, Tuple, Union, cast

from PyPDF2._utils import logger_warning
from PyPDF2.errors import DependencyError
from PyPDF2.generic import (
from ._utils import logger_warning
from .errors import DependencyError
from .generic import (
ArrayObject,
ByteStringObject,
DictionaryObject,
Expand Down
3 changes: 1 addition & 2 deletions PyPDF2/xmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
from xml.dom.minidom import parseString
from xml.parsers.expat import ExpatError

from PyPDF2.errors import PdfReadError

from ._utils import StreamType, deprecate_with_replacement
from .errors import PdfReadError
from .generic import ContentStream, PdfObject

RDF_NAMESPACE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
Expand Down

0 comments on commit d5111e1

Please sign in to comment.