From 79f9f4575321fafc2ef770e3255f874db3d4b037 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 11 Nov 2021 06:54:06 -0500 Subject: refactor: we no longer need to treat 'class' lines specially Originally, this tokenizing code was paired with bytecode analysis. But now we use AST instead, so class lines don't need to be handled differently. --- lab/parser.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lab/parser.py') diff --git a/lab/parser.py b/lab/parser.py index 19cb94a8..50b43564 100644 --- a/lab/parser.py +++ b/lab/parser.py @@ -108,8 +108,6 @@ class ParserMain: marks[2] = str(exits) if lineno in pyparser.raw_docstrings: marks[3] = '"' - if lineno in pyparser.raw_classdefs: - marks[3] = 'C' if lineno in pyparser.raw_excluded: marks[4] = 'x' -- cgit v1.2.1