diff options
author | stickies-v <stickies-v@protonmail.com> | 2023-11-16 19:11:25 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2023-11-16 19:12:14 +0100 |
commit | a478c817b2f62b7334b36e331a2e37fe8380c754 (patch) | |
tree | b395dea72f4fbee2764ff83e5675b9fd82916494 /contrib | |
parent | 4b9afb18e6b9e16d7b299820f3a1382986a451d4 (diff) |
test: replace `Callable`/`Iterable` with their `collections.abc` alternative (PEP 585)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/seeds/asmap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/seeds/asmap.py b/contrib/seeds/asmap.py index 84e1811ede..214805b5a5 100644 --- a/contrib/seeds/asmap.py +++ b/contrib/seeds/asmap.py @@ -10,9 +10,10 @@ import copy import ipaddress import random import unittest +from collections.abc import Callable, Iterable from enum import Enum from functools import total_ordering -from typing import Callable, Iterable, Optional, Union, overload +from typing import Optional, Union, overload def net_to_prefix(net: Union[ipaddress.IPv4Network,ipaddress.IPv6Network]) -> list[bool]: """ |