diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 2db75717..405afcc6 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -6203,7 +6203,7 @@ class BinaryView: >>> """ if not isinstance(text, str): - raise AttributeError("Source must be a string") + raise ValueError("Source must be a string") parse = core.BNTypeParserResult() try: |
