Skip to content

Commit 4a5e9ff

Browse files
sync with cpython 7a7da86d
1 parent 6955444 commit 4a5e9ff

3 files changed

Lines changed: 56 additions & 61 deletions

File tree

library/asyncio-tools.po

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-07-09 00:32+0000\n"
11+
"POT-Creation-Date: 2026-07-10 00:35+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -221,9 +221,3 @@ msgid ""
221221
"play TaskGroup._aexit -> TaskGroup."
222222
"__aexit__ -> album TMBTE 0x10a439d70"
223223
msgstr ""
224-
225-
#: ../../library/asyncio-tools.rst:154
226-
msgid ""
227-
"Retry failed attempts to inspect the target process up to *N* times. This "
228-
"can help when the target process changes while its state is being read."
229-
msgstr ""

library/tkinter.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-07-06 00:35+0000\n"
11+
"POT-Creation-Date: 2026-07-10 00:35+0000\n"
1212
"PO-Revision-Date: 2025-07-13 20:00+0800\n"
1313
"Last-Translator: Dr-XYZ <dr.xyz.tw@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3220,7 +3220,7 @@ msgid "Return the depth of the widget, that is, the number of bits per pixel."
32203220
msgstr ""
32213221

32223222
#: ../../library/tkinter.rst:1989
3223-
msgid "Return ``1`` if the widget exists, ``0`` otherwise."
3223+
msgid "Return true if the widget exists, false otherwise."
32243224
msgstr ""
32253225

32263226
#: ../../library/tkinter.rst:1993
@@ -3260,7 +3260,7 @@ msgid ""
32603260
msgstr ""
32613261

32623262
#: ../../library/tkinter.rst:2028
3263-
msgid "Return ``1`` if the widget is currently mapped, ``0`` otherwise."
3263+
msgid "Return true if the widget is currently mapped, false otherwise."
32643264
msgstr ""
32653265

32663266
#: ../../library/tkinter.rst:2032
@@ -3404,8 +3404,8 @@ msgstr ""
34043404

34053405
#: ../../library/tkinter.rst:2159
34063406
msgid ""
3407-
"Return ``1`` if the widget and all of its ancestors up through the nearest "
3408-
"toplevel window are mapped, ``0`` otherwise."
3407+
"Return true if the widget and all of its ancestors up through the nearest "
3408+
"toplevel window are mapped, false otherwise."
34093409
msgstr ""
34103410

34113411
#: ../../library/tkinter.rst:2164
@@ -7254,8 +7254,8 @@ msgstr ""
72547254

72557255
#: ../../library/tkinter.rst:5536
72567256
msgid ""
7257-
"If *arg* is omitted, return the current state of the modified flag as ``0`` "
7258-
"or ``1``; the flag is set automatically whenever the text is inserted or "
7257+
"If *arg* is omitted, return the current state of the modified flag as true "
7258+
"or false; the flag is set automatically whenever the text is inserted or "
72597259
"deleted. Otherwise set the flag to the boolean *arg*."
72607260
msgstr ""
72617261

library/urllib.parse.po

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2026-07-07 00:35+0000\n"
9+
"POT-Creation-Date: 2026-07-10 00:35+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:14+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -493,7 +493,7 @@ msgid ""
493493
"key, with ``&`` as the default separator."
494494
msgstr ""
495495

496-
#: ../../library/urllib.parse.rst:259 ../../library/urllib.parse.rst:720
496+
#: ../../library/urllib.parse.rst:259 ../../library/urllib.parse.rst:721
497497
msgid ""
498498
"Accepting objects with false values (like ``0`` and ``[]``) except empty "
499499
"strings and byte-like objects and ``None`` is now deprecated."
@@ -844,8 +844,8 @@ msgid ""
844844
"not be quoted --- its default value is ``'/'``."
845845
msgstr ""
846846

847-
#: ../../library/urllib.parse.rst:592 ../../library/urllib.parse.rst:638
848-
#: ../../library/urllib.parse.rst:667
847+
#: ../../library/urllib.parse.rst:592 ../../library/urllib.parse.rst:639
848+
#: ../../library/urllib.parse.rst:668
849849
msgid "*string* may be either a :class:`str` or a :class:`bytes` object."
850850
msgstr ""
851851

@@ -858,99 +858,100 @@ msgstr ""
858858
#: ../../library/urllib.parse.rst:598
859859
msgid ""
860860
"The optional *encoding* and *errors* parameters specify how to deal with non-"
861-
"ASCII characters, as accepted by the :meth:`str.encode` method. *encoding* "
862-
"defaults to ``'utf-8'``. *errors* defaults to ``'strict'``, meaning "
863-
"unsupported characters raise a :class:`UnicodeEncodeError`. *encoding* and "
864-
"*errors* must not be supplied if *string* is a :class:`bytes`, or a :class:"
865-
"`TypeError` is raised."
861+
"ASCII characters, as accepted by the :meth:`str.encode` method. Although "
862+
"these parameters default to ``None`` in the function signature, when "
863+
"processing :class:`str` inputs, *encoding* effectively defaults to "
864+
"``'utf-8'`` and *errors* to ``'strict'``, meaning unsupported characters "
865+
"raise a :class:`UnicodeEncodeError`. *encoding* and *errors* must not be "
866+
"supplied if *string* is a :class:`bytes`, or a :class:`TypeError` is raised."
866867
msgstr ""
867868

868-
#: ../../library/urllib.parse.rst:606
869+
#: ../../library/urllib.parse.rst:607
869870
msgid ""
870871
"Note that ``quote(string, safe, encoding, errors)`` is equivalent to "
871872
"``quote_from_bytes(string.encode(encoding, errors), safe)``."
872873
msgstr ""
873874

874-
#: ../../library/urllib.parse.rst:609
875+
#: ../../library/urllib.parse.rst:610
875876
msgid "Example: ``quote('/El Niño/')`` yields ``'/El%20Ni%C3%B1o/'``."
876877
msgstr ""
877878

878-
#: ../../library/urllib.parse.rst:614
879+
#: ../../library/urllib.parse.rst:615
879880
msgid ""
880881
"Like :func:`quote`, but also replace spaces with plus signs, as required for "
881882
"quoting HTML form values when building up a query string to go into a URL. "
882883
"Plus signs in the original string are escaped unless they are included in "
883884
"*safe*. It also does not have *safe* default to ``'/'``."
884885
msgstr ""
885886

886-
#: ../../library/urllib.parse.rst:619
887+
#: ../../library/urllib.parse.rst:620
887888
msgid "Example: ``quote_plus('/El Niño/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``."
888889
msgstr ""
889890

890-
#: ../../library/urllib.parse.rst:624
891+
#: ../../library/urllib.parse.rst:625
891892
msgid ""
892893
"Like :func:`quote`, but accepts a :class:`bytes` object rather than a :class:"
893894
"`str`, and does not perform string-to-bytes encoding."
894895
msgstr ""
895896

896-
#: ../../library/urllib.parse.rst:627
897+
#: ../../library/urllib.parse.rst:628
897898
msgid "Example: ``quote_from_bytes(b'a&\\xef')`` yields ``'a%26%EF'``."
898899
msgstr ""
899900

900-
#: ../../library/urllib.parse.rst:633
901+
#: ../../library/urllib.parse.rst:634
901902
msgid ""
902903
"Replace :samp:`%{xx}` escapes with their single-character equivalent. The "
903904
"optional *encoding* and *errors* parameters specify how to decode percent-"
904905
"encoded sequences into Unicode characters, as accepted by the :meth:`bytes."
905906
"decode` method."
906907
msgstr ""
907908

908-
#: ../../library/urllib.parse.rst:640
909+
#: ../../library/urllib.parse.rst:641
909910
msgid ""
910911
"*encoding* defaults to ``'utf-8'``. *errors* defaults to ``'replace'``, "
911912
"meaning invalid sequences are replaced by a placeholder character."
912913
msgstr ""
913914

914-
#: ../../library/urllib.parse.rst:644
915+
#: ../../library/urllib.parse.rst:645
915916
msgid "Example: ``unquote('/El%20Ni%C3%B1o/')`` yields ``'/El Niño/'``."
916917
msgstr ""
917918

918-
#: ../../library/urllib.parse.rst:646
919+
#: ../../library/urllib.parse.rst:647
919920
msgid ""
920921
"*string* parameter supports bytes and str objects (previously only str)."
921922
msgstr ""
922923

923-
#: ../../library/urllib.parse.rst:654
924+
#: ../../library/urllib.parse.rst:655
924925
msgid ""
925926
"Like :func:`unquote`, but also replace plus signs with spaces, as required "
926927
"for unquoting HTML form values."
927928
msgstr ""
928929

929-
#: ../../library/urllib.parse.rst:657
930+
#: ../../library/urllib.parse.rst:658
930931
msgid "*string* must be a :class:`str`."
931932
msgstr ""
932933

933-
#: ../../library/urllib.parse.rst:659
934+
#: ../../library/urllib.parse.rst:660
934935
msgid "Example: ``unquote_plus('/El+Ni%C3%B1o/')`` yields ``'/El Niño/'``."
935936
msgstr ""
936937

937-
#: ../../library/urllib.parse.rst:664
938+
#: ../../library/urllib.parse.rst:665
938939
msgid ""
939940
"Replace :samp:`%{xx}` escapes with their single-octet equivalent, and return "
940941
"a :class:`bytes` object."
941942
msgstr ""
942943

943-
#: ../../library/urllib.parse.rst:669
944+
#: ../../library/urllib.parse.rst:670
944945
msgid ""
945946
"If it is a :class:`str`, unescaped non-ASCII characters in *string* are "
946947
"encoded into UTF-8 bytes."
947948
msgstr ""
948949

949-
#: ../../library/urllib.parse.rst:672
950+
#: ../../library/urllib.parse.rst:673
950951
msgid "Example: ``unquote_to_bytes('a%26%EF')`` yields ``b'a&\\xef'``."
951952
msgstr ""
952953

953-
#: ../../library/urllib.parse.rst:678
954+
#: ../../library/urllib.parse.rst:679
954955
msgid ""
955956
"Convert a mapping object or a sequence of two-element tuples, which may "
956957
"contain :class:`str` or :class:`bytes` objects, to a percent-encoded ASCII "
@@ -959,7 +960,7 @@ msgid ""
959960
"be encoded to bytes, otherwise it would result in a :exc:`TypeError`."
960961
msgstr ""
961962

962-
#: ../../library/urllib.parse.rst:685
963+
#: ../../library/urllib.parse.rst:686
963964
msgid ""
964965
"The resulting string is a series of ``key=value`` pairs separated by ``'&'`` "
965966
"characters, where both *key* and *value* are quoted using the *quote_via* "
@@ -972,7 +973,7 @@ msgid ""
972973
"``quote`` and specify a value for *safe*."
973974
msgstr ""
974975

975-
#: ../../library/urllib.parse.rst:695
976+
#: ../../library/urllib.parse.rst:696
976977
msgid ""
977978
"When a sequence of two-element tuples is used as the *query* argument, the "
978979
"first element of each tuple is a key and the second is a value. The value "
@@ -983,99 +984,99 @@ msgid ""
983984
"order of parameter tuples in the sequence."
984985
msgstr ""
985986

986-
#: ../../library/urllib.parse.rst:703
987+
#: ../../library/urllib.parse.rst:704
987988
msgid ""
988989
"The *safe*, *encoding*, and *errors* parameters are passed down to "
989990
"*quote_via* (the *encoding* and *errors* parameters are only passed when a "
990991
"query element is a :class:`str`)."
991992
msgstr ""
992993

993-
#: ../../library/urllib.parse.rst:707
994+
#: ../../library/urllib.parse.rst:708
994995
msgid ""
995996
"To reverse this encoding process, :func:`parse_qs` and :func:`parse_qsl` are "
996997
"provided in this module to parse query strings into Python data structures."
997998
msgstr ""
998999

999-
#: ../../library/urllib.parse.rst:710
1000+
#: ../../library/urllib.parse.rst:711
10001001
msgid ""
10011002
"Refer to :ref:`urllib examples <urllib-examples>` to find out how the :func:"
10021003
"`urllib.parse.urlencode` method can be used for generating the query string "
10031004
"of a URL or data for a POST request."
10041005
msgstr ""
10051006

1006-
#: ../../library/urllib.parse.rst:714
1007+
#: ../../library/urllib.parse.rst:715
10071008
msgid "*query* supports bytes and string objects."
10081009
msgstr ""
10091010

1010-
#: ../../library/urllib.parse.rst:717
1011+
#: ../../library/urllib.parse.rst:718
10111012
msgid "Added the *quote_via* parameter."
10121013
msgstr "新增 *quote_via* 參數。"
10131014

1014-
#: ../../library/urllib.parse.rst:727
1015+
#: ../../library/urllib.parse.rst:728
10151016
msgid "`WHATWG`_ - URL Living standard"
10161017
msgstr ""
10171018

1018-
#: ../../library/urllib.parse.rst:728
1019+
#: ../../library/urllib.parse.rst:729
10191020
msgid ""
10201021
"Working Group for the URL Standard that defines URLs, domains, IP addresses, "
10211022
"the application/x-www-form-urlencoded format, and their API."
10221023
msgstr ""
10231024

1024-
#: ../../library/urllib.parse.rst:731
1025+
#: ../../library/urllib.parse.rst:732
10251026
msgid ":rfc:`3986` - Uniform Resource Identifiers"
10261027
msgstr ":rfc:`3986` - 統一資源識別碼"
10271028

1028-
#: ../../library/urllib.parse.rst:732
1029+
#: ../../library/urllib.parse.rst:733
10291030
msgid ""
10301031
"This is the current standard (STD66). Any changes to urllib.parse module "
10311032
"should conform to this. Certain deviations could be observed, which are "
10321033
"mostly for backward compatibility purposes and for certain de-facto parsing "
10331034
"requirements as commonly observed in major browsers."
10341035
msgstr ""
10351036

1036-
#: ../../library/urllib.parse.rst:737
1037+
#: ../../library/urllib.parse.rst:738
10371038
msgid ":rfc:`2732` - Format for Literal IPv6 Addresses in URL's."
10381039
msgstr ""
10391040

1040-
#: ../../library/urllib.parse.rst:738
1041+
#: ../../library/urllib.parse.rst:739
10411042
msgid "This specifies the parsing requirements of IPv6 URLs."
10421043
msgstr ""
10431044

1044-
#: ../../library/urllib.parse.rst:740
1045+
#: ../../library/urllib.parse.rst:741
10451046
msgid ":rfc:`2396` - Uniform Resource Identifiers (URI): Generic Syntax"
10461047
msgstr ":rfc:`2396` - 統一資源識別碼 (URI):通用語法"
10471048

1048-
#: ../../library/urllib.parse.rst:741
1049+
#: ../../library/urllib.parse.rst:742
10491050
msgid ""
10501051
"Document describing the generic syntactic requirements for both Uniform "
10511052
"Resource Names (URNs) and Uniform Resource Locators (URLs)."
10521053
msgstr ""
10531054

1054-
#: ../../library/urllib.parse.rst:744
1055+
#: ../../library/urllib.parse.rst:745
10551056
msgid ":rfc:`2368` - The mailto URL scheme."
10561057
msgstr ""
10571058

1058-
#: ../../library/urllib.parse.rst:745
1059+
#: ../../library/urllib.parse.rst:746
10591060
msgid "Parsing requirements for mailto URL schemes."
10601061
msgstr ""
10611062

1062-
#: ../../library/urllib.parse.rst:747
1063+
#: ../../library/urllib.parse.rst:748
10631064
msgid ":rfc:`1808` - Relative Uniform Resource Locators"
10641065
msgstr ""
10651066
":rfc:`1808` - 相對的統一資源定位器 (Relative Uniform Resource Locators)"
10661067

1067-
#: ../../library/urllib.parse.rst:748
1068+
#: ../../library/urllib.parse.rst:749
10681069
msgid ""
10691070
"This Request For Comments includes the rules for joining an absolute and a "
10701071
"relative URL, including a fair number of \"Abnormal Examples\" which govern "
10711072
"the treatment of border cases."
10721073
msgstr ""
10731074

1074-
#: ../../library/urllib.parse.rst:752
1075+
#: ../../library/urllib.parse.rst:753
10751076
msgid ":rfc:`1738` - Uniform Resource Locators (URL)"
10761077
msgstr ":rfc:`1738` - 統一資源定位器 (URL, Uniform Resource Locators)"
10771078

1078-
#: ../../library/urllib.parse.rst:753
1079+
#: ../../library/urllib.parse.rst:754
10791080
msgid "This specifies the formal syntax and semantics of absolute URLs."
10801081
msgstr ""
10811082

0 commit comments

Comments
 (0)