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

Commitd672a41

Browse files
committed
fix: resolve fuzzy entries
1 parent29c0512 commitd672a41

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

‎library/functions.po

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Project-Id-Version:Python 3.11\n"
1111
"Report-Msgid-Bugs-To:\n"
1212
"POT-Creation-Date:2023-01-03 00:16+0000\n"
13-
"PO-Revision-Date:2022-12-26 23:06+0800\n"
13+
"PO-Revision-Date:2023-01-04 14:53+0800\n"
1414
"Last-Translator:Phil Lin <linooohon@gmail.com>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1616
"tw)\n"
@@ -1597,9 +1597,12 @@ msgid ""
15971597
"(with no space in between), have leading zeros, be surrounded by whitespace, "
15981598
"and have single underscores interspersed between digits."
15991599
msgstr""
1600+
"如果 *x* 不是數字或如果有給定 *base*,則 *x* 必須是個字串、:class:`bytes` "
1601+
"或 :class:`bytearray` 實例,表示基數 (radix) *base* 中的整數。可選地,字串之"
1602+
"前可以有 ``+`` 或 ``-``\\ (中間沒有空格)、可有個前導的零、也可被空格包圍、"
1603+
"或在數字間有單一底線。"
16001604

16011605
#:../../library/functions.rst:900
1602-
#,fuzzy
16031606
msgid""
16041607
"A base-n integer string contains digits, each representing a value from 0 to "
16051608
"n-1. The values 0--9 can be represented by any Unicode decimal digit. The "
@@ -1612,15 +1615,14 @@ msgid ""
16121615
"prefix. Base 0 also disallows leading zeros: ``int('010', 0)`` is not legal, "
16131616
"while ``int('010')`` and ``int('010', 8)`` are."
16141617
msgstr""
1615-
"如果 *x* 不是數字,或者有 *base* 引數,*x* 必須是字串、:class:`bytes`、或進位"
1616-
"制為 *base* 的\\ :ref:`整數文字 <integers>`\\ 的 :class:`bytearray` 實例。該"
1617-
"文字前可以有 ``+`` 或 ``-``\\ (中間不能有空格),前後可以有空格。一個進製為 "
1618-
"n 的文字包含 0 到 n-1,其中 ``a`` 到 ``z``\\ (或 ``A`` 到 ``Z`` )表示 10 "
1619-
"到 35。預設的 *base* 為 10 。允許的進位制有 0、2–36。2、8、16 進位制的文字可"
1620-
"以在程式碼中用 ``0b``/``0B``、``0o``/``0O``、``0x``/``0X`` 前綴來表示,如同程"
1621-
"式碼中的整數文字。進位制為 0 將按照程式碼的字面進位制來直譯,最後的結果會是 "
1622-
"2、8、10、16 進制中的一個,所以 ``int('010', 0)`` 是非法的,但 "
1623-
"``int('010')`` 和 ``int('010', 8)`` 是有效的。"
1618+
"一個 n 進制的整數字串,包含各個代表 0 到 n-1 的數字,0–9 可以用任何 Unicode "
1619+
"十進制數字表示,10–35 可以用 ``a`` 到 ``z``\\ (或 ``A`` 到 ``Z``\\ )表示。"
1620+
"預設的 *base* 是 10。允許的進位制有 0、2–36。2、8、16 進位制的字串可以在程式"
1621+
"碼中用 ``0b``/``0B``、``0o``/``0O``、``0x``/``0X`` 前綴來表示,如同程式碼中的"
1622+
"整數文字。進位制為 0 的字串將以和\\ :ref:`程式碼整數字面值 (integer literal "
1623+
"in code) <integers>` 類似的方式來直譯,最後由前綴決定的結果會是 2、8、10、16 "
1624+
"進制中的一個,所以 ``int('010', 0)`` 是非法的,但 ``int('010')`` 和 "
1625+
"``int('010', 8)`` 是有效的。"
16241626

16251627
#:../../library/functions.rst:911
16261628
msgid"The integer type is described in :ref:`typesnumeric`."
@@ -1679,7 +1681,7 @@ msgstr ""
16791681

16801682
#:../../library/functions.rst:953../../library/functions.rst:967
16811683
msgid"*classinfo* can be a :ref:`types-union`."
1682-
msgstr""
1684+
msgstr"*classinfo* 可以是一個 :ref:`types-union`。"
16831685

16841686
#:../../library/functions.rst:959
16851687
msgid""

‎tutorial/appendix.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ msgid ""
151151
"script::"
152152
msgstr""
153153
"如果你想從當前目錄中讀取一個額外的啟動檔案,你可以在全域啟動檔案中使用類似 "
154-
"``if os.path.isfile(.pythonrc.py): exec(open(.pythonrc.py).read()`` 的程"
154+
"``if os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read()`` 的程"
155155
"式碼設定這個行為。如果你想在一個腳本中使用啟動檔案,你必須在腳本中明確地這樣"
156156
"做:\n"
157157
"\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp