Skip to content Skip to sidebar Skip to footer
Showing posts with the label Typechecking

Why Return Type Is Not Checked In Python3?

Example from PEP 484 -- Type Hints def greeting(name: str) -> str: return 'Hello ' +… Read more Why Return Type Is Not Checked In Python3?

Function Annotation In Python 3 Get "name Not Defined" Error

I am trying to use python3 type annotation features. Here is some toy functions without annotation:… Read more Function Annotation In Python 3 Get "name Not Defined" Error