Update link.py

Update to be more consistent with doc.