Browse code

remove _key_by_value

Bas Nijholt authored on 22/04/2020 23:00:23
Showing 1 changed files
... ...
@@ -56,10 +56,6 @@ _default_executor = (
56 56
 )
57 57
 
58 58
 
59
-def _key_by_value(dct, value):
60
-    return next(k for k, v in dct.items() if v == value)
61
-
62
-
63 59
 class BaseRunner(metaclass=abc.ABCMeta):
64 60
     r"""Base class for runners that use `concurrent.futures.Executors`.
65 61