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

format issue cleanup#858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cschan1828 merged 1 commit intopython:3.12fromcschan1828:cleanup
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletionsfaq/extending.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,10 +51,10 @@ msgstr "我可以在 C++ 中建立自己的函式嗎?"
#: ../../faq/extending.rst:28
#, fuzzy
msgid ""
"Yes, using the C compatibility features found in C++. Place ``extern "
"\"C\"{ ... }`` around the Python include files and put ``extern \"C\"`` "
"beforeeach function that is going to be called by the Python interpreter. "
"Globalor static C++ objects with constructors are probably not a good idea."
"Yes, using the C compatibility features found in C++. Place ``extern\"C\""
"{ ... }`` around the Python include files and put ``extern \"C\"`` before "
"each function that is going to be called by the Python interpreter. Global "
"or static C++ objects with constructors are probably not a good idea."
msgstr ""
"是的,使用 C++ 中的 C 相容性功能。將 ``extern \"C\" { ... }`` 放在 Python 包"
"含檔案周圍,並將 ``extern \"C\"`` 放在每個將由 Python 直譯器呼叫的函式之前。"
Expand Down
14 changes: 7 additions & 7 deletionshowto/regex.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -922,13 +922,13 @@ msgid ""
"letters, too. Full Unicode matching also works unless the :const:`ASCII` "
"flag is used to disable non-ASCII matches. When the Unicode patterns ``[a-"
"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, "
"they will match the 52 ASCII letters and 4 additional non-ASCII letters: "
"'İ'(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin "
"smallletter dotless i), 'ſ' (U+017F, Latin small letter long s) and "
"'K' (U+212A,Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This "
"lowercasingdoesn't take the current locale into account; it will if you "
"also set the :const:`LOCALE` flag."
"they will match the 52 ASCII letters and 4 additional non-ASCII letters:'İ'"
"(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin small "
"letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, "
"Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, ``'spAM'``, or "
"``'ſpam'`` (the latter is matched only in Unicode mode). This lowercasing "
"doesn't take the current locale into account; it will if youalso set the :"
"const:`LOCALE` flag."
msgstr ""

#: ../../howto/regex.rst:581
Expand Down
4 changes: 2 additions & 2 deletionslibrary/cmath.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -158,8 +158,8 @@ msgid ""
"specified, returns the natural logarithm of *x*. There is one branch cut, "
"from 0 along the negative real axis to -∞."
msgstr ""
"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在"
"一條分枝切割,從 0 沿負實數軸到 -∞。"
"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在一"
"條分枝切割,從 0 沿負實數軸到 -∞。"

#: ../../library/cmath.rst:114
msgid ""
Expand Down
4 changes: 2 additions & 2 deletionslibrary/exceptions.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -487,8 +487,8 @@ msgstr ""
#: ../../library/exceptions.rst:347
msgid ""
"This exception is raised when a system function returns a system-related "
"error, including I/O failures such as \"file not found\" or \"disk "
"full\"(not for illegal argument types or other incidental errors)."
"error, including I/O failures such as \"file not found\" or \"diskfull\""
"(not for illegal argument types or other incidental errors)."
msgstr ""

#: ../../library/exceptions.rst:351
Expand Down
8 changes: 4 additions & 4 deletionslibrary/re.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1080,10 +1080,10 @@ msgid ""
"Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in "
"combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII "
"letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital "
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), "
"'ſ'(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If "
"the :py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to "
"'Z'are matched."
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i),'ſ'"
"(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). Ifthe :"
"py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to 'Z' "
"are matched."
msgstr ""

#: ../../library/re.rst:778
Expand Down
6 changes: 3 additions & 3 deletionswhatsnew/2.3.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -654,9 +654,9 @@ msgstr ""
msgid ""
"When encoding a Unicode string into a byte string, unencodable characters "
"may be encountered. So far, Python has allowed specifying the error "
"processing as either \"strict\" (raising :exc:`UnicodeError`), "
"\"ignore\"(skipping the character), or \"replace\" (using a question mark "
"in theoutput string), with \"strict\" being the default behavior. It may be "
"processing as either \"strict\" (raising :exc:`UnicodeError`),\"ignore\""
"(skipping the character), or \"replace\" (using a question mark in the "
"output string), with \"strict\" being the default behavior. It may be "
"desirable to specify alternative processing of such errors, such as "
"inserting an XML character reference or HTML entity reference into the "
"converted string."
Expand Down
16 changes: 8 additions & 8 deletionswhatsnew/2.7.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2385,14 +2385,14 @@ msgid ""
"ElementTree's code for converting trees to a string has been significantly "
"reworked, making it roughly twice as fast in many cases. The :meth:"
"`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
"`Element.write` methods now have a *method* parameter that can be "
"\"xml\"(the default), \"html\", or \"text\". HTML mode will output empty "
"elementsas ``<empty></empty>`` instead of ``<empty/>``, and text mode will "
"skip overelements and only output the text chunks. If you set the :attr:"
"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but "
"leave itschildren in place, the element will be omitted when the tree is "
"written out,so you don't need to do more extensive rearrangement to remove "
"a singleelement."
"`Element.write` methods now have a *method* parameter that can be\"xml\""
"(the default), \"html\", or \"text\". HTML mode will output empty elements "
"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over "
"elements and only output the text chunks. If you set the :attr:`~xml.etree."
"ElementTree.Element.tag` attribute of an element to ``None`` but leave its "
"children in place, the element will be omitted when the tree is written out, "
"so you don't need to do more extensive rearrangement to remove a single "
"element."
msgstr ""

#: ../../whatsnew/2.7.rst:2045
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp