From 9dffcf3c1a772325311345ed1d1137c6ad5c79b3 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 8 Oct 2022 11:26:24 -0400 Subject: [PATCH] Declare a type of 'type' for class_; addressing mypy failure. --- zipp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipp.py b/zipp.py index 6d68643..6bdc0a2 100644 --- a/zipp.py +++ b/zipp.py @@ -70,7 +70,7 @@ class PickleableClass: object is discarded, and when loaded, it is rebuilt from the initialization params.""" - _class = object + _class: type = object def __init__(self, *args, **kwargs): self._args = args