@@ -1296,6 +1296,12 @@ msgid ""
12961296" print(\" -- Lovely plumage, the\" , type)\n"
12971297" print(\" -- It's\" , state, \" !\" )"
12981298msgstr ""
1299+ "def parrot(voltage, state='jest sztywna', action='fru', type='norweska "
1300+ "błękitna'):\n"
1301+ " print(\" -- Ta papuga nie zrobi\" , action, end=' ')\n"
1302+ " print(\" nawet jeśli podłączę ją do\" , voltage, \" woltów.\" )\n"
1303+ " print(\" -- Śliczne upierzenie,\" , type)\n"
1304+ " print(\" -- Ona\" , state, \" !\" )"
12991305
13001306msgid ""
13011307"accepts one required argument (``voltage``) and three optional arguments "
@@ -1317,6 +1323,13 @@ msgid ""
13171323"parrot('a thousand', state='pushing up the daisies') # 1 positional, 1 "
13181324"keyword"
13191325msgstr ""
1326+ "parrot(1000) # 1 argument "
1327+ "pozycyjny\n"
1328+ "parrot(voltage=1000) # 1 argument nazwany\n"
1329+ "parrot(voltage=1000000, action='FRUUUUU') # 2 argumenty nazwane\n"
1330+ "parrot(action='FRUUUUU', voltage=1000000) # 2 argumenty nazwane\n"
1331+ "parrot('miliona', 'wyzionęła ducha', 'hop') # 3 argumenty pozycyjne\n"
1332+ "parrot('tysiąca', state='wącha kwiatki') # 1 pozycyjny, 1 nazwany"
13201333
13211334msgid "but all the following calls would be invalid::"
13221335msgstr "ale wszystkie poniższe wywołania byłyby niepoprawne::"
@@ -1328,6 +1341,12 @@ msgid ""
13281341"parrot(110, voltage=220) # duplicate value for the same argument\n"
13291342"parrot(actor='John Cleese') # unknown keyword argument"
13301343msgstr ""
1344+ "parrot() # brakuje wymaganego argumentu\n"
1345+ "parrot(voltage=5.0, 'zdechła') # argument nie-nazwany za argumentem "
1346+ "nazwanym\n"
1347+ "parrot(110, voltage=220) # zduplikowana wartość dla tego samego "
1348+ "argumentu\n"
1349+ "parrot(actor='John Cleese') # nieznany argument nazwany"
13311350
13321351msgid ""
13331352"In a function call, keyword arguments must follow positional arguments. All "
0 commit comments