Skip to content

Commit

Permalink
add empty slots to CommonChecksum
Browse files Browse the repository at this point in the history
  • Loading branch information
ariebovenberg committed Feb 20, 2022
1 parent f1c91c2 commit f58461c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google_crc32c/_checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class CommonChecksum(object):
initial_value (Optional[bytes]): the initial chunk of data from
which the CRC32C checksum is computed. Defaults to b''.
"""
__slots__ = ()

def __init__(self, initial_value=b""):
self._crc = 0
Expand Down

0 comments on commit f58461c

Please sign in to comment.