The context behind the specific passage referred to in the show (about the races baked in the oven) is that it is a conversational exchange (banter, if you will) between an Indian and a Briton. I believe the protagonist of that passage was "throwing shade" at the Briton after he makes a haughty statement.
This entire exchange sounds ridiculously stupid and implausible to us now. However, in the 1940s (I think thats when the protagonist of the passage is from), casual racism towards Indians made that a plausible situation. I think this aphorism dates back to the 1930s/40s as a standard reply to casual racism from Europeans. Its obviously outdated (and racist) in today's context. However to claim that this is a "lesson taught in Indian schools" is a mischaracterization.
This entire exchange sounds ridiculously stupid and implausible to us now. However, in the 1940s (I think thats when the protagonist of the passage is from), casual racism towards Indians made that a plausible situation. I think this aphorism dates back to the 1930s/40s as a standard reply to casual racism from Europeans. Its obviously outdated (and racist) in today's context. However to claim that this is a "lesson taught in Indian schools" is a mischaracterization.