mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-09 03:40:12 +02:00
Fix broken build on Python 3.5
This commit is contained in:
parent
cac437afbf
commit
fd6f57a263
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,13 @@ class PartVersionSpecific:
|
|||
def __hash__(self):
|
||||
return hash(self.text) ^ hash(self.line) ^ hash(self.start)
|
||||
|
||||
def _asdict(self) -> Dict:
|
||||
return {
|
||||
"text": self.text,
|
||||
"line": self.line,
|
||||
"start": self.start,
|
||||
}
|
||||
|
||||
|
||||
class Distance:
|
||||
def __init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue