class Person:
def __init__(self, ......
def make_friend(self, friend: 'Person') -> None:
.....
I'm learning python and I don't understand this example. Why type condition for friend should be in single quotes? Why not friend: Person
? How it can works? Does it have something common with type class shortcut?