Skip to content

Commit b00cadb

Browse files
[po] auto sync
1 parent 25ab42c commit b00cadb

3 files changed

Lines changed: 24 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "2.50%", "updated_at": "2025-12-20T01:43:02Z"}
1+
{"translation": "2.51%", "updated_at": "2025-12-20T11:20:29Z"}

reference/simple_stmts.mo

3.67 KB
Binary file not shown.

reference/simple_stmts.po

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,46 +648,66 @@ msgid ""
648648
"that failed in the error message; it will be displayed as part of the stack "
649649
"trace."
650650
msgstr ""
651+
"Этот эквивалентный код предполагает, что :const:`__debug__` и "
652+
":exc:`AssertionError` ссылаются на одноимённые встроенные переменные. В "
653+
"текущей реализации встроенная переменная ``__debug__`` имеет значение "
654+
"``True`` при обычном запуске и ``False``, когда запрошена оптимизация (опция"
655+
" командной строки :option:`-O`). Текущий генератор кода не создаёт никакого "
656+
"кода для инструкции :keyword:`assert`, если оптимизация запрошена во время "
657+
"компиляции. Обратите внимание, что нет необходимости включать исходный код "
658+
"выражения, которое не прошло проверку, в сообщение об ошибке; он будет "
659+
"отображён как часть трассировки стека."
651660

652661
#: ../../reference/simple_stmts.rst:418
653662
msgid ""
654663
"Assignments to :const:`__debug__` are illegal. The value for the built-in "
655664
"variable is determined when the interpreter starts."
656665
msgstr ""
666+
"Присваивания :const:`__debug__` недопустимы. Значение этой встроенной "
667+
"переменной определяется при запуске интерпретатора."
657668

658669
#: ../../reference/simple_stmts.rst:425
659670
msgid "The :keyword:`!pass` statement"
660-
msgstr ""
671+
msgstr "Инструкция :keyword:`!pass`"
661672

662673
#: ../../reference/simple_stmts.rst:435
663674
msgid ""
664675
":keyword:`pass` is a null operation --- when it is executed, nothing "
665676
"happens. It is useful as a placeholder when a statement is required "
666677
"syntactically, but no code needs to be executed, for example::"
667678
msgstr ""
679+
"Инструкция :keyword:`pass` — это пустая операция. При её выполнении ничего "
680+
"не происходит. Она полезна как заглушка в тех случаях, когда синтаксически "
681+
"требуется инструкция, но выполнять никакой код не нужно, например::"
668682

669683
#: ../../reference/simple_stmts.rst:439
670684
msgid ""
671685
"def f(arg): pass # a function that does nothing (yet)\n"
672686
"\n"
673687
"class C: pass # a class with no methods (yet)"
674688
msgstr ""
689+
"def f(arg): pass # функция, которая (пока) ничего не делает\n"
690+
"\n"
691+
"class C: pass # класс без методов (пока)"
675692

676693
#: ../../reference/simple_stmts.rst:447
677694
msgid "The :keyword:`!del` statement"
678-
msgstr ""
695+
msgstr "Инструкция :keyword:`!del`"
679696

680697
#: ../../reference/simple_stmts.rst:457
681698
msgid ""
682699
"Deletion is recursively defined very similar to the way assignment is "
683700
"defined. Rather than spelling it out in full details, here are some hints."
684701
msgstr ""
702+
"Удаление определяется рекурсивно, очень похоже на то, как определяется "
703+
"присваивание. Вместо подробного изложения всех деталей ниже приведены "
704+
"некоторые пояснения."
685705

686706
#: ../../reference/simple_stmts.rst:460
687707
msgid ""
688708
"Deletion of a target list recursively deletes each target, from left to "
689709
"right."
690-
msgstr ""
710+
msgstr "Удаление списка целей рекурсивно удаляет каждую цель слева направо."
691711

692712
#: ../../reference/simple_stmts.rst:466
693713
msgid ""

0 commit comments

Comments
 (0)