summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2020-04-28 23:11:32 (GMT)
committerGitHub <noreply@github.com>2020-04-28 23:11:32 (GMT)
commit5e8c691594d68925213d36296ce7c4b3e90bcb1d (patch)
tree1b93ee2c24dd9944396aa98ba232f0db4e2893c1 /Python
parent6d86a2331e6b64a2ae80c1a21f81baa5a71ac594 (diff)
downloadcpython-5e8c691594d68925213d36296ce7c4b3e90bcb1d.zip
cpython-5e8c691594d68925213d36296ce7c4b3e90bcb1d.tar.gz
cpython-5e8c691594d68925213d36296ce7c4b3e90bcb1d.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions