8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.12\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2023-09-14 00:03+0000\n "
11
+ "POT-Creation-Date : 2024-04-06 00:03+0000\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"
Language-Team :
LANGUAGE <[email protected] >\n "
@@ -145,31 +145,58 @@ msgid "Return True if self is a file."
145
145
msgstr ""
146
146
147
147
#: ../../library/importlib.resources.abc.rst:114
148
- #: ../../library/importlib.resources.abc.rst:118
149
- msgid "Return Traversable child in self."
148
+ msgid ""
149
+ "Traverse directories according to *pathsegments* and return the result as :"
150
+ "class:`!Traversable`."
151
+ msgstr ""
152
+
153
+ #: ../../library/importlib.resources.abc.rst:117
154
+ msgid ""
155
+ "Each *pathsegments* argument may contain multiple names separated by forward "
156
+ "slashes (``/``, ``posixpath.sep`` ). For example, the following are "
157
+ "equivalent::"
158
+ msgstr ""
159
+
160
+ #: ../../library/importlib.resources.abc.rst:124
161
+ msgid ""
162
+ "Note that some :class:`!Traversable` implementations might not be updated to "
163
+ "the latest version of the protocol. For compatibility with such "
164
+ "implementations, provide a single argument without path separators to each "
165
+ "call to ``joinpath``. For example::"
150
166
msgstr ""
151
167
152
- #: ../../library/importlib.resources.abc.rst:122
168
+ #: ../../library/importlib.resources.abc.rst:133
169
+ msgid ""
170
+ "``joinpath`` accepts multiple *pathsegments*, and these segments may contain "
171
+ "forward slashes as path separators. Previously, only a single *child* "
172
+ "argument was accepted."
173
+ msgstr ""
174
+
175
+ #: ../../library/importlib.resources.abc.rst:139
176
+ msgid "Return Traversable child in self. Equivalent to ``joinpath(child)``."
177
+ msgstr ""
178
+
179
+ #: ../../library/importlib.resources.abc.rst:144
153
180
msgid ""
154
181
"*mode* may be 'r' or 'rb' to open as text or binary. Return a handle "
155
182
"suitable for reading (same as :attr:`pathlib.Path.open`)."
156
183
msgstr ""
157
184
158
- #: ../../library/importlib.resources.abc.rst:125
185
+ #: ../../library/importlib.resources.abc.rst:147
159
186
msgid ""
160
187
"When opening as text, accepts encoding parameters such as those accepted by :"
161
188
"class:`io.TextIOWrapper`."
162
189
msgstr ""
163
190
164
- #: ../../library/importlib.resources.abc.rst:130
191
+ #: ../../library/importlib.resources.abc.rst:152
165
192
msgid "Read contents of self as bytes."
166
193
msgstr ""
167
194
168
- #: ../../library/importlib.resources.abc.rst:134
195
+ #: ../../library/importlib.resources.abc.rst:156
169
196
msgid "Read contents of self as text."
170
197
msgstr ""
171
198
172
- #: ../../library/importlib.resources.abc.rst:139
199
+ #: ../../library/importlib.resources.abc.rst:161
173
200
msgid ""
174
201
"An abstract base class for resource readers capable of serving the :meth:"
175
202
"`importlib.resources.files` interface. Subclasses :class:`ResourceReader` "
@@ -178,13 +205,13 @@ msgid ""
178
205
"TraversableResources` also supplies :class:`!ResourceReader`."
179
206
msgstr ""
180
207
181
- #: ../../library/importlib.resources.abc.rst:146
208
+ #: ../../library/importlib.resources.abc.rst:168
182
209
msgid ""
183
210
"Loaders that wish to support resource reading are expected to implement this "
184
211
"interface."
185
212
msgstr ""
186
213
187
- #: ../../library/importlib.resources.abc.rst:151
214
+ #: ../../library/importlib.resources.abc.rst:173
188
215
msgid ""
189
216
"Returns a :class:`importlib.resources.abc.Traversable` object for the loaded "
190
217
"package."
0 commit comments