Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0a0ee2

Browse files
committed
[po] auto sync bot
1 parent ff1701b commit e0a0ee2

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

tutorial/controlflow.po

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ msgid ""
369369
"The most useful form is to specify a default value for one or more "
370370
"arguments. This creates a function that can be called with fewer arguments "
371371
"than it is defined to allow. For example::"
372-
msgstr ""
372+
msgstr "最有用的形式是对一个或多个参数指定一个默认值。这样创建的函数,可以用比定义时允许的更少的参数调用,比如::"
373373

374374
#: ../../tutorial/controlflow.rst:379
375375
msgid "This function can be called in several ways:"
@@ -379,35 +379,37 @@ msgstr "这个函数可以通过几种方式调用:"
379379
msgid ""
380380
"giving only the mandatory argument: ``ask_ok('Do you really want to "
381381
"quit?')``"
382-
msgstr ""
382+
msgstr "只给出必需的参数:``ask_ok('Do you really want to quit?')``"
383383

384384
#: ../../tutorial/controlflow.rst:383
385385
msgid ""
386386
"giving one of the optional arguments: ``ask_ok('OK to overwrite the file?', "
387387
"2)``"
388-
msgstr ""
388+
msgstr "给出一个可选的参数:``ask_ok('OK to overwrite the file?', 2)``"
389389

390390
#: ../../tutorial/controlflow.rst:385
391391
msgid ""
392392
"or even giving all arguments: ``ask_ok('OK to overwrite the file?', 2, 'Come"
393393
" on, only yes or no!')``"
394394
msgstr ""
395+
"或者给出所有的参数:``ask_ok('OK to overwrite the file?', 2, 'Come on, only yes or "
396+
"no!')``"
395397

396398
#: ../../tutorial/controlflow.rst:388
397399
msgid ""
398400
"This example also introduces the :keyword:`in` keyword. This tests whether "
399401
"or not a sequence contains a certain value."
400-
msgstr ""
402+
msgstr "这个示例还介绍了 :keyword:`in` 关键字。它可以测试一个序列是否包含某个值。"
401403

402404
#: ../../tutorial/controlflow.rst:391
403405
msgid ""
404406
"The default values are evaluated at the point of function definition in the "
405407
"*defining* scope, so that ::"
406-
msgstr ""
408+
msgstr "默认值是在 *定义过程* 中在函数定义处计算的,所以 ::"
407409

408410
#: ../../tutorial/controlflow.rst:402
409411
msgid "will print ``5``."
410-
msgstr ""
412+
msgstr "会打印 ``5``。"
411413

412414
#: ../../tutorial/controlflow.rst:404
413415
msgid ""

0 commit comments

Comments
 (0)