Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 826a302

Browse files
sync with cpython 0325a8a8
1 parent c89f0ae commit 826a302

File tree

4 files changed

+429
-375
lines changed

4 files changed

+429
-375
lines changed

library/pydoc.po

Lines changed: 8 additions & 8 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-05-09 00:15+0000\n"
10+
"POT-Creation-Date: 2024-03-20 00:03+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-"
@@ -28,17 +28,17 @@ msgstr "**原始碼:**\\ :source:`Lib/pydoc.py`"
2828

2929
#: ../../library/pydoc.rst:19
3030
msgid ""
31-
"The :mod:`pydoc` module automatically generates documentation from Python "
31+
"The :mod:`!pydoc` module automatically generates documentation from Python "
3232
"modules. The documentation can be presented as pages of text on the "
3333
"console, served to a web browser, or saved to HTML files."
3434
msgstr ""
3535

3636
#: ../../library/pydoc.rst:23
3737
msgid ""
3838
"For modules, classes, functions and methods, the displayed documentation is "
39-
"derived from the docstring (i.e. the :attr:`__doc__` attribute) of the "
39+
"derived from the docstring (i.e. the :attr:`!__doc__` attribute) of the "
4040
"object, and recursively of its documentable members. If there is no "
41-
"docstring, :mod:`pydoc` tries to obtain a description from the block of "
41+
"docstring, :mod:`!pydoc` tries to obtain a description from the block of "
4242
"comment lines just above the definition of the class, function or method in "
4343
"the source file, or at the top of the module (see :func:`inspect."
4444
"getcomments`)."
@@ -47,7 +47,7 @@ msgstr ""
4747
#: ../../library/pydoc.rst:30
4848
msgid ""
4949
"The built-in function :func:`help` invokes the online help system in the "
50-
"interactive interpreter, which uses :mod:`pydoc` to generate its "
50+
"interactive interpreter, which uses :mod:`!pydoc` to generate its "
5151
"documentation as text on the console. The same text documentation can also "
5252
"be viewed from outside the Python interpreter by running :program:`pydoc` as "
5353
"a script at the operating system's command prompt. For example, running ::"
@@ -67,7 +67,7 @@ msgstr ""
6767

6868
#: ../../library/pydoc.rst:49
6969
msgid ""
70-
"In order to find objects and their documentation, :mod:`pydoc` imports the "
70+
"In order to find objects and their documentation, :mod:`!pydoc` imports the "
7171
"module(s) to be documented. Therefore, any code on module level will be "
7272
"executed on that occasion. Use an ``if __name__ == '__main__':`` guard to "
7373
"only execute code when a file is invoked as a script and not just imported."
@@ -136,7 +136,7 @@ msgid ""
136136
"Module docs for core modules are assumed to reside in ``https://docs.python."
137137
"org/X.Y/library/`` where ``X`` and ``Y`` are the major and minor version "
138138
"numbers of the Python interpreter. This can be overridden by setting the :"
139-
"envvar:`PYTHONDOCS` environment variable to a different URL or to a local "
139+
"envvar:`!PYTHONDOCS` environment variable to a different URL or to a local "
140140
"directory containing the Library Reference Manual pages."
141141
msgstr ""
142142

@@ -150,7 +150,7 @@ msgstr ""
150150

151151
#: ../../library/pydoc.rst:103
152152
msgid ""
153-
":mod:`pydoc` now uses :func:`inspect.signature` rather than :func:`inspect."
153+
":mod:`!pydoc` now uses :func:`inspect.signature` rather than :func:`inspect."
154154
"getfullargspec` to extract signature information from callables."
155155
msgstr ""
156156

0 commit comments

Comments
 (0)