77msgstr ""
88"Project-Id-Version : Python 3.11\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2022-10-31 08:13 +0000\n "
10+ "POT-Creation-Date : 2022-11-26 00:17 +0000\n "
1111"PO-Revision-Date : 2018-05-23 16:01+0000\n "
1212"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -22,7 +22,11 @@ msgstr ""
2222msgid ":mod:`ensurepip` --- Bootstrapping the ``pip`` installer"
2323msgstr ""
2424
25- #: ../../library/ensurepip.rst:12
25+ #: ../../library/ensurepip.rst:10
26+ msgid "**Source code:** :source:`Lib/ensurepip`"
27+ msgstr ""
28+
29+ #: ../../library/ensurepip.rst:14
2630msgid ""
2731"The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` "
2832"installer into an existing Python installation or virtual environment. This "
@@ -32,33 +36,33 @@ msgid ""
3236"interpreter."
3337msgstr ""
3438
35- #: ../../library/ensurepip.rst:19
39+ #: ../../library/ensurepip.rst:21
3640msgid ""
3741"In most cases, end users of Python shouldn't need to invoke this module "
3842"directly (as ``pip`` should be bootstrapped by default), but it may be "
3943"needed if installing ``pip`` was skipped when installing Python (or when "
4044"creating a virtual environment) or after explicitly uninstalling ``pip``."
4145msgstr ""
4246
43- #: ../../library/ensurepip.rst:27
47+ #: ../../library/ensurepip.rst:29
4448msgid ""
4549"This module *does not* access the internet. All of the components needed to "
4650"bootstrap ``pip`` are included as internal parts of the package."
4751msgstr ""
4852
49- #: ../../library/ensurepip.rst:34
53+ #: ../../library/ensurepip.rst:36
5054msgid ":ref:`installing-index`"
5155msgstr ":ref:`installing-index`"
5256
53- #: ../../library/ensurepip.rst:34
57+ #: ../../library/ensurepip.rst:36
5458msgid "The end user guide for installing Python packages"
5559msgstr ""
5660
57- #: ../../library/ensurepip.rst:36
61+ #: ../../library/ensurepip.rst:38
5862msgid ":pep:`453`: Explicit bootstrapping of pip in Python installations"
5963msgstr ""
6064
61- #: ../../library/ensurepip.rst:37
65+ #: ../../library/ensurepip.rst:39
6266msgid "The original rationale and specification for this module."
6367msgstr ""
6468
@@ -73,132 +77,132 @@ msgid ""
7377"more information."
7478msgstr ""
7579
76- #: ../../library/ensurepip.rst:42
80+ #: ../../library/ensurepip.rst:44
7781msgid "Command line interface"
7882msgstr ""
7983
80- #: ../../library/ensurepip.rst:44
84+ #: ../../library/ensurepip.rst:46
8185msgid ""
8286"The command line interface is invoked using the interpreter's ``-m`` switch."
8387msgstr ""
8488
85- #: ../../library/ensurepip.rst:46
89+ #: ../../library/ensurepip.rst:48
8690msgid "The simplest possible invocation is::"
8791msgstr ""
8892
89- #: ../../library/ensurepip.rst:50
93+ #: ../../library/ensurepip.rst:52
9094msgid ""
9195"This invocation will install ``pip`` if it is not already installed, but "
9296"otherwise does nothing. To ensure the installed version of ``pip`` is at "
9397"least as recent as the one available in ``ensurepip``, pass the ``--"
9498"upgrade`` option::"
9599msgstr ""
96100
97- #: ../../library/ensurepip.rst:57
101+ #: ../../library/ensurepip.rst:59
98102msgid ""
99103"By default, ``pip`` is installed into the current virtual environment (if "
100104"one is active) or into the system site packages (if there is no active "
101105"virtual environment). The installation location can be controlled through "
102106"two additional command line options:"
103107msgstr ""
104108
105- #: ../../library/ensurepip.rst:62
109+ #: ../../library/ensurepip.rst:64
106110msgid ""
107111"``--root <dir>``: Installs ``pip`` relative to the given root directory "
108112"rather than the root of the currently active virtual environment (if any) or "
109113"the default root for the current Python installation."
110114msgstr ""
111115
112- #: ../../library/ensurepip.rst:65
116+ #: ../../library/ensurepip.rst:67
113117msgid ""
114118"``--user``: Installs ``pip`` into the user site packages directory rather "
115119"than globally for the current Python installation (this option is not "
116120"permitted inside an active virtual environment)."
117121msgstr ""
118122
119- #: ../../library/ensurepip.rst:69
123+ #: ../../library/ensurepip.rst:71
120124msgid ""
121125"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
122126"stands for the version of Python used to invoke ``ensurepip``). The scripts "
123127"installed can be controlled through two additional command line options:"
124128msgstr ""
125129
126- #: ../../library/ensurepip.rst:74
130+ #: ../../library/ensurepip.rst:76
127131msgid ""
128132"``--altinstall``: if an alternate installation is requested, the ``pipX`` "
129133"script will *not* be installed."
130134msgstr ""
131135
132- #: ../../library/ensurepip.rst:77
136+ #: ../../library/ensurepip.rst:79
133137msgid ""
134138"``--default-pip``: if a \" default pip\" installation is requested, the "
135139"``pip`` script will be installed in addition to the two regular scripts."
136140msgstr ""
137141
138- #: ../../library/ensurepip.rst:80
142+ #: ../../library/ensurepip.rst:82
139143msgid ""
140144"Providing both of the script selection options will trigger an exception."
141145msgstr ""
142146
143- #: ../../library/ensurepip.rst:84
147+ #: ../../library/ensurepip.rst:86
144148msgid "Module API"
145149msgstr "模組 API"
146150
147- #: ../../library/ensurepip.rst:86
151+ #: ../../library/ensurepip.rst:88
148152msgid ":mod:`ensurepip` exposes two functions for programmatic use:"
149153msgstr ""
150154
151- #: ../../library/ensurepip.rst:90
155+ #: ../../library/ensurepip.rst:92
152156msgid ""
153157"Returns a string specifying the available version of pip that will be "
154158"installed when bootstrapping an environment."
155159msgstr ""
156160
157- #: ../../library/ensurepip.rst:97
161+ #: ../../library/ensurepip.rst:99
158162msgid "Bootstraps ``pip`` into the current or designated environment."
159163msgstr ""
160164
161- #: ../../library/ensurepip.rst:99
165+ #: ../../library/ensurepip.rst:101
162166msgid ""
163167"*root* specifies an alternative root directory to install relative to. If "
164168"*root* is ``None``, then installation uses the default install location for "
165169"the current environment."
166170msgstr ""
167171
168- #: ../../library/ensurepip.rst:103
172+ #: ../../library/ensurepip.rst:105
169173msgid ""
170174"*upgrade* indicates whether or not to upgrade an existing installation of an "
171175"earlier version of ``pip`` to the available version."
172176msgstr ""
173177
174- #: ../../library/ensurepip.rst:106
178+ #: ../../library/ensurepip.rst:108
175179msgid ""
176180"*user* indicates whether to use the user scheme rather than installing "
177181"globally."
178182msgstr ""
179183
180- #: ../../library/ensurepip.rst:109
184+ #: ../../library/ensurepip.rst:111
181185msgid ""
182186"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
183187"stands for the current version of Python)."
184188msgstr ""
185189
186- #: ../../library/ensurepip.rst:112
190+ #: ../../library/ensurepip.rst:114
187191msgid "If *altinstall* is set, then ``pipX`` will *not* be installed."
188192msgstr ""
189193
190- #: ../../library/ensurepip.rst:114
194+ #: ../../library/ensurepip.rst:116
191195msgid ""
192196"If *default_pip* is set, then ``pip`` will be installed in addition to the "
193197"two regular scripts."
194198msgstr ""
195199
196- #: ../../library/ensurepip.rst:117
200+ #: ../../library/ensurepip.rst:119
197201msgid ""
198202"Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`."
199203msgstr ""
200204
201- #: ../../library/ensurepip.rst:120
205+ #: ../../library/ensurepip.rst:122
202206msgid ""
203207"*verbosity* controls the level of output to :data:`sys.stdout` from the "
204208"bootstrapping operation."
@@ -210,14 +214,14 @@ msgid ""
210214"argument ``root``."
211215msgstr ""
212216
213- #: ../../library/ensurepip.rst:127
217+ #: ../../library/ensurepip.rst:129
214218msgid ""
215219"The bootstrapping process has side effects on both ``sys.path`` and ``os."
216220"environ``. Invoking the command line interface in a subprocess instead "
217221"allows these side effects to be avoided."
218222msgstr ""
219223
220- #: ../../library/ensurepip.rst:133
224+ #: ../../library/ensurepip.rst:135
221225msgid ""
222226"The bootstrapping process may install additional modules required by "
223227"``pip``, but other software should not assume those dependencies will always "
0 commit comments