Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don't analyze namedtuple decorators
Would be nice to support this but that's for a separate issue.
  • Loading branch information
JelleZijlstra committed Jan 23, 2017
commit 6ad489be6cb5feccf7046b226f71f1474be8783d
4 changes: 2 additions & 2 deletions mypy/semanal.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ def visit_class_def(self, defn: ClassDef) -> None:
self.analyze_base_classes(defn)
self.analyze_metaclass(defn)

for decorator in defn.decorators:
self.analyze_class_decorator(defn, decorator)
for decorator in defn.decorators:
self.analyze_class_decorator(defn, decorator)

self.enter_class(defn)

Expand Down