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/aifc.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/aifc.py')
-rw-r--r-- | Lib/aifc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index 314cfd2..5254987 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -255,7 +255,9 @@ def _write_float(f, x): _write_ulong(f, himant) _write_ulong(f, lomant) -from chunk import Chunk +with warnings.catch_warnings(): + warnings.simplefilter("ignore", DeprecationWarning) + from chunk import Chunk from collections import namedtuple _aifc_params = namedtuple('_aifc_params', |