Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jahewson
· 7y ago · 0 comments
Python 3.7 added the ability to use type annotations with the @functools.singledispatch decorator which lets you write functions in a multi-dispatch manner.
Comments
[–]
malmaud
7y ago
As the name suggests, that lets you write functions in a single-dispatch manner. That is different from multiple-dispatch.