From 01bdb55adda90f26576add0e86918cbd9d47f14f Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 24 Sep 2022 08:37:37 -0400 Subject: [PATCH] Delete draft of pylint bug report --- redefined_outer.py~ | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 redefined_outer.py~ diff --git a/redefined_outer.py~ b/redefined_outer.py~ deleted file mode 100644 index b1411b63cc..0000000000 --- a/redefined_outer.py~ +++ /dev/null @@ -1,20 +0,0 @@ -# pylint: disable=missing-module-docstring,missing-class-docstring,too-few-public-methods - # pylint: disable=no-self-use,missing-function-docstring - from __future__ import annotations - - from typing import TYPE_CHECKING - - - class Cls: - def func(self, stuff: defaultdict): - # This import makes the definition work. - from collections import defaultdict - - obj = defaultdict() - obj.update(stuff) - return obj - - - if TYPE_CHECKING: - # This import makes the annotations work. - from collections import defaultdict