Skip to content

Commit

Permalink
fix: license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Mar 18, 2020
1 parent 948b5a0 commit 535757e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
14 changes: 14 additions & 0 deletions src/crc32c/cffi.py
@@ -1,3 +1,17 @@
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import struct

# NOTE: ``__config__`` **must** be the first import because it (may)
Expand Down
20 changes: 12 additions & 8 deletions src/crc32c/python.py
@@ -1,12 +1,16 @@
# crc32c.Checksum(b"blah").digest()
# b's\x0c\xb4\xe4'
# Copyright 2020 Google LLC
#
# >>> import crcmod
# >>> c = crcmod.predefined.Crc("crc-32c")
# >>> c.update(b"blah")
# >>> c.digest()
# b's\x0c\xb4\xe4'

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import array
import struct
Expand Down

0 comments on commit 535757e

Please sign in to comment.