What the "->" sign means for Python functions?
I have noticed that sometimes in Python functions after the closing brackets with parameters the "->" sign is written. After this sign some value is specified, and only after this value there is a colon and the body of the function begins. So, for example, I speak about this:
def my_function(parameter1, parameter2) -> 'some string value': pass
What is this syntax for?