77msgstr ""
88"Project-Id-Version : Python 3.14\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2025-02-22 08:51 +0000\n "
10+ "POT-Creation-Date : 2026-01-09 00:15 +0000\n "
1111"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1212"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1313"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -91,19 +91,23 @@ msgstr ""
9191
9292#: ../../library/importlib.resources.abc.rst:69
9393msgid ""
94- "Returns ``True`` if the named *name * is considered a resource. :exc:"
95- "`FileNotFoundError` is raised if *name * does not exist."
94+ "Returns ``True`` if the named *path * is considered a resource. :exc:"
95+ "`FileNotFoundError` is raised if *path * does not exist."
9696msgstr ""
9797
98- #: ../../library/importlib.resources.abc.rst:75
98+ #: ../../library/importlib.resources.abc.rst:72
99+ msgid "The argument *name* was renamed to *path*."
100+ msgstr ""
101+
102+ #: ../../library/importlib.resources.abc.rst:78
99103msgid ""
100104"Returns an :term:`iterable` of strings over the contents of the package. Do "
101105"note that it is not required that all names returned by the iterator be "
102106"actual resources, e.g. it is acceptable to return names for which :meth:"
103107"`is_resource` would be false."
104108msgstr ""
105109
106- #: ../../library/importlib.resources.abc.rst:81
110+ #: ../../library/importlib.resources.abc.rst:84
107111msgid ""
108112"Allowing non-resource names to be returned is to allow for situations where "
109113"how a package and its resources are stored are known a priori and the non-"
@@ -112,103 +116,103 @@ msgid ""
112116"stored on the file system then those subdirectory names can be used directly."
113117msgstr ""
114118
115- #: ../../library/importlib.resources.abc.rst:89
119+ #: ../../library/importlib.resources.abc.rst:92
116120msgid "The abstract method returns an iterable of no items."
117121msgstr ""
118122
119- #: ../../library/importlib.resources.abc.rst:94
123+ #: ../../library/importlib.resources.abc.rst:97
120124msgid ""
121125"An object with a subset of :class:`pathlib.Path` methods suitable for "
122126"traversing directories and opening files."
123127msgstr ""
124128
125- #: ../../library/importlib.resources.abc.rst:97
129+ #: ../../library/importlib.resources.abc.rst:100
126130msgid ""
127131"For a representation of the object on the file-system, use :meth:`importlib."
128132"resources.as_file`."
129133msgstr ""
130134
131- #: ../../library/importlib.resources.abc.rst:102
135+ #: ../../library/importlib.resources.abc.rst:105
132136msgid "Abstract. The base name of this object without any parent references."
133137msgstr ""
134138
135- #: ../../library/importlib.resources.abc.rst:107
139+ #: ../../library/importlib.resources.abc.rst:110
136140msgid "Yield Traversable objects in self."
137141msgstr ""
138142
139- #: ../../library/importlib.resources.abc.rst:112
143+ #: ../../library/importlib.resources.abc.rst:115
140144msgid "Return ``True`` if self is a directory."
141145msgstr ""
142146
143- #: ../../library/importlib.resources.abc.rst:117
147+ #: ../../library/importlib.resources.abc.rst:120
144148msgid "Return ``True`` if self is a file."
145149msgstr ""
146150
147- #: ../../library/importlib.resources.abc.rst:122
151+ #: ../../library/importlib.resources.abc.rst:125
148152msgid ""
149153"Traverse directories according to *pathsegments* and return the result as :"
150154"class:`!Traversable`."
151155msgstr ""
152156
153- #: ../../library/importlib.resources.abc.rst:125
157+ #: ../../library/importlib.resources.abc.rst:128
154158msgid ""
155159"Each *pathsegments* argument may contain multiple names separated by forward "
156160"slashes (``/``, ``posixpath.sep`` ). For example, the following are "
157161"equivalent::"
158162msgstr ""
159163
160- #: ../../library/importlib.resources.abc.rst:129
164+ #: ../../library/importlib.resources.abc.rst:132
161165msgid ""
162166"files.joinpath('subdir', 'subsuddir', 'file.txt')\n"
163167"files.joinpath('subdir/subsuddir/file.txt')"
164168msgstr ""
165169"files.joinpath('subdir', 'subsuddir', 'file.txt')\n"
166170"files.joinpath('subdir/subsuddir/file.txt')"
167171
168- #: ../../library/importlib.resources.abc.rst:132
172+ #: ../../library/importlib.resources.abc.rst:135
169173msgid ""
170174"Note that some :class:`!Traversable` implementations might not be updated to "
171175"the latest version of the protocol. For compatibility with such "
172176"implementations, provide a single argument without path separators to each "
173177"call to ``joinpath``. For example::"
174178msgstr ""
175179
176- #: ../../library/importlib.resources.abc.rst:137
180+ #: ../../library/importlib.resources.abc.rst:140
177181msgid "files.joinpath('subdir').joinpath('subsubdir').joinpath('file.txt')"
178182msgstr "files.joinpath('subdir').joinpath('subsubdir').joinpath('file.txt')"
179183
180- #: ../../library/importlib.resources.abc.rst:141
184+ #: ../../library/importlib.resources.abc.rst:144
181185msgid ""
182186"``joinpath`` accepts multiple *pathsegments*, and these segments may contain "
183187"forward slashes as path separators. Previously, only a single *child* "
184188"argument was accepted."
185189msgstr ""
186190
187- #: ../../library/importlib.resources.abc.rst:148
191+ #: ../../library/importlib.resources.abc.rst:151
188192msgid "Return Traversable child in self. Equivalent to ``joinpath(child)``."
189193msgstr ""
190194
191- #: ../../library/importlib.resources.abc.rst:154
195+ #: ../../library/importlib.resources.abc.rst:157
192196msgid ""
193197"*mode* may be 'r' or 'rb' to open as text or binary. Return a handle "
194198"suitable for reading (same as :attr:`pathlib.Path.open`)."
195199msgstr ""
196200
197- #: ../../library/importlib.resources.abc.rst:157
201+ #: ../../library/importlib.resources.abc.rst:160
198202msgid ""
199203"When opening as text, accepts encoding parameters such as those accepted by :"
200204"class:`io.TextIOWrapper`."
201205msgstr ""
202206
203- #: ../../library/importlib.resources.abc.rst:162
207+ #: ../../library/importlib.resources.abc.rst:165
204208msgid "Read contents of self as bytes."
205209msgstr ""
206210
207- #: ../../library/importlib.resources.abc.rst:166
211+ #: ../../library/importlib.resources.abc.rst:169
208212msgid "Read contents of self as text."
209213msgstr ""
210214
211- #: ../../library/importlib.resources.abc.rst:171
215+ #: ../../library/importlib.resources.abc.rst:174
212216msgid ""
213217"An abstract base class for resource readers capable of serving the :meth:"
214218"`importlib.resources.files` interface. Subclasses :class:`ResourceReader` "
@@ -217,13 +221,13 @@ msgid ""
217221"TraversableResources` also supplies :class:`!ResourceReader`."
218222msgstr ""
219223
220- #: ../../library/importlib.resources.abc.rst:178
224+ #: ../../library/importlib.resources.abc.rst:181
221225msgid ""
222226"Loaders that wish to support resource reading are expected to implement this "
223227"interface."
224228msgstr ""
225229
226- #: ../../library/importlib.resources.abc.rst:184
230+ #: ../../library/importlib.resources.abc.rst:187
227231msgid ""
228232"Returns a :class:`importlib.resources.abc.Traversable` object for the loaded "
229233"package."
0 commit comments