@@ -7,7 +7,7 @@ msgstr ""
7
7
"Project-Id-Version : Python 3.13\n "
8
8
"Report-Msgid-Bugs-To : \n "
9
9
"POT-Creation-Date : 2024-09-03 11:11+0800\n "
10
- "PO-Revision-Date : 2024-11-04 22:16 +0800\n "
10
+ "PO-Revision-Date : 2024-11-04 22:31 +0800\n "
11
11
"Last-Translator : Ken Cheng <ken71301@gmail.com>\n "
12
12
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
13
13
"tw)\n "
@@ -983,7 +983,7 @@ msgid ""
983
983
"a module spec the loader had that responsibility."
984
984
msgstr ""
985
985
"在引入過程中使用規格允許在引入系統的各個組件之間傳遞狀態,例如在建立模組規格"
986
- "的尋檢器和執行該規格的載入器之間傳遞。最重要的是,這允許引入機制執行載入的樣 "
986
+ "的尋檢器和執行該規格的載入器之間傳遞。最重要的是,這允許引入機制執行載入的模 "
987
987
"板操作,而在沒有模組規格的情況下,這些操作則是載入器的責任。"
988
988
989
989
#: ../../reference/import.rst:532
@@ -993,14 +993,17 @@ msgid ""
993
993
"interpreter startup <programs>`. The one exception is ``__main__``, where :"
994
994
"attr:`!__spec__` is :ref:`set to None in some cases <main_spec>`."
995
995
msgstr ""
996
- "模組的規格以 ``__spec__`` 屬性的形式公開在模組物件上。有關模組規格內容的詳細"
997
- "資訊,請參閱 :class:`~importlib.machinery.ModuleSpec`。"
996
+ "模組的規格以 :attr:`module.__spec__` 的形式公開。適當地設定 :attr:`!"
997
+ "__spec__` 同樣適用於\\ :ref:`在直譯器啟動期間初始化的模組<programs>`。唯一的"
998
+ "例外是 ``__main__``,其中 :attr:`!__spec__` 會\\ :ref:`在某些情況下被設定成 "
999
+ "None <main_spec>`。"
998
1000
999
1001
#: ../../reference/import.rst:538
1000
1002
msgid ""
1001
1003
"See :class:`~importlib.machinery.ModuleSpec` for details on the contents of "
1002
1004
"the module spec."
1003
1005
msgstr ""
1006
+ "有關模組規格內容的詳細資訊,請參閱 :class:`~importlib.machinery.ModuleSpec`。"
1004
1007
1005
1008
#: ../../reference/import.rst:546
1006
1009
msgid "__path__ attributes on modules"
0 commit comments