New type definitions in Py3:


New type definitions in Py3:

def __init__(parameter1: type) -> return_type:

is the way to go.

Originally published on Medium at https://medium.com/@damo-da/new-type-definitions-in-py3-eec9337c5b25.