mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-10-26 23:14:13 +01:00
Python's `sorted` method will fail with a TypeError when called with
`None` and Integers:
```python
>>> sorted([None, 1])
TypeError: '<' not supported between instances of 'int' and 'NoneType'
```
Therefore we are using `float('inf')` instead of `None` in case of
missing textline indices.
|
||
|---|---|---|
| .. | ||
| dinglehopper | ||
| __init__.py | ||