Skip to content

Commit

Permalink
sync with cpython 916cedb6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 7, 2024
1 parent 133be7d commit 9a1f773
Show file tree
Hide file tree
Showing 189 changed files with 50,431 additions and 1,536 deletions.
592 changes: 591 additions & 1 deletion extending/extending.po

Large diffs are not rendered by default.

367 changes: 366 additions & 1 deletion extending/newtypes.po

Large diffs are not rendered by default.

216 changes: 215 additions & 1 deletion faq/design.po

Large diffs are not rendered by default.

30 changes: 29 additions & 1 deletion faq/general.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-26 00:03+0000\n"
"POT-Creation-Date: 2024-09-07 00:03+0000\n"
"PO-Revision-Date: 2023-06-23 16:56+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -807,6 +807,34 @@ msgstr ""
"行直譯器的視窗,同時在另一個視窗中輸入他們的程式原始碼。如果他們不記得 list"
"(串列)的 method(方法),他們可以像這樣做: ::"

#: ../../faq/general.rst:412
msgid ""
">>> L = []\n"
">>> dir(L) \n"
"['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',\n"
"'__dir__', '__doc__', '__eq__', '__format__', '__ge__',\n"
"'__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__',\n"
"'__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__',\n"
"'__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',\n"
"'__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__',\n"
"'__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',\n"
"'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove',\n"
"'reverse', 'sort']\n"
">>> [d for d in dir(L) if '__' not in d]\n"
"['append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', "
"'remove', 'reverse', 'sort']\n"
"\n"
">>> help(L.append)\n"
"Help on built-in function append:\n"
"\n"
"append(...)\n"
" L.append(object) -> None -- append object to end\n"
"\n"
">>> L.append(1)\n"
">>> L\n"
"[1]"
msgstr ""

#: ../../faq/general.rst:436
msgid ""
"With the interpreter, documentation is never far from the student as they "
Expand Down
Loading

0 comments on commit 9a1f773

Please sign in to comment.