Removed base_index parameter in favour of explicit array handling
The `base_index` parameter is confusing and only works in a limited number of cases. Having explicit functions to deal with those cases is preferred.
This commit is contained in:
@@ -70,7 +70,7 @@ class NoWriterImplemented(NotImplementedError):
|
||||
class SegmentationFault(Exception):
|
||||
"""Raised when a pointer to a non-existant datablock was dereferenced."""
|
||||
|
||||
def __init__(self, message: str, field_path, address: int):
|
||||
def __init__(self, message: str, address: int, field_path=None):
|
||||
super().__init__(message)
|
||||
self.field_path = field_path
|
||||
self.address = address
|
||||
self.field_path = field_path
|
||||
|
||||
Reference in New Issue
Block a user