refactor: no need to inherit in python3 clean the code (#5659)

### What problem does this PR solve?

As title

### Type of change


- [x] Refactoring

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong
2025-03-05 18:03:53 +08:00
committed by GitHub
parent a64f4539e7
commit 4326873af6
13 changed files with 31 additions and 31 deletions

View File

@ -1170,7 +1170,7 @@ class RAGFlowPdfParser:
return poss
class PlainParser(object):
class PlainParser:
def __call__(self, filename, from_page=0, to_page=100000, **kwargs):
self.outlines = []
lines = []