CMU Coding Bootcamp

fix: correct warnings

thecoded.prof c240dda9 84301b11

verified
+3 -3
+3 -3
python/oct10/Tables/main.py
··· 148 148 # so it will raise a custom exception. 149 149 error = None 150 150 try: 151 - col = table.getCol(3) 151 + _col = table.getCol(3) 152 152 except Exception as e: 153 153 error = str(e) 154 154 assert error == "Col 3 is out of range" ··· 186 186 # so it will raise a custom exception. 187 187 error = None 188 188 try: 189 - row = table.getRow(10) 189 + _row = table.getRow(10) 190 190 except Exception as e: 191 191 error = str(e) 192 192 assert error == "Row 10 is out of range" ··· 199 199 # there is no such header, so it will raise a custom exception. 200 200 error = None 201 201 try: 202 - i = table.getHeaderIndex("Missing") 202 + _i = table.getHeaderIndex("Missing") 203 203 except Exception as e: 204 204 error = str(e) 205 205 # assert(error == 'No such header: Missing')