# potools requires either no named arguments, or both named arguments. # here we have msg1 named but not msg2. ngettext(10, msg1 = 'abc', 'def')