Skip to content

Commit ac5c894

Browse files
committed
fixup
1 parent 51ef2d9 commit ac5c894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/fallback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def __init__(
669669
self._buffer = BytesIO()
670670
self._datetime = bool(datetime)
671671
self._unicode_errors = unicode_errors or "strict"
672-
if not callable(default):
672+
if callable is not None and not callable(default):
673673
raise TypeError("default must be callable")
674674
self._default = default
675675

0 commit comments

Comments
 (0)