mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-08 11:20:26 +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):
|
def __hash__(self):
|
||||||
return hash(self.text) ^ hash(self.line) ^ hash(self.start)
|
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:
|
class Distance:
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue