Next / Previous / Contents / TCC Help System / NM Tech homepage

14.1. Syntax errors

Syntax errors caught by Python while scanning modules.

  1. In function buildWeb(), the for-loop was indented one level too far, as if it were a method, not a def.

  2. In TaxonPhotoSet._addData(), this line:

                                class_="cat-info_)
    

    should have been:

                                class_="cat-info")
    

  3. In FormPhotoSet._addData(), unclosed parentheses:

                xc.Text(noteDiv, arch.original.note
    

    should be:

                xc.Text(noteDiv, arch.original.note)