Skip to content

Commit

Permalink
Declare a type of 'type' for class_; addressing mypy failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Oct 8, 2022
1 parent 7c49e12 commit 9dffcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dffcf3

Please # to comment.