def follow(user: User, followed_user: User) -> None: user, followed_user = intern(user), intern(followed_user) following[user].add(followed_user) followers[followed_user].add(user)