Skip to content

Drop python2 support #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 21, 2023
5 changes: 1 addition & 4 deletions msgpack/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
import struct


try:
_utc = datetime.timezone.utc
except AttributeError:
_utc = datetime.timezone(datetime.timedelta(0))
_utc = datetime.timezone.utc


class ExtType(namedtuple("ExtType", "code data")):
Expand Down