diff options
author | Brett Cannon <brett@python.org> | 2022-04-11 22:02:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 22:02:41 (GMT) |
commit | 3869a839d5f14a91978c6158a03c68fac5e938dd (patch) | |
tree | 996dca116c16e84fb623aa04d66f3434c07f1a27 /Lib/chunk.py | |
parent | 8be8949116e1812df5e329a18647ebdea7fb9c6c (diff) | |
download | cpython-3869a839d5f14a91978c6158a03c68fac5e938dd.zip cpython-3869a839d5f14a91978c6158a03c68fac5e938dd.tar.gz cpython-3869a839d5f14a91978c6158a03c68fac5e938dd.tar.bz2 |
gh-47061: Deprecate `chunk` (GH-91419)
Diffstat (limited to 'Lib/chunk.py')
-rw-r--r-- | Lib/chunk.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py index 870c39f..618781e 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -48,6 +48,10 @@ specifies whether or not chunks are aligned on 2-byte boundaries. The default is 1, i.e. aligned. """ +import warnings + +warnings._deprecated(__name__, remove=(3, 13)) + class Chunk: def __init__(self, file, align=True, bigendian=True, inclheader=False): import struct |