8000 sync with cpython dd520e7b · josix/python-docs-zh-tw@ebc19ea · GitHub
[go: up one dir, main page]

Skip to content

Commit ebc19ea

Browse files
sync with cpython dd520e7b
1 parent 428b6db commit ebc19ea

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

library/pydoc.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
10+
"POT-Creation-Date: 2022-12-30 00:15+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -99,27 +99,27 @@ msgstr ""
9999
msgid ""
100100
"You can also use :program:`pydoc` to start an HTTP server on the local "
101101
"machine that will serve documentation to visiting web browsers. :program:"
102-
"`pydoc -p 1234` will start a HTTP server on port 1234, allowing you to "
103-
"browse the documentation at ``http://localhost:1234/`` in your preferred web "
104-
"browser. Specifying ``0`` as the port number will select an arbitrary unused "
105-
"port."
102+
"`python -m pydoc -p 1234` will start a HTTP server on port 1234, allowing "
103+
"you to browse the documentation at ``http://localhost:1234/`` in your "
104+
"preferred web browser. Specifying ``0`` as the port number will select an "
105+
"arbitrary unused port."
106106
msgstr ""
107107

108108
#: ../../library/pydoc.rst:73
109109
msgid ""
110-
":program:`pydoc -n <hostname>` will start the server listening at the given "
111-
"hostname. By default the hostname is 'localhost' but if you want the server "
112-
"to be reached from other machines, you may want to change the host name that "
113-
"the server responds to. During development this is especially useful if you "
114-
"want to run pydoc from within a container."
110+
":program:`python -m pydoc -n <hostname>` will start the server listening at "
111+
"the given hostname. By default the hostname is 'localhost' but if you want "
112+
"the server to be reached from other machines, you may want to change the "
113+
"host name that the server responds to. During development this is "
114+
"especially useful if you want to run pydoc from within a container."
115115
msgstr ""
116116

117117
#: ../../library/pydoc.rst:79
118118
msgid ""
119-
":program:`pydoc -b` will start the server and additionally open a web "
120-
"browser to a module index page. Each served page has a navigation bar at "
121-
"the top where you can *Get* help on an individual item, *Search* all modules "
122-
"with a keyword in their synopsis line, and go to the *Module index*, "
119+
":program:`python -m pydoc -b` will start the server and additionally open a "
120+
"web browser to a module index page. Each served page has a navigation bar "
121+
"at the top where you can *Get* help on an individual item, *Search* all "
122+
"modules with a keyword in their synopsis line, and go to the *Module index*, "
123123
"*Topics* and *Keywords* pages."
124124
msgstr ""
125125

0 commit comments

Comments
 (0)
0