fix typo
add support for Python 3 function annotations