393
394
for fname, text in self.get_source_file_contents(
396
397
cdefs = except_re.findall(text)
397
398
for sig, func, exc_clause, no_exc_comment in cdefs:
398
401
if not sig or sig in known_classes:
400
405
if exc_clause and no_exc_comment:
401
406
both_exc_and_no_exc.append((fname, func))
402
407
if sig != 'object' and not (exc_clause or no_exc_comment):