@@ -16,7 +16,7 @@ msgid ""
16
16
msgstr ""
17
17
"Project-Id-Version : Python 3.12\n "
18
18
"Report-Msgid-Bugs-To : \n "
19
- "POT-Creation-Date : 2023-05-26 14:12+0000\n "
19
+ "POT-Creation-Date : 2023-09-29 14:12+0000\n "
20
20
"PO-Revision-Date : 2021-06-28 00:53+0000\n "
21
21
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
22
22
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -267,15 +267,15 @@ msgstr "Tratamento de exceções"
267
267
268
268
#: ../../howto/urllib2.rst:197
269
269
msgid ""
270
- "*urlopen* raises :exc:`URLError` when it cannot handle a response (though as "
271
- "usual with Python APIs, built-in exceptions such as :exc:`ValueError`, :exc:"
272
- "`TypeError` etc. may also be raised)."
270
+ "*urlopen* raises :exc:`~urllib.error. URLError` when it cannot handle a "
271
+ "response (though as usual with Python APIs, built-in exceptions such as :exc:"
272
+ "`ValueError`, :exc:` TypeError` etc. may also be raised)."
273
273
msgstr ""
274
274
275
275
#: ../../howto/urllib2.rst:201
276
276
msgid ""
277
- ":exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific "
278
- "case of HTTP URLs."
277
+ ":exc:`~urllib.error. HTTPError` is the subclass of :exc:`~urllib.error. "
278
+ "URLError` raised in the specific case of HTTP URLs."
279
279
msgstr ""
280
280
281
281
#: ../../howto/urllib2.rst:204
@@ -309,9 +309,9 @@ msgid ""
309
309
"request. The default handlers will handle some of these responses for you "
310
310
"(for example, if the response is a \" redirection\" that requests the client "
311
311
"fetch the document from a different URL, urllib will handle that for you). "
312
- "For those it can't handle, urlopen will raise an :exc:`HTTPError`. Typical "
313
- "errors include '404' (page not found), '403' (request forbidden), and "
314
- "'401' (authentication required)."
312
+ "For those it can't handle, urlopen will raise an :exc:`~urllib.error. "
313
+ "HTTPError`. Typical errors include '404' (page not found), '403' (request "
314
+ "forbidden), and '401' (authentication required)."
315
315
msgstr ""
316
316
317
317
#: ../../howto/urllib2.rst:235
@@ -321,8 +321,8 @@ msgstr ""
321
321
322
322
#: ../../howto/urllib2.rst:237
323
323
msgid ""
324
- "The :exc:`HTTPError` instance raised will have an integer 'code' attribute, "
325
- "which corresponds to the error sent by the server."
324
+ "The :exc:`~urllib.error. HTTPError` instance raised will have an integer "
325
+ "'code' attribute, which corresponds to the error sent by the server."
326
326
msgstr ""
327
327
328
328
#: ../../howto/urllib2.rst:241
@@ -346,10 +346,10 @@ msgstr ""
346
346
#: ../../howto/urllib2.rst:319
347
347
msgid ""
348
348
"When an error is raised the server responds by returning an HTTP error code "
349
- "*and* an error page. You can use the :exc:`HTTPError` instance as a response "
350
- "on the page returned. This means that as well as the code attribute, it also "
351
- "has read, geturl, and info, methods as returned by the ``urllib.response`` "
352
- "module::"
349
+ "*and* an error page. You can use the :exc:`~urllib.error. HTTPError` instance "
350
+ "as a response on the page returned. This means that as well as the code "
351
+ "attribute, it also has read, geturl, and info, methods as returned by the "
352
+ "``urllib.response`` module::"
353
353
msgstr ""
354
354
355
355
#: ../../howto/urllib2.rst:339
@@ -358,8 +358,9 @@ msgstr ""
358
358
359
359
#: ../../howto/urllib2.rst:341
360
360
msgid ""
361
- "So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` "
362
- "there are two basic approaches. I prefer the second approach."
361
+ "So if you want to be prepared for :exc:`~urllib.error.HTTPError` *or* :exc:"
362
+ "`~urllib.error.URLError` there are two basic approaches. I prefer the second "
363
+ "approach."
363
364
msgstr ""
364
365
365
366
#: ../../howto/urllib2.rst:345
@@ -369,7 +370,7 @@ msgstr ""
369
370
#: ../../howto/urllib2.rst:367
370
371
msgid ""
371
372
"The ``except HTTPError`` *must* come first, otherwise ``except URLError`` "
372
- "will *also* catch an :exc:`HTTPError`."
373
+ "will *also* catch an :exc:`~urllib.error. HTTPError`."
373
374
msgstr ""
374
375
375
376
#: ../../howto/urllib2.rst:371
@@ -382,9 +383,9 @@ msgstr ""
382
383
383
384
#: ../../howto/urllib2.rst:394
384
385
msgid ""
385
- "The response returned by urlopen (or the :exc:`HTTPError` instance) has two "
386
- "useful methods :meth:`info` and :meth:`geturl` and is defined in the module : "
387
- "mod:`urllib.response`.."
386
+ "The response returned by urlopen (or the :exc:`~urllib.error. HTTPError` "
387
+ "instance) has two useful methods :meth:`info` and :meth:`geturl` and is "
388
+ "defined in the module : mod:`urllib.response`.."
388
389
msgstr ""
389
390
390
391
#: ../../howto/urllib2.rst:398
0 commit comments