diff options
author | Anthon van der Neut <anthon@mnt.org> | 2023-03-05 15:45:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 23:45:38 +0900 |
commit | dcb775031c0b1d575b90e822e81e845ebfda4a2e (patch) | |
tree | ee379fe28df49b8a6d17d7cc6912492762fd0c10 | |
parent | e3ef909c47e5a245fc9d711e9d974a5f9df99303 (diff) | |
download | msgpack-python-dcb775031c0b1d575b90e822e81e845ebfda4a2e.tar.gz |
minor type in exception message (#533)
interger -> integer
-rw-r--r-- | msgpack/ext.py | 2 |
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): |