diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-29 20:02:53 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 1db04ff63d4f62f88f0e56bd0233290ef7c9dd95 (patch) | |
tree | b1bc647d2e5bf563881ce820d2376965336ab335 /slack/weechat_config.py | |
parent | 6ca6e00bda3259d83f69d831093fe124c4c31f47 (diff) | |
download | wee-slack-1db04ff63d4f62f88f0e56bd0233290ef7c9dd95.tar.gz |
Replace some usages of Any with proper types
Diffstat (limited to 'slack/weechat_config.py')
-rw-r--r-- | slack/weechat_config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slack/weechat_config.py b/slack/weechat_config.py index 6decf37..8d17b13 100644 --- a/slack/weechat_config.py +++ b/slack/weechat_config.py @@ -48,7 +48,8 @@ class WeeChatSection: ) -WeeChatOptionType = TypeVar("WeeChatOptionType", bound=Union[int, str]) +WeeChatOptionTypes = Union[int, str] +WeeChatOptionType = TypeVar("WeeChatOptionType", bound=WeeChatOptionTypes) @dataclass |