summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2023-03-05 15:45:38 +0100
committerGitHub <noreply@github.com>2023-03-05 23:45:38 +0900
commitdcb775031c0b1d575b90e822e81e845ebfda4a2e (patch)
treeee379fe28df49b8a6d17d7cc6912492762fd0c10
parente3ef909c47e5a245fc9d711e9d974a5f9df99303 (diff)
downloadmsgpack-python-dcb775031c0b1d575b90e822e81e845ebfda4a2e.tar.gz
minor type in exception message (#533)
interger -> integer
-rw-r--r--msgpack/ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/ext.py b/msgpack/ext.py
index 25544c5..23e0d6b 100644
--- a/msgpack/ext.py
+++ b/msgpack/ext.py
@@ -56,7 +56,7 @@ class Timestamp(object):
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):