chore: update __repr__ for PdfName

This commit is contained in:
mrKazzila 2024-05-04 19:26:22 +03:00
parent 74063feadc
commit 984c2e7f30

View File

@ -225,7 +225,7 @@ class PdfName:
return hash(self.name) return hash(self.name)
def __repr__(self): def __repr__(self):
return f"PdfName({repr(self.name)})" return f"{self.__class__.__name__}({repr(self.name)})"
@classmethod @classmethod
def from_pdf_stream(cls, data): def from_pdf_stream(cls, data):