|
6 | 6 | msgstr ""
|
7 | 7 | "Project-Id-Version: Python 3.13\n"
|
8 | 8 | "Report-Msgid-Bugs-To: \n"
|
9 |
| -"POT-Creation-Date: 2024-09-24 07:20+0000\n" |
| 9 | +"POT-Creation-Date: 2025-02-05 00:13+0000\n" |
10 | 10 | "PO-Revision-Date: 2018-05-23 16:20+0000\n"
|
11 | 11 | "Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
|
12 | 12 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
|
@@ -2345,7 +2345,7 @@ msgstr ""
|
2345 | 2345 |
|
2346 | 2346 | #: ../../whatsnew/2.7.rst:1605
|
2347 | 2347 | msgid ""
|
2348 |
| -"The :attr:`sys.version_info` value is now a named tuple, with attributes " |
| 2348 | +"The :data:`sys.version_info` value is now a named tuple, with attributes " |
2349 | 2349 | "named :attr:`!major`, :attr:`!minor`, :attr:`!micro`, :attr:`!releaselevel`, "
|
2350 | 2350 | "and :attr:`!serial`. (Contributed by Ross Light; :issue:`4285`.)"
|
2351 | 2351 | msgstr ""
|
@@ -2980,14 +2980,14 @@ msgid ""
|
2980 | 2980 | "ElementTree's code for converting trees to a string has been significantly "
|
2981 | 2981 | "reworked, making it roughly twice as fast in many cases. The :meth:"
|
2982 | 2982 | "`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
|
2983 |
| -"`Element.write` methods now have a *method* parameter that can be \"xml\" " |
2984 |
| -"(the default), \"html\", or \"text\". HTML mode will output empty elements " |
2985 |
| -"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over " |
2986 |
| -"elements and only output the text chunks. If you set the :attr:`~xml.etree." |
2987 |
| -"ElementTree.Element.tag` attribute of an element to ``None`` but leave its " |
2988 |
| -"children in place, the element will be omitted when the tree is written out, " |
2989 |
| -"so you don't need to do more extensive rearrangement to remove a single " |
2990 |
| -"element." |
| 2983 | +"`Element.write` methods now have a *method* parameter that can be " |
| 2984 | +"\"xml\" (the default), \"html\", or \"text\". HTML mode will output empty " |
| 2985 | +"elements as ``<empty></empty>`` instead of ``<empty/>``, and text mode will " |
| 2986 | +"skip over elements and only output the text chunks. If you set the :attr:" |
| 2987 | +"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but " |
| 2988 | +"leave its children in place, the element will be omitted when the tree is " |
| 2989 | +"written out, so you don't need to do more extensive rearrangement to remove " |
| 2990 | +"a single element." |
2991 | 2991 | msgstr ""
|
2992 | 2992 |
|
2993 | 2993 | #: ../../whatsnew/2.7.rst:2044
|
|
0 commit comments