diff options
| author | tslil <tslil@posteo.de> | 2026-03-05 13:07:07 +0000 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-03-05 13:07:17 +0000 |
| commit | 0d734cd4095c57be5c6a527adf49504ca1d14863 (patch) | |
| tree | ba0ee668bd21b84d660d3a9123ebf5f70be4692d /python/src/types/buffer.py | |
| parent | 00e03d8fb65119e736dae4db8335e1ac67aac23e (diff) | |
Remove old python prototype
Diffstat (limited to 'python/src/types/buffer.py')
| -rw-r--r-- | python/src/types/buffer.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/python/src/types/buffer.py b/python/src/types/buffer.py deleted file mode 100644 index 04e1def..0000000 --- a/python/src/types/buffer.py +++ /dev/null @@ -1,16 +0,0 @@ -from dataclasses import dataclass - -@dataclass -class Buffer: - content: str - - @property - def min_pos(self) -> int: - return 0 - - @property - def max_pos(self) -> int: - return len(self.content) - - def valid_pos(self, pos : int) -> bool: - return self.min_pos <= pos < self.max_pos |
