I thought, "gosh, that seems at least marginally useless; why wouldn't that short circuit?" and then just tried it. I tried a few variations, and about the only use I can think of is to signal as a side effect for when the dict is made.
Fun trick to learn exists. Though I would really like to know what led up to it, since it seems ... unhelpful.
Edit: Looking at other comments, I did try popping off that entry in the dict, and no, it didn't have anything in it (it doesn't make the dict anything like defaultdict).
Fun trick to learn exists. Though I would really like to know what led up to it, since it seems ... unhelpful.
Edit: Looking at other comments, I did try popping off that entry in the dict, and no, it didn't have anything in it (it doesn't make the dict anything like defaultdict).