File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -873,6 +873,8 @@ msgid ""
873873"``def`` and ``class`` statements, but in that case the value is a callable. "
874874"Consider the following code::"
875875msgstr ""
876+ "通常来说是做不到的,因为对象并不真正具有名称。 在本质上,赋值总是会将一个名称绑定到某个值;``def`` 和 ``class`` "
877+ "语句也是如此,但在这种情况下该值是一个可调用对象。 考虑以下代码::"
876878
877879#: ../../faq/programming.rst:677
878880msgid ""
@@ -999,7 +1001,7 @@ msgid ""
9991001"The slash at the end of the parameter list means that all three parameters "
10001002"are positional-only. Thus, calling :func:`pow` with keyword arguments would "
10011003"lead to an error::"
1002- msgstr ""
1004+ msgstr "在形参列表末尾的斜杠意味着所有三个形参都是仅限位置形参。 因此,附带关键字参数调用 :func:`pow` 将会导致报错:: "
10031005
10041006#: ../../faq/programming.rst:805
10051007msgid "Numbers and strings"
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ msgid ""
108108"prevents clashing with ``.env`` environment variable definition files that "
109109"some tooling supports."
110110msgstr ""
111+ "虚拟环境的常用目录位置是 ``.venv``。 这个名称通常会令该目录在你的终端中保持隐藏,从而避免需要对所在目录进行额外解释的一般名称。 "
112+ "它还能防止与某些工具所支持的 ``.env`` 环境变量定义文件发生冲突。"
111113
112114#: ../../tutorial/venv.rst:59
113115msgid "Once you've created a virtual environment, you may activate it."
You can’t perform that action at this time.
0 commit comments