Bombay duck Fresh fish are usually fried or cooked in curry. At one time, 13 tonnes of Bombay duck were eaten in the UK each year. Following the discovery of a batch of imported seafood contaminated by "Salmonella" in 1996, the European Commission (EC) prohibited fish imports from India other than from approved freezing and canning factories. As Bombay duck is not produced in a factory, this had the unintended consequence of banning the import of Bombay duck. After a campaign to "Save Bombay Duck", the Indian High Commission approached the EC about the ban, and the EC adjusted its regulations so
Duck typing Duck typing Duck typing in computer programming is an application of the duck test—"If it walks like a duck and it quacks like a duck, then it must be a duck"—to determine if an object can be used for a particular purpose. With normal typing, suitability is determined by an object's type. In duck typing, an object's suitability is determined by the presence of certain methods and properties, rather than the type of the object itself. This is a simple example in Python 3 that demonstrates how any object may be used in any context, up until it is used