Skip to content

Commit dcb7750

Browse files
authored
minor type in exception message (#533)
interger -> integer
1 parent e3ef909 commit dcb7750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/ext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, seconds, nanoseconds=0):
5656
Note: Negative times (before the UNIX epoch) are represented as negative seconds + positive ns.
5757
"""
5858
if not isinstance(seconds, int_types):
59-
raise TypeError("seconds must be an interger")
59+
raise TypeError("seconds must be an integer")
6060
if not isinstance(nanoseconds, int_types):
6161
raise TypeError("nanoseconds must be an integer")
6262
if not (0 <= nanoseconds < 10**9):

0 commit comments

Comments
 (0)