From bef877320db8868ec6c005224badd5c4aa2b2f6f Mon Sep 17 00:00:00 2001 From: Tin Tvrtkovic Date: Wed, 16 Mar 2016 03:15:07 +0100 Subject: [PATCH] Flake8 fix. --- src/attr/_make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/attr/_make.py b/src/attr/_make.py index bf878def..9f85bb76 100644 --- a/src/attr/_make.py +++ b/src/attr/_make.py @@ -207,8 +207,8 @@ def attributes(maybe_cl=None, these=None, repr_ns=None, cl_dict = dict(cl.__dict__) cl_dict['__slots__'] = tuple(ca_list) for ca_name in ca_list: - cl_dict.pop(ca_name, None) # It might not actually be in there, - # f.e. if using 'these'. + # It might not actually be in there, f.e. if using 'these'. + cl_dict.pop(ca_name, None) cl_dict.pop('__dict__', None) cl = type(cl.__name__, cl.__bases__, cl_dict)