Skip to content

Commit a577588

Browse files
sync with cpython 6b8a9a10
1 parent 6922a5b commit a577588

File tree

3 files changed

+47
-40
lines changed

3 files changed

+47
-40
lines changed

howto/isolating-extensions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-12-27 00:03+0000\n"
11+
"POT-Creation-Date: 2024-08-03 00:03+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 <[email protected]>\n"
@@ -444,8 +444,8 @@ msgstr ""
444444

445445
#: ../../howto/isolating-extensions.rst:342
446446
msgid ""
447-
"Please refer to the the documentation of :c:macro:`Py_TPFLAGS_HAVE_GC` and :"
448-
"c:member:`~PyTypeObject.tp_traverse` for additional considerations."
447+
"Please refer to the documentation of :c:macro:`Py_TPFLAGS_HAVE_GC` and :c:"
448+
"member:`~PyTypeObject.tp_traverse` for additional considerations."
449449
msgstr ""
450450

451451
#: ../../howto/isolating-extensions.rst:346

library/logging.config.po

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
9+
"POT-Creation-Date: 2024-08-03 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:05+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -867,84 +867,91 @@ msgstr ""
867867

868868
#: ../../library/logging.config.rst:755
869869
msgid ""
870-
"An actual instance of :class:`queue.Queue` or a subclass thereof. This is of "
871-
"course only possible if you are constructing or modifying the configuration "
872-
"dictionary in code."
870+
"An object implementing the :class:`queue.Queue` public API. For instance, "
871+
"this may be an actual instance of :class:`queue.Queue` or a subclass "
872+
"thereof, or a proxy obtained by :meth:`multiprocessing.managers.SyncManager."
873+
"Queue`."
873874
msgstr ""
874875

875876
#: ../../library/logging.config.rst:759
876877
msgid ""
878+
"This is of course only possible if you are constructing or modifying the "
879+
"configuration dictionary in code."
880+
msgstr ""
881+
882+
#: ../../library/logging.config.rst:762
883+
msgid ""
877884
"A string that resolves to a callable which, when called with no arguments, "
878885
"returns the :class:`queue.Queue` instance to use. That callable could be a :"
879886
"class:`queue.Queue` subclass or a function which returns a suitable queue "
880887
"instance, such as ``my.module.queue_factory()``."
881888
msgstr ""
882889

883-
#: ../../library/logging.config.rst:764
890+
#: ../../library/logging.config.rst:767
884891
msgid ""
885892
"A dict with a ``'()'`` key which is constructed in the usual way as "
886893
"discussed in :ref:`logging-config-dict-userdef`. The result of this "
887894
"construction should be a :class:`queue.Queue` instance."
888895
msgstr ""
889896

890-
#: ../../library/logging.config.rst:768
897+
#: ../../library/logging.config.rst:771
891898
msgid ""
892899
"If the ``queue`` key is absent, a standard unbounded :class:`queue.Queue` "
893900
"instance is created and used."
894901
msgstr ""
895902

896-
#: ../../library/logging.config.rst:771
903+
#: ../../library/logging.config.rst:774
897904
msgid ""
898905
"If the ``listener`` key is present, the corresponding value can be one of "
899906
"the following:"
900907
msgstr ""
901908

902-
#: ../../library/logging.config.rst:773
909+
#: ../../library/logging.config.rst:776
903910
msgid ""
904911
"A subclass of :class:`logging.handlers.QueueListener`. This is of course "
905912
"only possible if you are constructing or modifying the configuration "
906913
"dictionary in code."
907914
msgstr ""
908915

909-
#: ../../library/logging.config.rst:777
916+
#: ../../library/logging.config.rst:780
910917
msgid ""
911918
"A string which resolves to a class which is a subclass of ``QueueListener``, "
912919
"such as ``'my.package.CustomListener'``."
913920
msgstr ""
914921

915-
#: ../../library/logging.config.rst:780
922+
#: ../../library/logging.config.rst:783
916923
msgid ""
917924
"A dict with a ``'()'`` key which is constructed in the usual way as "
918925
"discussed in :ref:`logging-config-dict-userdef`. The result of this "
919926
"construction should be a callable with the same signature as the "
920927
"``QueueListener`` initializer."
921928
msgstr ""
922929

923-
#: ../../library/logging.config.rst:784
930+
#: ../../library/logging.config.rst:787
924931
msgid ""
925932
"If the ``listener`` key is absent, :class:`logging.handlers.QueueListener` "
926933
"is used."
927934
msgstr ""
928935

929-
#: ../../library/logging.config.rst:786
936+
#: ../../library/logging.config.rst:789
930937
msgid ""
931938
"The values under the ``handlers`` key are the names of other handlers in the "
932939
"configuration (not shown in the above snippet) which will be passed to the "
933940
"queue listener."
934941
msgstr ""
935942

936-
#: ../../library/logging.config.rst:790
943+
#: ../../library/logging.config.rst:793
937944
msgid ""
938945
"Any custom queue handler and listener classes will need to be defined with "
939946
"the same initialization signatures as :class:`~logging.handlers."
940947
"QueueHandler` and :class:`~logging.handlers.QueueListener`."
941948
msgstr ""
942949

943-
#: ../../library/logging.config.rst:799
950+
#: ../../library/logging.config.rst:802
944951
msgid "Configuration file format"
945952
msgstr ""
946953

947-
#: ../../library/logging.config.rst:801
954+
#: ../../library/logging.config.rst:804
948955
msgid ""
949956
"The configuration file format understood by :func:`fileConfig` is based on :"
950957
"mod:`configparser` functionality. The file must contain sections called "
@@ -961,7 +968,7 @@ msgid ""
961968
"specified in a section called ``[logger_root]``."
962969
msgstr ""
963970

964-
#: ../../library/logging.config.rst:816
971+
#: ../../library/logging.config.rst:819
965972
msgid ""
966973
"The :func:`fileConfig` API is older than the :func:`dictConfig` API and does "
967974
"not provide functionality to cover certain aspects of logging. For example, "
@@ -974,39 +981,39 @@ msgid ""
974981
"when it's convenient to do so."
975982
msgstr ""
976983

977-
#: ../../library/logging.config.rst:826
984+
#: ../../library/logging.config.rst:829
978985
msgid "Examples of these sections in the file are given below."
979986
msgstr ""
980987

981-
#: ../../library/logging.config.rst:839
988+
#: ../../library/logging.config.rst:842
982989
msgid ""
983990
"The root logger must specify a level and a list of handlers. An example of a "
984991
"root logger section is given below."
985992
msgstr ""
986993

987-
#: ../../library/logging.config.rst:848
994+
#: ../../library/logging.config.rst:851
988995
msgid ""
989996
"The ``level`` entry can be one of ``DEBUG, INFO, WARNING, ERROR, CRITICAL`` "
990997
"or ``NOTSET``. For the root logger only, ``NOTSET`` means that all messages "
991998
"will be logged. Level values are :ref:`evaluated <func-eval>` in the context "
992999
"of the ``logging`` package's namespace."
9931000
msgstr ""
9941001

995-
#: ../../library/logging.config.rst:853
1002+
#: ../../library/logging.config.rst:856
9961003
msgid ""
9971004
"The ``handlers`` entry is a comma-separated list of handler names, which "
9981005
"must appear in the ``[handlers]`` section. These names must appear in the "
9991006
"``[handlers]`` section and have corresponding sections in the configuration "
10001007
"file."
10011008
msgstr ""
10021009

1003-
#: ../../library/logging.config.rst:858
1010+
#: ../../library/logging.config.rst:861
10041011
msgid ""
10051012
"For loggers other than the root logger, some additional information is "
10061013
"required. This is illustrated by the following example."
10071014
msgstr ""
10081015

1009-
#: ../../library/logging.config.rst:869
1016+
#: ../../library/logging.config.rst:872
10101017
msgid ""
10111018
"The ``level`` and ``handlers`` entries are interpreted as for the root "
10121019
"logger, except that if a non-root logger's level is specified as ``NOTSET``, "
@@ -1019,28 +1026,28 @@ msgid ""
10191026
"application to get the logger."
10201027
msgstr ""
10211028

1022-
#: ../../library/logging.config.rst:878
1029+
#: ../../library/logging.config.rst:881
10231030
msgid ""
10241031
"Sections which specify handler configuration are exemplified by the "
10251032
"following."
10261033
msgstr ""
10271034

1028-
#: ../../library/logging.config.rst:888
1035+
#: ../../library/logging.config.rst:891
10291036
msgid ""
10301037
"The ``class`` entry indicates the handler's class (as determined by :func:"
10311038
"`eval` in the ``logging`` package's namespace). The ``level`` is interpreted "
10321039
"as for loggers, and ``NOTSET`` is taken to mean 'log everything'."
10331040
msgstr ""
10341041

1035-
#: ../../library/logging.config.rst:892
1042+
#: ../../library/logging.config.rst:895
10361043
msgid ""
10371044
"The ``formatter`` entry indicates the key name of the formatter for this "
10381045
"handler. If blank, a default formatter (``logging._defaultFormatter``) is "
10391046
"used. If a name is specified, it must appear in the ``[formatters]`` section "
10401047
"and have a corresponding section in the configuration file."
10411048
msgstr ""
10421049

1043-
#: ../../library/logging.config.rst:897
1050+
#: ../../library/logging.config.rst:900
10441051
msgid ""
10451052
"The ``args`` entry, when :ref:`evaluated <func-eval>` in the context of the "
10461053
"``logging`` package's namespace, is the list of arguments to the constructor "
@@ -1049,34 +1056,34 @@ msgid ""
10491056
"provided, it defaults to ``()``."
10501057
msgstr ""
10511058

1052-
#: ../../library/logging.config.rst:903
1059+
#: ../../library/logging.config.rst:906
10531060
msgid ""
10541061
"The optional ``kwargs`` entry, when :ref:`evaluated <func-eval>` in the "
10551062
"context of the ``logging`` package's namespace, is the keyword argument dict "
10561063
"to the constructor for the handler class. If not provided, it defaults to "
10571064
"``{}``."
10581065
msgstr ""
10591066

1060-
#: ../../library/logging.config.rst:960
1067+
#: ../../library/logging.config.rst:963
10611068
msgid ""
10621069
"Sections which specify formatter configuration are typified by the following."
10631070
msgstr ""
10641071

1065-
#: ../../library/logging.config.rst:972
1072+
#: ../../library/logging.config.rst:975
10661073
msgid ""
10671074
"The arguments for the formatter configuration are the same as the keys in "
10681075
"the dictionary schema :ref:`formatters section <logging-config-dictschema-"
10691076
"formatters>`."
10701077
msgstr ""
10711078

1072-
#: ../../library/logging.config.rst:976
1079+
#: ../../library/logging.config.rst:979
10731080
msgid ""
10741081
"The ``defaults`` entry, when :ref:`evaluated <func-eval>` in the context of "
10751082
"the ``logging`` package's namespace, is a dictionary of default values for "
10761083
"custom formatting fields. If not provided, it defaults to ``None``."
10771084
msgstr ""
10781085

1079-
#: ../../library/logging.config.rst:983
1086+
#: ../../library/logging.config.rst:986
10801087
msgid ""
10811088
"Due to the use of :func:`eval` as described above, there are potential "
10821089
"security risks which result from using the :func:`listen` to send and "
@@ -1085,18 +1092,18 @@ msgid ""
10851092
"`listen` documentation for more information."
10861093
msgstr ""
10871094

1088-
#: ../../library/logging.config.rst:991
1095+
#: ../../library/logging.config.rst:994
10891096
msgid "Module :mod:`logging`"
10901097
msgstr ":mod:`logging` 模組"
10911098

1092-
#: ../../library/logging.config.rst:992
1099+
#: ../../library/logging.config.rst:995
10931100
msgid "API reference for the logging module."
10941101
msgstr ""
10951102

1096-
#: ../../library/logging.config.rst:994
1103+
#: ../../library/logging.config.rst:997
10971104
msgid "Module :mod:`logging.handlers`"
10981105
msgstr ":mod:`logging.handlers` 模組"
10991106

1100-
#: ../../library/logging.config.rst:995
1107+
#: ../../library/logging.config.rst:998
11011108
msgid "Useful handlers included with the logging module."
11021109
msgstr ""

library/threading.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-07-20 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-03 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:12+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1291,7 +1291,7 @@ msgid ""
12911291
"Block as long as the internal flag is false and the timeout, if given, has "
12921292
"not expired. The return value represents the reason that this blocking "
12931293
"method returned; ``True`` if returning because the internal flag is set to "
1294-
"true, or ``False`` if a timeout is given and the the internal flag did not "
1294+
"true, or ``False`` if a timeout is given and the internal flag did not "
12951295
"become true within the given wait time."
12961296
msgstr ""
12971297

0 commit comments

Comments
 (0)