Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24165e5

Browse files
committed
fix: Apply suggestions from code review
1 parent1b2c863 commit24165e5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎reference/import.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgstr ""
77
"Project-Id-Version:Python 3.13\n"
88
"Report-Msgid-Bugs-To:\n"
99
"POT-Creation-Date:2024-09-03 11:11+0800\n"
10-
"PO-Revision-Date:2024-11-04 22:31+0800\n"
10+
"PO-Revision-Date:2024-11-06 14:55+0800\n"
1111
"Last-Translator:Ken Cheng <ken71301@gmail.com>\n"
1212
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1313
"tw)\n"
@@ -713,7 +713,7 @@ msgid ""
713713
"code example above), as summarized in a :ref:`later section <import-mod-"
714714
"attrs>`."
715715
msgstr""
716-
"模組建立後在執行之前,引入機制會設置與引入相關的模組屬性(在上面的偽程式碼"
716+
"模組建立後在執行之前,引入機制會設置與引入相關的模組屬性(在上面的偽程式碼"
717717
"範例中為\"_init_module_attrs\"),具體內容在\\ :ref:`之後的段落<import-mod-"
718718
"attrs>`\\ 會總結。"
719719

@@ -740,8 +740,8 @@ msgid ""
740740
"loaders. These were previously performed by the :meth:`importlib.abc.Loader."
741741
"load_module` method."
742742
msgstr""
743-
"引入系統已接管載入器中載入模組的功能。之前是由 :meth:`importlib.abc.Loader."
744-
"load_module` 方法執行的。"
743+
"引入系統已接管載入器的模板 (boilerplate) 責任。之前是由 :meth:`importlib.abc."
744+
"Loader.load_module` 方法執行的。"
745745

746746
#:../../reference/import.rst:412
747747
msgid"Loaders"
@@ -815,7 +815,7 @@ msgid ""
815815
"boilerplate responsibilities of loading."
816816
msgstr""
817817
":meth:`~importlib.abc.Loader.load_module` 方法已被 :meth:`~importlib.abc."
818-
"Loader.exec_module` 取代,引入機制已承擔所有載入的功能。"
818+
"Loader.exec_module` 取代,引入機制已承擔所有載入的模板責任。"
819819

820820
#:../../reference/import.rst:448
821821
msgid""
@@ -901,7 +901,7 @@ msgid ""
901901
"``spam.foo``, ``spam`` will have an attribute ``foo`` which is bound to the "
902902
"submodule. Let's say you have the following directory structure::"
903903
msgstr""
904-
"當使用任何機制(例如 ``importlib`` APIs``import`` 或 ``import-from`` 陳述"
904+
"當使用任何機制(例如 ``importlib`` APIs``import`` 或 ``import-from`` 陳述"
905905
"式,或內建的 ``__import__()``\\ )載入子模組時,會將子模組物件繫結到父模組的"
906906
"命名空間中。例如,如果套件 ``spam`` 有一個子模組 ``foo``,則在引入 ``spam."
907907
"foo`` 之後,``spam`` 將擁有一個名為 ``foo`` 的屬性,該屬性繫結到子模組。我們"
@@ -994,7 +994,7 @@ msgid ""
994994
"attr:`!__spec__` is :ref:`set to None in some cases <main_spec>`."
995995
msgstr""
996996
"模組的規格以 :attr:`module.__spec__` 的形式公開。適當地設定 :attr:`!"
997-
"__spec__` 同樣適用於\\ :ref:`在直譯器啟動期間初始化的模組<programs>`。唯一的"
997+
"__spec__` 同樣適用於\\ :ref:`在直譯器啟動期間初始化的模組<programs>`。唯一的"
998998
"例外是 ``__main__``,其中 :attr:`!__spec__` 會\\ :ref:`在某些情況下被設定成 "
999999
"None <main_spec>`。"
10001000

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp