Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17298f1

Browse files
committed
[functions.po] Fix rst syntax and little bug
1 parentc98f1f7 commit17298f1

File tree

1 file changed

+30
-12
lines changed

1 file changed

+30
-12
lines changed

‎library/functions.po

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.7\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"POT-Creation-Date:2018-08-23 20:52+0800\n"
11-
"PO-Revision-Date:2018-09-30 10:43+0800\n"
11+
"PO-Revision-Date:2018-10-04 17:44+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -322,15 +322,19 @@ msgid ""
322322
"iterable is empty). Equivalent to::"
323323
msgstr""
324324
"如果 *iterable* 的所有元素皆為 True(或 iterable 為空),返回 ``True`` 。等價"
325-
"於:"
325+
"於:\n"
326+
"\n"
327+
"::"
326328

327329
#:../../library/functions.rst:64
328330
msgid""
329331
"Return ``True`` if any element of the *iterable* is true. If the iterable "
330332
"is empty, return ``False``. Equivalent to::"
331333
msgstr""
332334
"如果 *iterable* 的任一元素為 True,返回 ``True`` 。如果 iterable 為空,返回 "
333-
"``False``。等價於:"
335+
"``False``。等價於:\n"
336+
"\n"
337+
"::"
334338

335339
#:../../library/functions.rst:76
336340
msgid""
@@ -525,15 +529,17 @@ msgid ""
525529
"idiom::"
526530
msgstr""
527531
"一個類別方法把自己的類別作為第一個引數,就像一個實例方法把實例自己作為第一個"
528-
"引數。請用以下習慣來宣告類別方法:"
532+
"引數。請用以下習慣來宣告類別方法:\n"
533+
"\n"
534+
"::"
529535

530536
#:../../library/functions.rst:213
531537
msgid""
532538
"The ``@classmethod`` form is a function :term:`decorator` -- see the "
533539
"description of function definitions in :ref:`function` for details."
534540
msgstr""
535-
"``@classmethod`` 語法是一個函式 :term:`decorator` — 參見 :ref:`function`中關"
536-
"於函式定義的詳細介紹。"
541+
"``@classmethod`` 語法是一個函式 :term:`decorator` — 參見 :ref:`function`"
542+
"關於函式定義的詳細介紹。"
537543

538544
#:../../library/functions.rst:216
539545
msgid""
@@ -630,7 +636,7 @@ msgstr ""
630636
"引數 *optimize* 用來指定編譯器的最佳化級別;預設值 ``-1`` 選擇與直譯器的 :"
631637
"option:`-O` 選項相同的最佳化級別。其他級別為 ``0`` (沒有最佳化;"
632638
"``__debug__`` 為 True)、``1`` (斷言被刪除, ``__debug__`` 為 False)或 "
633-
"``2``(文件字串也被刪除)。"
639+
"``2``(文件字串也被刪除)。"
634640

635641
#:../../library/functions.rst:266
636642
msgid""
@@ -856,7 +862,10 @@ msgstr ""
856862

857863
#:../../library/functions.rst:421
858864
msgid"Equivalent to::"
859-
msgstr"等價於:"
865+
msgstr""
866+
"等價於:\n"
867+
"\n"
868+
"::"
860869

861870
#:../../library/functions.rst:432
862871
msgid""
@@ -1076,7 +1085,10 @@ msgstr "如果沒有引數,則返回 ``0.0`` 。"
10761085

10771086
#:../../library/functions.rst:564
10781087
msgid"Examples::"
1079-
msgstr"例如:"
1088+
msgstr""
1089+
"例如:\n"
1090+
"\n"
1091+
"::"
10801092

10811093
#:../../library/functions.rst:577
10821094
msgid"The float type is described in :ref:`typesnumeric`."
@@ -1270,7 +1282,9 @@ msgid ""
12701282
msgstr""
12711283
"如果有提供 *prompt* 引數,則將其寫入標準輸出,末尾不帶換行符。接下來,該函式"
12721284
"從輸入中讀取一行,將其轉換為字串(去除末尾的換行符)並返回。當讀取到 EOF 時,"
1273-
"則觸發 :exc:`EOFError`。例如:"
1285+
"則觸發 :exc:`EOFError`。例如:\n"
1286+
"\n"
1287+
"::"
12741288

12751289
#:../../library/functions.rst:732
12761290
msgid""
@@ -1396,7 +1410,9 @@ msgid ""
13961410
"string::"
13971411
msgstr""
13981412
":func:`iter` 的第二種形式的一個有用的應用是將檔案讀到特定行。在下面的例子中,"
1399-
"我們將讀取檔案,直到 :meth:`~io.TextIOBase.readline` 方法返回一個空字串:"
1413+
"我們將讀取檔案,直到 :meth:`~io.TextIOBase.readline` 方法返回一個空字串:\n"
1414+
"\n"
1415+
"::"
14001416

14011417
#:../../library/functions.rst:823
14021418
msgid""
@@ -1851,7 +1867,9 @@ msgid ""
18511867
"`os.open` function to open a file relative to a given directory::"
18521868
msgstr""
18531869
"下面的範例使用 :func:`os.open` 函式返回值當作 :ref:`dir_fd <dir_fd>` 的參數,"
1854-
"從給定的目錄中用相對路徑開啟檔案:"
1870+
"從給定的目錄中用相對路徑開啟檔案:\n"
1871+
"\n"
1872+
"::"
18551873

18561874
#:../../library/functions.rst:1124
18571875
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp