Это старая версия документа!
http://judge.mipt.ru/mipt_cs_on_python3/labs/lab1.html#python-3 - Python3