replace imports of fromisoformat

This commit is contained in:
Sean Breckenridge 2021-04-06 01:38:17 -07:00
parent 8a8bec332e
commit 9ab2a18412
3 changed files with 3 additions and 3 deletions

View file

@ -140,7 +140,7 @@ def localize(dt: datetime) -> tzdatetime:
from ...core import stat, Stats
def stats() -> Stats:
from ...core.common import fromisoformat
from ...core.compat import fromisoformat
# TODO not sure what would be a good stat() for this module...
# might be nice to print some actual timezones?
# there aren't really any great iterables to expose