@treyhunnerTrey Hunner ๐ Did you know about this #PythonOddity in hte ordering of timedelta's positional arguments?
from datetime import timedelta
print(timedelta(1).total_seconds())
print(timedelta(1, 1).total_seconds())
@treyhunnerTrey Hunner ๐ Did you know about this #PythonOddity in hte ordering of timedelta's positional arguments?
from datetime import timedelta
print(timedelta(1).total_seconds())
print(timedelta(1, 1).total_seconds())
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/bmispelon/statuses/114709418402745692 on your instance and quote it. (Note that quoting is not supported in Mastodon.)