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

Commit837af18

Browse files
sync with cpython f3d3663a
1 parentea3ea44 commit837af18

File tree

8 files changed

+63
-58
lines changed

8 files changed

+63
-58
lines changed

‎c-api/exceptions.po‎

Lines changed: 2 additions & 2 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-14 00:03+0000\n"
11+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:05+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -454,7 +454,7 @@ msgstr ""
454454
#:../../c-api/exceptions.rst:429
455455
msgid""
456456
"Return the exception currently being raised, clearing the error indicator at "
457-
"the same time."
457+
"the same time. Return ``NULL`` if the error indicator is not set."
458458
msgstr""
459459

460460
#:../../c-api/exceptions.rst:432

‎library/configparser.po‎

Lines changed: 24 additions & 24 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:2023-12-31 00:03+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:41+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -158,8 +158,8 @@ msgstr ""
158158

159159
#:../../library/configparser.rst:211
160160
msgid""
161-
"As with a dictionary, you can use a section's :meth:`get` method to provide "
162-
"fallback values:"
161+
"As with a dictionary, you can use a section's :meth:`~ConfigParser.get` "
162+
"method to providefallback values:"
163163
msgstr""
164164

165165
#:../../library/configparser.rst:224
@@ -173,10 +173,10 @@ msgstr ""
173173

174174
#:../../library/configparser.rst:235
175175
msgid""
176-
"One more thing to be aware of is that the parser-level :meth:`get` method"
177-
"provides a custom, more complex interface, maintained for backwards "
178-
"compatibility. When using this method, a fallback value can be provided via "
179-
"the ``fallback`` keyword-only argument:"
176+
"One more thing to be aware of is that the parser-level :meth:`~ConfigParser."
177+
"get` methodprovides a custom, more complex interface, maintained for "
178+
"backwardscompatibility. When using this method, a fallback value can be "
179+
"provided viathe ``fallback`` keyword-only argument:"
180180
msgstr""
181181

182182
#:../../library/configparser.rst:246
@@ -380,7 +380,7 @@ msgstr ""
380380
#:../../library/configparser.rst:483
381381
msgid""
382382
"The most common way to change the way a specific config parser works is to "
383-
"use the :meth:`__init__` options:"
383+
"use the :meth:`!__init__` options:"
384384
msgstr""
385385

386386
#:../../library/configparser.rst:486
@@ -398,7 +398,7 @@ msgstr ""
398398
#:../../library/configparser.rst:493
399399
msgid""
400400
"Hint: if you want to specify default values for a specific section, use :"
401-
"meth:`read_dict` before you read the actual file."
401+
"meth:`~ConfigParser.read_dict` before you read the actual file."
402402
msgstr""
403403

404404
#:../../library/configparser.rst:496
@@ -496,9 +496,9 @@ msgstr ""
496496
#:../../library/configparser.rst:637
497497
msgid""
498498
"When set to ``True``, the parser will not allow for any section or option "
499-
"duplicates while reading from a single source (using :meth:`read_file`, :"
500-
"meth:`read_string` or :meth:`read_dict`). It is recommended to use strict"
501-
"parsers in new applications."
499+
"duplicates while reading from a single source (using :meth:`~ConfigParser."
500+
"read_file`, :meth:`~ConfigParser.read_string` or :meth:`~ConfigParser."
501+
"read_dict`). It is recommended to use strictparsers in new applications."
502502
msgstr""
503503

504504
#:../../library/configparser.rst:642
@@ -576,7 +576,7 @@ msgid ""
576576
"be desirable, users may define them in a subclass or pass a dictionary where "
577577
"each key is a name of the converter and each value is a callable "
578578
"implementing said conversion. For instance, passing ``{'decimal': decimal."
579-
"Decimal}`` would add :meth:`getdecimal` on both the parser object and all "
579+
"Decimal}`` would add :meth:`!getdecimal` on both the parser object and all "
580580
"section proxies. In other words, it will be possible to write both "
581581
"``parser_instance.getdecimal('section', 'key', fallback=0)`` and "
582582
"``parser_instance['section'].getdecimal('key', 0)``."
@@ -859,12 +859,12 @@ msgstr ""
859859
#:../../library/configparser.rst:1064
860860
msgid""
861861
"Optional argument *source* specifies the name of the file being read. If "
862-
"not given and *f* has a :attr:`name` attribute, that is used for *source*; "
862+
"not given and *f* has a :attr:`!name` attribute, that is used for *source*; "
863863
"the default is ``'<???>'``."
864864
msgstr""
865865

866866
#:../../library/configparser.rst:1068
867-
msgid"Replaces :meth:`readfp`."
867+
msgid"Replaces :meth:`!readfp`."
868868
msgstr""
869869

870870
#:../../library/configparser.rst:1073
@@ -1027,9 +1027,9 @@ msgstr ""
10271027

10281028
#:../../library/configparser.rst:1217
10291029
msgid""
1030-
"The maximum depth for recursive interpolation for :meth:`get` when the *raw*"
1031-
"parameter is false. This is relevant only when the default *interpolation* "
1032-
"is used."
1030+
"The maximum depth for recursive interpolation for :meth:`~configparser."
1031+
"ConfigParser.get` when the *raw*parameter is false. This is relevant only "
1032+
"when the default *interpolation*is used."
10331033
msgstr""
10341034

10351035
#:../../library/configparser.rst:1225
@@ -1096,15 +1096,15 @@ msgstr ""
10961096

10971097
#:../../library/configparser.rst:1290
10981098
msgid""
1099-
"Exception raised if :meth:`add_section` is called with the name of a section "
1100-
"that is already present or in strict parsers when a section if found more "
1101-
"than once in a single input file, string or dictionary."
1099+
"Exception raised if :meth:`~ConfigParser.add_section` is called with the "
1100+
"name of a sectionthat is already present or in strict parsers when a "
1101+
"section if found morethan once in a single input file, string or dictionary."
11021102
msgstr""
11031103

11041104
#:../../library/configparser.rst:1294
11051105
msgid""
1106-
"Optional ``source`` and ``lineno`` attributes and arguments to :meth:"
1107-
"`__init__` were added."
1106+
"Optional ``source`` and ``lineno`` attributes and arguments to :meth:`!"
1107+
"__init__` were added."
11081108
msgstr""
11091109

11101110
#:../../library/configparser.rst:1301
@@ -1158,7 +1158,7 @@ msgstr ""
11581158

11591159
#:../../library/configparser.rst:1348
11601160
msgid""
1161-
"The ``filename`` attribute and :meth:`__init__` constructor argument were "
1161+
"The ``filename`` attribute and :meth:`!__init__` constructor argument were "
11621162
"removed. They have been available using the name ``source`` since 3.2."
11631163
msgstr""
11641164

‎library/logging.config.po‎

Lines changed: 6 additions & 5 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:2023-07-17 17:39+0800\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:05+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -150,9 +150,9 @@ msgstr "參數"
150150
#:../../library/logging.config.rst:94
151151
msgid""
152152
"A filename, or a file-like object, or an instance derived from :class:"
153-
"`~configparser.RawConfigParser`. If a``RawConfigParser``-derived instance "
154-
"is passed, it is used as is. Otherwise, a :class:`~configparser."
155-
"Configparser` is instantiated, and the configuration read by it from the "
153+
"`~configparser.RawConfigParser`. If a:class:`!RawConfigParser`-derived "
154+
"instanceis passed, it is used as is. Otherwise, a :class:`~configparser."
155+
"ConfigParser` is instantiated, and the configuration read by it from the "
156156
"object passed in ``fname``. If that has a :meth:`readline` method, it is "
157157
"assumed to be a file-like object and read using :meth:`~configparser."
158158
"ConfigParser.read_file`; otherwise, it is assumed to be a filename and "
@@ -161,7 +161,8 @@ msgstr ""
161161

162162
#:../../library/logging.config.rst:106
163163
msgid""
164-
"Defaults to be passed to the ConfigParser can be specified in this argument."
164+
"Defaults to be passed to the :class:`!ConfigParser` can be specified in this "
165+
"argument."
165166
msgstr""
166167

167168
#:../../library/logging.config.rst:109

‎whatsnew/2.0.po‎

Lines changed: 5 additions & 5 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:2023-11-28 00:03+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:19+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1246,10 +1246,10 @@ msgstr "模組變更"
12461246
msgid""
12471247
"Lots of improvements and bugfixes were made to Python's extensive standard "
12481248
"library; some of the affected modules include :mod:`readline`, :mod:"
1249-
"`ConfigParser`, :mod:`cgi`, :mod:`calendar`, :mod:`posix`, :mod:`readline`, :"
1250-
"mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`,"
1251-
"and :mod:`nntplib`. Consult the CVS logs for the exact patch-by-patch "
1252-
"details."
1249+
"`ConfigParser <configparser>`, :mod:`cgi`, :mod:`calendar`, :mod:`posix`, :"
1250+
"mod:`readline`, :mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:"
1251+
"`random`, :mod:`shelve`,and :mod:`nntplib`. Consult the CVS logs for the "
1252+
"exact patch-by-patchdetails."
12531253
msgstr""
12541254

12551255
#:../../whatsnew/2.0.rst:1037

‎whatsnew/2.4.po‎

Lines changed: 5 additions & 4 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:2023-12-13 13:14+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:19+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1207,9 +1207,10 @@ msgstr ""
12071207

12081208
#:../../whatsnew/2.4.rst:1055
12091209
msgid""
1210-
"The :mod:`ConfigParser` classes have been enhanced slightly. The :meth:"
1211-
"`read` method now returns a list of the files that were successfully parsed, "
1212-
"and the :meth:`set` method raises :exc:`TypeError` if passed a *value* "
1210+
"The :mod:`ConfigParser <configparser>` classes have been enhanced slightly. "
1211+
"The :meth:`~configparser.ConfigParser.read` method now returns a list of the "
1212+
"files that were successfully parsed, and the :meth:`~configparser."
1213+
"ConfigParser.set` method raises :exc:`TypeError` if passed a *value* "
12131214
"argument that isn't a string. (Contributed by John Belmonte and David "
12141215
"Goodger.)"
12151216
msgstr""

‎whatsnew/2.7.po‎

Lines changed: 6 additions & 6 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:2023-12-13 13:14+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:20+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -345,8 +345,8 @@ msgstr ""
345345

346346
#:../../whatsnew/2.7.rst:290
347347
msgid""
348-
"The :mod:`ConfigParser` module uses them by default, meaning that "
349-
"configuration files can now be read, modified, and then written back in "
348+
"The :mod:`ConfigParser <configparser>` module uses them by default, meaning "
349+
"thatconfiguration files can now be read, modified, and then written back in "
350350
"their original order."
351351
msgstr""
352352

@@ -1189,9 +1189,9 @@ msgstr ""
11891189

11901190
#:../../whatsnew/2.7.rst:1137
11911191
msgid""
1192-
"Constructors for the parsing classes in the :mod:`ConfigParser` module now "
1193-
"take an *allow_no_value* parameter, defaulting to false; if true, options "
1194-
"without values will be allowed. For example::"
1192+
"Constructors for the parsing classes in the :mod:`ConfigParser "
1193+
"<configparser>` module nowtake an *allow_no_value* parameter, defaulting to "
1194+
"false; if true, optionswithout values will be allowed. For example::"
11951195
msgstr""
11961196

11971197
#:../../whatsnew/2.7.rst:1159

‎whatsnew/3.11.po‎

Lines changed: 3 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:2023-12-06 00:03+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2023-05-28 18:21+0800\n"
1212
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3138,7 +3138,8 @@ msgid "the :attr:`!configparser.ParsingError.filename` property"
31383138
msgstr":attr:`!configparser.ParsingError.filename` 屬性"
31393139

31403140
#:../../whatsnew/3.11.rst:1776
3141-
msgid"the :meth:`configparser.RawConfigParser.readfp` method"
3141+
#,fuzzy
3142+
msgid"the :meth:`!configparser.RawConfigParser.readfp` method"
31423143
msgstr":meth:`configparser.RawConfigParser.readfp` 方法"
31433144

31443145
#:../../whatsnew/3.11.rst:1778

‎whatsnew/3.2.po‎

Lines changed: 12 additions & 10 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:2023-12-13 00:03+0000\n"
10+
"POT-Creation-Date:2024-01-01 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:20+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -140,7 +140,7 @@ msgstr ""
140140
msgid""
141141
"The :mod:`logging` module provided two kinds of configuration, one style "
142142
"with function calls for each option or another style driven by an external "
143-
"file saved in a :mod:`ConfigParser` format. Those options did not provide "
143+
"file saved in a :mod:`configparser` format. Those options did not provide "
144144
"the flexibility to create configurations from JSON or YAML files, nor did "
145145
"they support incremental configuration, which is needed for specifying "
146146
"logger options from a command line."
@@ -2398,10 +2398,11 @@ msgstr "configparser"
23982398
msgid""
23992399
"The :mod:`configparser` module was modified to improve usability and "
24002400
"predictability of the default parser and its supported INI syntax. The old :"
2401-
"class:`ConfigParser` class was removed in favor of :class:`SafeConfigParser` "
2402-
"which has in turn been renamed to :class:`~configparser.ConfigParser`. "
2403-
"Support for inline comments is now turned off by default and section or "
2404-
"option duplicates are not allowed in a single configuration source."
2401+
"class:`!ConfigParser` class was removed in favor of :class:`!"
2402+
"SafeConfigParser` which has in turn been renamed to :class:`~configparser."
2403+
"ConfigParser`. Support for inline comments is now turned off by default and "
2404+
"section or option duplicates are not allowed in a single configuration "
2405+
"source."
24052406
msgstr""
24062407

24072408
#:../../whatsnew/3.2.rst:2142
@@ -2719,8 +2720,9 @@ msgid ""
27192720
"implementation (:issue:`1569291` by Alexander Belopolsky). The :class:"
27202721
"`BaseHTTPRequestHandler` has more efficient buffering (:issue:`3709` by "
27212722
"Andrew Schaaf). The :func:`operator.attrgetter` function has been sped-up (:"
2722-
"issue:`10160` by Christos Georgiou). And :class:`ConfigParser` loads multi-"
2723-
"line arguments a bit faster (:issue:`7113` by Łukasz Langa)."
2723+
"issue:`10160` by Christos Georgiou). And :class:`~configparser."
2724+
"ConfigParser` loads multi-line arguments a bit faster (:issue:`7113` by "
2725+
"Łukasz Langa)."
27242726
msgstr""
27252727

27262728
#:../../whatsnew/3.2.rst:2422
@@ -3055,8 +3057,8 @@ msgstr ""
30553057
#:../../whatsnew/3.2.rst:2616
30563058
msgid""
30573059
"The :mod:`configparser` module has a number of clean-ups. The major change "
3058-
"is to replace the old :class:`ConfigParser` class with long-standing "
3059-
"preferred alternative :class:`SafeConfigParser`. In addition there are a "
3060+
"is to replace the old :class:`!ConfigParser` class with long-standing "
3061+
"preferred alternative :class:`!SafeConfigParser`. In addition there are a "
30603062
"number of smaller incompatibilities:"
30613063
msgstr""
30623064

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp