Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[pre-commit.ci lite] apply automatic fixes
  • Loading branch information
pre-commit-ci-lite[bot] authored Aug 1, 2024
commit 4a13d5d6abab52d424546b128c87979b05a50f48
8 changes: 4 additions & 4 deletions faq/extending.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ msgstr ""

#: faq/extending.rst:28
msgid ""
"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."
"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 ""

#: faq/extending.rst:37
Expand Down
14 changes: 7 additions & 7 deletions howto/regex.po
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,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 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 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 you "
"also set the :const:`LOCALE` flag."
msgstr ""

#: howto/regex.rst:581
Expand Down
4 changes: 2 additions & 2 deletions library/exceptions.po
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,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 \"disk "
"full\" (not for illegal argument types or other incidental errors)."
msgstr ""

#: library/exceptions.rst:351
Expand Down
8 changes: 4 additions & 4 deletions library/re.po
Original file line number Diff line number Diff line change
Expand Up @@ -1055,10 +1055,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). If "
"the :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 deletions library/stdtypes.po
Original file line number Diff line number Diff line change
Expand Up @@ -5615,9 +5615,9 @@ msgstr ""

#: library/stdtypes.rst:5291
msgid ""
"Modules built into the interpreter are written like this: ``<module 'sys' "
"(built-in)>``. If loaded from a file, they are written as ``<module 'os' "
"from '/usr/local/lib/pythonX.Y/os.pyc'>``."
"Modules built into the interpreter are written like this: ``<module "
"'sys' (built-in)>``. If loaded from a file, they are written as ``<module "
"'os' from '/usr/local/lib/pythonX.Y/os.pyc'>``."
msgstr ""

#: library/stdtypes.rst:5299
Expand Down
6 changes: 3 additions & 3 deletions whatsnew/2.3.po
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,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 the "
"output 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 deletions whatsnew/2.7.po
Original file line number Diff line number Diff line change
Expand Up @@ -2376,14 +2376,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 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."
"`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