File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 90.77%" , "updated_at" : " 2023-09-16T23:56:54Z " }
1+ {"translation" : " 90.77%" , "updated_at" : " 2023-09-17T01:19:46Z " }
Original file line number Diff line number Diff line change @@ -168,19 +168,20 @@ msgstr "Python 2 的不同版本"
168168msgid ""
169169"Ideally, your code should be compatible with Python 2.7, which was the last "
170170"supported version of Python 2."
171- msgstr ""
171+ msgstr "在理想情况下,你的代码应当兼容 Python 2.7,这是 Python 2 最后一个受支持的版本。 "
172172
173173#: ../../howto/pyporting.rst:70
174174msgid ""
175175"Some of the tools mentioned in this guide will not work with Python 2.6."
176- msgstr ""
176+ msgstr "本指南中提到的某些工具将不适用于 Python 2.6。 "
177177
178178#: ../../howto/pyporting.rst:72
179179msgid ""
180180"If absolutely necessary, the six_ project can help you support Python 2.5 "
181181"and 3 simultaneously. Do realize, though, that nearly all the projects "
182182"listed in this guide will not be available to you."
183183msgstr ""
184+ "如果有绝对的必要,six_ 项目可以帮助您同时支持 Python 2.5 和 3。 但是,需要注意,本指南中列出的几乎所有项目你都将无法使用。"
184185
185186#: ../../howto/pyporting.rst:76
186187msgid ""
@@ -189,6 +190,8 @@ msgid ""
189190"method in some instances or have to import a function instead of using a "
190191"built-in one."
191192msgstr ""
193+ "如果你能跳过 Python 2.5 或更早版本,那么对代码的修改将是极其微小的。 "
194+ "在最坏的情况下你将必须使用函数来代替某些实例的方法或者必须导入函数而不是使用某个内置函数。"
192195
193196#: ../../howto/pyporting.rst:83
194197msgid ""
You can’t perform that action at this time.
0 commit comments