Skip to content

Commit ef611df

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython d95df6a7
1 parent c581434 commit ef611df

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tutorial/datastructures.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-12-03 00:15+0000\n"
15+
"POT-Creation-Date: 2024-12-07 00:14+0000\n"
1616
"PO-Revision-Date: 2024-01-22 21:43+0800\n"
1717
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
1818
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -194,9 +194,9 @@ msgstr "將 List 作為 Stack(堆疊)使用"
194194
msgid ""
195195
"The list methods make it very easy to use a list as a stack, where the last "
196196
"element added is the first element retrieved (\"last-in, first-out\"). To "
197-
"add an item to the top of the stack, use :meth:`!~list.append`. To retrieve "
198-
"an item from the top of the stack, use :meth:`!~list.pop` without an "
199-
"explicit index. For example::"
197+
"add an item to the top of the stack, use :meth:`!append`. To retrieve an "
198+
"item from the top of the stack, use :meth:`!pop` without an explicit index. "
199+
"For example::"
200200
msgstr ""
201201
"List 的操作方法使得它非常簡單可以用來實作 stack(堆疊)。Stack 為一個遵守最後"
202202
"加入元素最先被取回(後進先出,\"last-in, first-out\")規則的資料結構。你可以"
@@ -559,9 +559,9 @@ msgstr ":keyword:`!del` 陳述式"
559559
#, fuzzy
560560
msgid ""
561561
"There is a way to remove an item from a list given its index instead of its "
562-
"value: the :keyword:`del` statement. This differs from the :meth:`!~list."
563-
"pop` method which returns a value. The :keyword:`!del` statement can also "
564-
"be used to remove slices from a list or clear the entire list (which we did "
562+
"value: the :keyword:`del` statement. This differs from the :meth:`!pop` "
563+
"method which returns a value. The :keyword:`!del` statement can also be "
564+
"used to remove slices from a list or clear the entire list (which we did "
565565
"earlier by assignment of an empty list to the slice). For example::"
566566
msgstr ""
567567
"有一個方法可以藉由索引而不是值來刪除 list 中的項目::keyword:`del` 陳述式。這"
@@ -826,7 +826,7 @@ msgid ""
826826
"tuple contains any mutable object either directly or indirectly, it cannot "
827827
"be used as a key. You can't use lists as keys, since lists can be modified "
828828
"in place using index assignments, slice assignments, or methods like :meth:`!"
829-
"~list.append` and :meth:`!~list.extend`."
829+
"append` and :meth:`!extend`."
830830
msgstr ""
831831
"下一個常用的 Python 內建資料類型為 *dictionary*\\ (請參考\\ :ref:"
832832
"`typesmapping`\\ )。 Dictionary 有時被稱為「關聯記憶體」(associative "

0 commit comments

Comments
 (0)