Page MenuHomeSoftware Heritage
Paste P628

(An Untitled Masterwork)
ActivePublic

Authored by vlorentz on Mar 24 2020, 5:15 PM.
from typing import Callable
class Foo:
def __init__(self, f: Callable[[int], None]):
self.f: Callable[[int], None] = f
def call(self, n: int):
self.f(n)