We don't actually need a special constant for this; this is a pretty standard Python #idiom:
NOT_SET = object()
def f(a: int, b: int = NOT_SET):
if b is NOT_SET:
# function called without second argument
...
NOT_SET is a bare object, which will never compare equal to anything else, and is a singleton so the natural test is #object #identity. It absolutely distinguishes between "no argument" and "caller happened to pass the #default value #explicitly".
#idiom #object #identity #default #explicitly
@SuneAuken
It may not make sense as described, but the patient/perpetrator now had both hands and wrists in plaster, and, as a single person, required assistance for many tasks, including having to urinate.
His (would have been) victim escaped with a mild hangover.
#HoistWithHisOwnPetard #PoeticJustice #Irony #Idiom #IdiomaticMeaning #Tomfoolery #Shakespeare #SelfOwn
#hoistwithhisownpetard #poeticjustice #irony #idiom #idiomaticmeaning #tomfoolery #shakespeare #selfown
@SuneAuken
A long time ago, in a hospital far, far away. A drunk male brought in with both 5th metacarpals broken.
It appeared that the patient had fought with another drunk, but the other had collapsed at the time of the punch,causing the patient's fist to strike the wall. Enraged, he pulled the other upright to punch with the other fist, but the other slumped sideways at the time.
#HoistWithHisOwnPetard #PoeticJustice #Irony #Idiom #IdiomaticMeaning #Tomfoolery #Shakespeare #SelfOwn
#hoistwithhisownpetard #poeticjustice #irony #idiom #idiomaticmeaning #tomfoolery #shakespeare #selfown
Quand les internautes parlent du "fédivers" je pense d'abord aux chiens écrasés ... puis aux faits d'hiver.
Et ici, il y a de tout, sinon des chiens écrasés. #fediverse #idiom #kalauer
Why is "coming #FullCircle" seen as positive when "#GoingInCircles" is negative? #Language #Idiom
#fullcircle #goingincircles #language #idiom
I felt the need to compare [virtuous/vicious] [circle/cycle]. Have you ever wondered which was “right” or which felt more “normal”?
According to Google #Ngram:
- “Vicious circle” is most common by a long shot, the progenitor #idiom.
- “Vicious cycle” is almost nonexistent
- The “virtuous” options are very close to each other, with “circle” being more common, but only by a bit.
#language #english #linguistics #idiom #ngram
#idiom : an expression conforming or appropriate to the peculiar structural form of a language
- German: die Redewendung
- Italian: espressione idiomatica
- Portuguese: idioma
- Spanish: modismo
------------
Report an incorrect translation @ https://wordofthehour.org/r/translations
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: too obvious?
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: metaphor wordplay
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
I love playing with a good idiomatic expression. They’re kind of silly when you take a moment to visualize what’s being said. Here's my latest comic. #idiom #comic #cartoon #VectorArt More comics here: https://pushbuttonheads.substack.com/p/hello-world
#vectorart #cartoon #comic #idiom
Γρεεκ το με ??? This seems "Greek to me" but it is not! Did you know that this #expression in other languages might refer to a different #language than #Greek?
Check our blog:
https://mapologies.com/greek-to-me/
#mapologies #culture #translation #sterotype #comparedlanguages #Greek #Spanish #chinese #Arabic #idiom #expression #language
#expression #language #greek #mapologies #culture #translation #sterotype #comparedlanguages #spanish #chinese #arabic #idiom
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: How's it going?
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
wait - to Brits really say 'on the cards' instead of 'in the cards'??
#linguistics #judgment #idiom #english #britishEnglish #NorthAmericanEnglish
#linguistics #judgment #idiom #English #britishenglish #northamericanenglish
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: Says it all!
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: two ears
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: Don't stress about it.
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay
Sunday Sillies -Wicked Wonderful Wordies - #wordplay #wordies #idiom
Happy weekend from here, #puzzle fans!
Idioms or common phrases (American/English) are represented by the position, shape or arrangement of words in or around the puzzle frame.
Can you figure out this week's wordie? It would be wicked wonderful if you can.
Please use CW to submit your answers, thanks. Give everybody the chance to guess.
Hint: Exemplary
Created with the Free Software SVG editor #Inkscape
#inkscape #puzzle #idiom #wordies #wordplay