SIGN IN SIGN UP

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
E
Eric Snow committed
5e8c691594d68925213d36296ce7c4b3e90bcb1d
Parent: 6d86a23
Committed by GitHub <noreply@github.com> on 4/28/2020, 11:11:32 PM