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

Commitdebf960

Browse files
an-777ken71301
authored andcommitted
remove fuzzy
1 parentbf07e96 commitdebf960

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎faq/programming.po

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,6 @@ msgstr ""
12971297
"::"
12981298

12991299
#:../../faq/programming.rst:836
1300-
#,fuzzy
13011300
msgid""
13021301
"then integer division has to return the floor. C also requires that "
13031302
"identity to hold, and then compilers that truncate ``i // j`` need to make "
@@ -2811,20 +2810,17 @@ msgstr ""
28112810
"要檢查其 id 的物件仍然存在,請建立對該物件的另一個引用:"
28122811

28132812
#:../../faq/programming.rst:1829
2814-
#,fuzzy
28152813
msgid"When can I rely on identity tests with the *is* operator?"
28162814
msgstr"我什麼時候可以依靠 *is* 運算子進行識別性測試?"
28172815

28182816
#:../../faq/programming.rst:1831
2819-
#,fuzzy
28202817
msgid""
28212818
"The ``is`` operator tests for object identity. The test ``a is b`` is "
28222819
"equivalent to ``id(a) == id(b)``."
28232820
msgstr""
28242821
"``is`` 運算子測試物件識別性。測試 ``a is b`` 等同於 ``id(a) == id(b)`` 。"
28252822

28262823
#:../../faq/programming.rst:1834
2827-
#,fuzzy
28282824
msgid""
28292825
"The most important property of an identity test is that an object is always "
28302826
"identical to itself, ``a is a`` always returns ``True``. Identity tests are "
@@ -2836,7 +2832,6 @@ msgstr ""
28362832
"``True`` 或 ``False`` 。"
28372833

28382834
#:../../faq/programming.rst:1839
2839-
#,fuzzy
28402835
msgid""
28412836
"However, identity tests can *only* be substituted for equality tests when "
28422837
"object identity is assured. Generally, there are three circumstances where "
@@ -2846,15 +2841,13 @@ msgstr ""
28462841
"證識別性的情況有以下三種:"
28472842

28482843
#:../../faq/programming.rst:1843
2849-
#,fuzzy
28502844
msgid""
28512845
"1) Assignments create new names but do not change object identity. After "
28522846
"the assignment ``new = old``, it is guaranteed that ``new is old``."
28532847
msgstr""
28542848
"1) 賦值建立新名稱但不改變物件識別性。賦值``new = old``後,保證``new is old``。"
28552849

28562850
#:../../faq/programming.rst:1846
2857-
#,fuzzy
28582851
msgid""
28592852
"2) Putting an object in a container that stores object references does not "
28602853
"change object identity. After the list assignment ``s[0] = x``, it is "
@@ -2874,7 +2867,6 @@ msgstr ""
28742867
"和 ``b = None`` 之後,可以保證 ``a is b`` 因為 ``None`` 是單例。"
28752868

28762869
#:../../faq/programming.rst:1854
2877-
#,fuzzy
28782870
msgid""
28792871
"In most other circumstances, identity tests are inadvisable and equality "
28802872
"tests are preferred. In particular, identity tests should not be used to "
@@ -2895,14 +2887,12 @@ msgstr ""
28952887
"::"
28962888

28972889
#:../../faq/programming.rst:1878
2898-
#,fuzzy
28992890
msgid""
29002891
"In the standard library code, you will see several common patterns for "
29012892
"correctly using identity tests:"
29022893
msgstr"在標準函式庫程式碼中,你將看到幾種正確使用識別性測試的常見模式:"
29032894

29042895
#:../../faq/programming.rst:1881
2905-
#,fuzzy
29062896
msgid""
29072897
"1) As recommended by :pep:`8`, an identity test is the preferred way to "
29082898
"check for ``None``. This reads like plain English in code and avoids "
@@ -2927,7 +2917,6 @@ msgstr ""
29272917
"::"
29282918

29292919
#:../../faq/programming.rst:1901
2930-
#,fuzzy
29312920
msgid""
29322921
"3) Container implementations sometimes need to augment equality tests with "
29332922
"identity tests. This prevents the code from being confused by objects such "
@@ -3398,7 +3387,6 @@ msgstr ""
33983387
"::"
33993388

34003389
#:../../faq/programming.rst:2210
3401-
#,fuzzy
34023390
msgid""
34033391
"The nature of the problem is made clear if you print out the\"identity\" of "
34043392
"the class objects::"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp