Comment Comment by xkcd-sucks In [1]: def f(x: int) -> float: ...: return f"the input was {x}" In [2]: f(b'deadbeef') Out[2]: "the input was b'deadbeef'" parent xkcd-sucks 10 days ago