Skip to content

Commit 4a13d5d

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent fbf8f17 commit 4a13d5d

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

faq/extending.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ msgstr ""
4545

4646
#: faq/extending.rst:28
4747
msgid ""
48-
"Yes, using the C compatibility features found in C++. Place ``extern \"C\" "
49-
"{ ... }`` around the Python include files and put ``extern \"C\"`` before "
50-
"each function that is going to be called by the Python interpreter. Global "
51-
"or static C++ objects with constructors are probably not a good idea."
48+
"Yes, using the C compatibility features found in C++. Place ``extern "
49+
"\"C\" { ... }`` around the Python include files and put ``extern \"C\"`` "
50+
"before each function that is going to be called by the Python interpreter. "
51+
"Global or static C++ objects with constructors are probably not a good idea."
5252
msgstr ""
5353

5454
#: faq/extending.rst:37

howto/regex.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -909,13 +909,13 @@ msgid ""
909909
"letters, too. Full Unicode matching also works unless the :const:`ASCII` "
910910
"flag is used to disable non-ASCII matches. When the Unicode patterns ``[a-"
911911
"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, "
912-
"they will match the 52 ASCII letters and 4 additional non-ASCII letters: 'İ' "
913-
"(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin small "
914-
"letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, "
915-
"Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, ``'spAM'``, or "
916-
"``'ſpam'`` (the latter is matched only in Unicode mode). This lowercasing "
917-
"doesn't take the current locale into account; it will if you also set the :"
918-
"const:`LOCALE` flag."
912+
"they will match the 52 ASCII letters and 4 additional non-ASCII letters: "
913+
"'İ' (U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin "
914+
"small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and "
915+
"'K' (U+212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
916+
"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This "
917+
"lowercasing doesn't take the current locale into account; it will if you "
918+
"also set the :const:`LOCALE` flag."
919919
msgstr ""
920920

921921
#: howto/regex.rst:581

library/exceptions.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@ msgstr ""
384384
#: library/exceptions.rst:347
385385
msgid ""
386386
"This exception is raised when a system function returns a system-related "
387-
"error, including I/O failures such as \"file not found\" or \"disk full\" "
388-
"(not for illegal argument types or other incidental errors)."
387+
"error, including I/O failures such as \"file not found\" or \"disk "
388+
"full\" (not for illegal argument types or other incidental errors)."
389389
msgstr ""
390390

391391
#: library/exceptions.rst:351

library/re.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,10 +1055,10 @@ msgid ""
10551055
"Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in "
10561056
"combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII "
10571057
"letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital "
1058-
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), 'ſ' "
1059-
"(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If the :"
1060-
"py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to 'Z' "
1061-
"are matched."
1058+
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), "
1059+
"'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If "
1060+
"the :py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to "
1061+
"'Z' are matched."
10621062
msgstr ""
10631063

10641064
#: library/re.rst:778

library/stdtypes.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5615,9 +5615,9 @@ msgstr ""
56155615

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

56235623
#: library/stdtypes.rst:5299

whatsnew/2.3.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,9 @@ msgstr ""
649649
msgid ""
650650
"When encoding a Unicode string into a byte string, unencodable characters "
651651
"may be encountered. So far, Python has allowed specifying the error "
652-
"processing as either \"strict\" (raising :exc:`UnicodeError`), \"ignore\" "
653-
"(skipping the character), or \"replace\" (using a question mark in the "
654-
"output string), with \"strict\" being the default behavior. It may be "
652+
"processing as either \"strict\" (raising :exc:`UnicodeError`), "
653+
"\"ignore\" (skipping the character), or \"replace\" (using a question mark "
654+
"in the output string), with \"strict\" being the default behavior. It may be "
655655
"desirable to specify alternative processing of such errors, such as "
656656
"inserting an XML character reference or HTML entity reference into the "
657657
"converted string."

whatsnew/2.7.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,14 +2376,14 @@ msgid ""
23762376
"ElementTree's code for converting trees to a string has been significantly "
23772377
"reworked, making it roughly twice as fast in many cases. The :meth:"
23782378
"`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
2379-
"`Element.write` methods now have a *method* parameter that can be \"xml\" "
2380-
"(the default), \"html\", or \"text\". HTML mode will output empty elements "
2381-
"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over "
2382-
"elements and only output the text chunks. If you set the :attr:`~xml.etree."
2383-
"ElementTree.Element.tag` attribute of an element to ``None`` but leave its "
2384-
"children in place, the element will be omitted when the tree is written out, "
2385-
"so you don't need to do more extensive rearrangement to remove a single "
2386-
"element."
2379+
"`Element.write` methods now have a *method* parameter that can be "
2380+
"\"xml\" (the default), \"html\", or \"text\". HTML mode will output empty "
2381+
"elements as ``<empty></empty>`` instead of ``<empty/>``, and text mode will "
2382+
"skip over elements and only output the text chunks. If you set the :attr:"
2383+
"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but "
2384+
"leave its children in place, the element will be omitted when the tree is "
2385+
"written out, so you don't need to do more extensive rearrangement to remove "
2386+
"a single element."
23872387
msgstr ""
23882388

23892389
#: whatsnew/2.7.rst:2045

0 commit comments

Comments
 (0)