Mercurial > p > roundup > code
view roundup/anypy/__init__.py @ 7589:6894f152d49a
fix: issue2551278 - datetime.datetime.utcnow deprecation.
Original fix always failed the import and fell back to the exception case.
This method should work and test both code paths in datetime_.py.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 26 Jul 2023 23:59:35 -0400 |
| parents | 868db43b302a |
| children |
line wrap: on
line source
""" roundup.anypy - compatibility layer for any Python 2.3+ """ VERSION = '.'.join(map(str, (0, 3, )))
