doc: fixed list numbering, clarified wording in lang.py