Hi, I use PyCharm and a venv based on Python 3.7
I want to use type hint :
But :
I want to use type hint :
def some_function(some_arg: str) -> bool: return "some_str" == some_argCode inspection doesn't reveal any suspicious code
But :
Error:def some_function(some_arg: str) -> bool:
^
SyntaxError: invalid syntax
Does someone have any idea why please ?