Skip to content

Commit

Permalink
minor type in exception message (#533)
Browse files Browse the repository at this point in the history
interger -> integer
  • Loading branch information
AvdN committed Mar 5, 2023
1 parent e3ef909 commit dcb7750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgpack/ext.py
Expand Up @@ -56,7 +56,7 @@ def __init__(self, seconds, nanoseconds=0):
Note: Negative times (before the UNIX epoch) are represented as negative seconds + positive ns.
"""
if not isinstance(seconds, int_types):
raise TypeError("seconds must be an interger")
raise TypeError("seconds must be an integer")
if not isinstance(nanoseconds, int_types):
raise TypeError("nanoseconds must be an integer")
if not (0 <= nanoseconds < 10**9):
Expand Down

0 comments on commit dcb7750

Please sign in to comment.