Skip to content

Commit 574f9ea

Browse files
sync with cpython f37ac53c
1 parent 6099e90 commit 574f9ea

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

library/pydoc.po

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-27 00:14+0000\n"
10+
"POT-Creation-Date: 2024-10-30 00:13+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -80,26 +80,27 @@ msgstr ""
8080
#: ../../library/pydoc.rst:54
8181
msgid ""
8282
"When printing output to the console, :program:`pydoc` attempts to paginate "
83-
"the output for easier reading. If the :envvar:`PAGER` environment variable "
84-
"is set, :program:`pydoc` will use its value as a pagination program."
83+
"the output for easier reading. If either the :envvar:`MANPAGER` or the :"
84+
"envvar:`PAGER` environment variable is set, :program:`pydoc` will use its "
85+
"value as a pagination program. When both are set, :envvar:`MANPAGER` is used."
8586
msgstr ""
8687

87-
#: ../../library/pydoc.rst:58
88+
#: ../../library/pydoc.rst:59
8889
msgid ""
8990
"Specifying a ``-w`` flag before the argument will cause HTML documentation "
9091
"to be written out to a file in the current directory, instead of displaying "
9192
"text on the console."
9293
msgstr ""
9394

94-
#: ../../library/pydoc.rst:62
95+
#: ../../library/pydoc.rst:63
9596
msgid ""
9697
"Specifying a ``-k`` flag before the argument will search the synopsis lines "
9798
"of all available modules for the keyword given as the argument, again in a "
9899
"manner similar to the Unix :program:`man` command. The synopsis line of a "
99100
"module is the first line of its documentation string."
100101
msgstr ""
101102

102-
#: ../../library/pydoc.rst:67
103+
#: ../../library/pydoc.rst:68
103104
msgid ""
104105
"You can also use :program:`pydoc` to start an HTTP server on the local "
105106
"machine that will serve documentation to visiting web browsers. :program:"
@@ -109,7 +110,7 @@ msgid ""
109110
"arbitrary unused port."
110111
msgstr ""
111112

112-
#: ../../library/pydoc.rst:73
113+
#: ../../library/pydoc.rst:74
113114
msgid ""
114115
":program:`python -m pydoc -n <hostname>` will start the server listening at "
115116
"the given hostname. By default the hostname is 'localhost' but if you want "
@@ -118,7 +119,7 @@ msgid ""
118119
"especially useful if you want to run pydoc from within a container."
119120
msgstr ""
120121

121-
#: ../../library/pydoc.rst:79
122+
#: ../../library/pydoc.rst:80
122123
msgid ""
123124
":program:`python -m pydoc -b` will start the server and additionally open a "
124125
"web browser to a module index page. Each served page has a navigation bar "
@@ -127,15 +128,15 @@ msgid ""
127128
"*Topics* and *Keywords* pages."
128129
msgstr ""
129130

130-
#: ../../library/pydoc.rst:85
131+
#: ../../library/pydoc.rst:86
131132
msgid ""
132133
"When :program:`pydoc` generates documentation, it uses the current "
133134
"environment and path to locate modules. Thus, invoking :program:`pydoc "
134135
"spam` documents precisely the version of the module you would get if you "
135136
"started the Python interpreter and typed ``import spam``."
136137
msgstr ""
137138

138-
#: ../../library/pydoc.rst:90
139+
#: ../../library/pydoc.rst:91
139140
msgid ""
140141
"Module docs for core modules are assumed to reside in ``https://docs.python."
141142
"org/X.Y/library/`` where ``X`` and ``Y`` are the major and minor version "
@@ -144,21 +145,21 @@ msgid ""
144145
"directory containing the Library Reference Manual pages."
145146
msgstr ""
146147

147-
#: ../../library/pydoc.rst:97
148+
#: ../../library/pydoc.rst:98
148149
msgid "Added the ``-b`` option."
149150
msgstr "新增 ``-b`` 選項。"
150151

151-
#: ../../library/pydoc.rst:100
152+
#: ../../library/pydoc.rst:101
152153
msgid "The ``-g`` command line option was removed."
153154
msgstr ""
154155

155-
#: ../../library/pydoc.rst:103
156+
#: ../../library/pydoc.rst:104
156157
msgid ""
157158
":mod:`!pydoc` now uses :func:`inspect.signature` rather than :func:`inspect."
158159
"getfullargspec` to extract signature information from callables."
159160
msgstr ""
160161

161-
#: ../../library/pydoc.rst:108
162+
#: ../../library/pydoc.rst:109
162163
msgid "Added the ``-n`` option."
163164
msgstr "新增 ``-n`` 選項。"
164165

library/stdtypes.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.13\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-10-12 00:13+0000\n"
12+
"POT-Creation-Date: 2024-10-30 00:13+0000\n"
1313
"PO-Revision-Date: 2022-06-12 15:22+0800\n"
1414
"Last-Translator: Matt Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -6447,7 +6447,7 @@ msgstr ""
64476447
msgid ""
64486448
":meth:`update` accepts either another object with a ``keys()`` method (in "
64496449
"which case :meth:`~object.__getitem__` is called with every key returned "
6450-
"from the method). or an iterable of key/value pairs (as tuples or other "
6450+
"from the method) or an iterable of key/value pairs (as tuples or other "
64516451
"iterables of length two). If keyword arguments are specified, the dictionary "
64526452
"is then updated with those key/value pairs: ``d.update(red=1, blue=2)``."
64536453
msgstr ""
@@ -7672,9 +7672,9 @@ msgstr ""
76727672

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

76807680
#: ../../library/stdtypes.rst:5314

0 commit comments

Comments
 (0)