Added docstrings to pt.py

Signed-off-by: LK <LK@uni>