summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2020-04-28 17:11:32 -0600
committerGitHub <noreply@github.com>2020-04-28 16:11:32 -0700
commit5e8c691594d68925213d36296ce7c4b3e90bcb1d (patch)
tree1b93ee2c24dd9944396aa98ba232f0db4e2893c1 /Python/_warnings.c
parent6d86a2331e6b64a2ae80c1a21f81baa5a71ac594 (diff)
downloadcpython-git-5e8c691594d68925213d36296ce7c4b3e90bcb1d.tar.gz
bpo-32604: Add support for a "default" arg in channel_recv(). (GH-19770)
This allows the caller to avoid creation of an exception when the channel is empty (just like `dict.get()` works). `ChannelEmptyError` is still raised if no default is provided. Automerge-Triggered-By: @ericsnowcurrently
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions