File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ msgstr ""
667
667
668
668
#: ../../faq/design.rst:386
669
669
msgid "Why isn't all memory freed when CPython exits?"
670
- msgstr "當CPython結束時 ,為何所有的記憶體不會被釋放?"
670
+ msgstr "當 CPython 結束時 ,為何所有的記憶體不會被釋放?"
671
671
672
672
#: ../../faq/design.rst:388
673
673
msgid ""
@@ -678,12 +678,18 @@ msgid ""
678
678
"about these). Python is, however, aggressive about cleaning up memory on "
679
679
"exit and does try to destroy every single object."
680
680
msgstr ""
681
+ "當離開 Python 時,從 Python 模組的全域命名空間來的物件並非總是會被釋放。在有"
682
+ "循環引用的時候,這可能會發生。有些記憶體是被 C 函式庫取用的,他們不可能被釋放"
683
+ "(例如:像是 Purify 之類的工具會抱怨)。然而,Python 在關閉的時候會積極清理記"
684
+ "憶體並嘗試刪除每個物件。"
681
685
682
686
#: ../../faq/design.rst:395
683
687
msgid ""
684
688
"If you want to force Python to delete certain things on deallocation use "
685
689
"the :mod:`atexit` module to run a function that will force those deletions."
686
690
msgstr ""
691
+ "如果你想要強迫 Python 在釋放記憶體時刪除特定的東西,你可以用 :mod:`atexit` 模"
692
+ "組來執行會強制刪除的函式。"
687
693
688
694
#: ../../faq/design.rst:400
689
695
msgid "Why are there separate tuple and list data types?"
You can’t perform that action at this time.
0 commit comments