8000 ExtraData should be UnpackValueError · sugarguo/msgpack-python@d90008d · GitHub
[go: up one dir, main page]

Skip to content

Commit d90008d

Browse files
committed
ExtraData should be UnpackValueError
1 parent e15085d commit d90008d
< 8000 div class="Box-sc-g0xbh4-0 prc-PageLayout-HorizontalDivider-CYLp5 prc-PageLayout-PaneHorizontalDivider-4exOb" data-variant="none" data-position="start" style="--spacing-divider:var(--spacing-none);--spacing:var(--spacing-none)">

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class UnpackValueError(UnpackException, ValueError):
1414
pass
1515

1616

17-
class ExtraData(ValueError):
17+
class ExtraData(UnpackValueError):
1818
def __init__(self, unpacked, extra):
1919
self.unpacked = unpacked
2020
self.extra = extra

0 commit comments

Comments
 (0)
0