general: migrate modules to use 3.9 features

This commit is contained in:
Dima Gerasimov 2024-10-19 22:10:40 +01:00
parent d3f9a8e8b6
commit d915c848e9
125 changed files with 889 additions and 739 deletions

View file

@ -1,8 +1,9 @@
from typing import Iterator
from my.core import stat, Stats
from collections.abc import Iterator
from my.core import Stats, stat
from my.core.source import import_source
from .common import Save, Upvote, Comment, Submission, _merge_comments
from .common import Comment, Save, Submission, Upvote, _merge_comments
# Man... ideally an all.py file isn't this verbose, but
# reddit just feels like that much of a complicated source and