@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.7\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2019-03-23 10:56 +0900\n "
15+ "POT-Creation-Date : 2019-04-11 11:08 +0900\n "
1616"PO-Revision-Date : 2017-02-16 23:34+0000\n "
1717"
Last-Translator :
Freesand Leo <[email protected] >, 2019\n "
1818"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1573,11 +1573,15 @@ msgid ""
15731573":func:`urlopen`."
15741574msgstr ""
15751575
1576- #: ../../library/urllib.request.rst:1441
1576+ #: ../../library/urllib.request.rst:1438
1577+ msgid "This method always quotes *fullurl* using :func:`~urllib.parse.quote`."
1578+ msgstr ""
1579+
1580+ #: ../../library/urllib.request.rst:1442
15771581msgid "Overridable interface to open unknown URL types."
15781582msgstr ""
15791583
1580- #: ../../library/urllib.request.rst:1446
1584+ #: ../../library/urllib.request.rst:1447
15811585msgid ""
15821586"Retrieves the contents of *url* and places it in *filename*. The return "
15831587"value is a tuple consisting of a local filename and either an "
@@ -1594,7 +1598,7 @@ msgid ""
15941598"from the network. *reporthook* is ignored for local URLs."
15951599msgstr ""
15961600
1597- #: ../../library/urllib.request.rst:1459
1601+ #: ../../library/urllib.request.rst:1460
15981602msgid ""
15991603"If the *url* uses the :file:`http:` scheme identifier, the optional *data* "
16001604"argument may be given to specify a ``POST`` request (normally the request "
@@ -1603,15 +1607,15 @@ msgid ""
16031607":func:`urllib.parse.urlencode` function."
16041608msgstr ""
16051609
1606- #: ../../library/urllib.request.rst:1468
1610+ #: ../../library/urllib.request.rst:1469
16071611msgid ""
16081612"Variable that specifies the user agent of the opener object. To get "
16091613":mod:`urllib` to tell servers that it is a particular user agent, set this "
16101614"in a subclass as a class variable or in the constructor before calling the "
16111615"base constructor."
16121616msgstr ""
16131617
1614- #: ../../library/urllib.request.rst:1478
1618+ #: ../../library/urllib.request.rst:1479
16151619msgid ""
16161620":class:`FancyURLopener` subclasses :class:`URLopener` providing default "
16171621"handling for the following HTTP response codes: 301, 302, 303, 307 and 401."
@@ -1622,14 +1626,14 @@ msgid ""
16221626"defaults to 10."
16231627msgstr ""
16241628
1625- #: ../../library/urllib.request.rst:1485
1629+ #: ../../library/urllib.request.rst:1486
16261630msgid ""
16271631"For all other response codes, the method :meth:`http_error_default` is "
16281632"called which you can override in subclasses to handle the error "
16291633"appropriately."
16301634msgstr ""
16311635
1632- #: ../../library/urllib.request.rst:1490
1636+ #: ../../library/urllib.request.rst:1491
16331637msgid ""
16341638"According to the letter of :rfc:`2616`, 301 and 302 responses to POST "
16351639"requests must not be automatically redirected without confirmation by the "
@@ -1638,13 +1642,13 @@ msgid ""
16381642"behaviour."
16391643msgstr ""
16401644
1641- #: ../../library/urllib.request.rst:1495
1645+ #: ../../library/urllib.request.rst:1496
16421646msgid ""
16431647"The parameters to the constructor are the same as those for "
16441648":class:`URLopener`."
16451649msgstr ""
16461650
1647- #: ../../library/urllib.request.rst:1499
1651+ #: ../../library/urllib.request.rst:1500
16481652msgid ""
16491653"When performing basic authentication, a :class:`FancyURLopener` instance "
16501654"calls its :meth:`prompt_user_passwd` method. The default implementation "
@@ -1653,68 +1657,68 @@ msgid ""
16531657"needed."
16541658msgstr ""
16551659
1656- #: ../../library/urllib.request.rst:1504
1660+ #: ../../library/urllib.request.rst:1505
16571661msgid ""
16581662"The :class:`FancyURLopener` class offers one additional method that should "
16591663"be overloaded to provide the appropriate behavior:"
16601664msgstr ""
16611665
1662- #: ../../library/urllib.request.rst:1509
1666+ #: ../../library/urllib.request.rst:1510
16631667msgid ""
16641668"Return information needed to authenticate the user at the given host in the "
16651669"specified security realm. The return value should be a tuple, ``(user, "
16661670"password)``, which can be used for basic authentication."
16671671msgstr ""
16681672
1669- #: ../../library/urllib.request.rst:1513
1673+ #: ../../library/urllib.request.rst:1514
16701674msgid ""
16711675"The implementation prompts for this information on the terminal; an "
16721676"application should override this method to use an appropriate interaction "
16731677"model in the local environment."
16741678msgstr ""
16751679
1676- #: ../../library/urllib.request.rst:1519
1680+ #: ../../library/urllib.request.rst:1520
16771681msgid ":mod:`urllib.request` Restrictions"
16781682msgstr ""
16791683
1680- #: ../../library/urllib.request.rst:1525
1684+ #: ../../library/urllib.request.rst:1526
16811685msgid ""
16821686"Currently, only the following protocols are supported: HTTP (versions 0.9 "
16831687"and 1.0), FTP, local files, and data URLs."
16841688msgstr ""
16851689
1686- #: ../../library/urllib.request.rst:1528
1690+ #: ../../library/urllib.request.rst:1529
16871691msgid "Added support for data URLs."
16881692msgstr ""
16891693
1690- #: ../../library/urllib.request.rst:1530
1694+ #: ../../library/urllib.request.rst:1531
16911695msgid ""
16921696"The caching feature of :func:`urlretrieve` has been disabled until someone "
16931697"finds the time to hack proper processing of Expiration time headers."
16941698msgstr ""
16951699
1696- #: ../../library/urllib.request.rst:1533
1700+ #: ../../library/urllib.request.rst:1534
16971701msgid ""
16981702"There should be a function to query whether a particular URL is in the "
16991703"cache."
17001704msgstr ""
17011705
1702- #: ../../library/urllib.request.rst:1535
1706+ #: ../../library/urllib.request.rst:1536
17031707msgid ""
17041708"For backward compatibility, if a URL appears to point to a local file but "
17051709"the file can't be opened, the URL is re-interpreted using the FTP protocol."
17061710" This can sometimes cause confusing error messages."
17071711msgstr ""
17081712
1709- #: ../../library/urllib.request.rst:1539
1713+ #: ../../library/urllib.request.rst:1540
17101714msgid ""
17111715"The :func:`urlopen` and :func:`urlretrieve` functions can cause arbitrarily "
17121716"long delays while waiting for a network connection to be set up. This means"
17131717" that it is difficult to build an interactive Web client using these "
17141718"functions without using threads."
17151719msgstr ""
17161720
1717- #: ../../library/urllib.request.rst:1548
1721+ #: ../../library/urllib.request.rst:1549
17181722msgid ""
17191723"The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data "
17201724"returned by the server. This may be binary data (such as an image), plain "
@@ -1724,7 +1728,7 @@ msgid ""
17241728"module :mod:`html.parser` to parse it."
17251729msgstr ""
17261730
1727- #: ../../library/urllib.request.rst:1557
1731+ #: ../../library/urllib.request.rst:1558
17281732msgid ""
17291733"The code handling the FTP protocol cannot differentiate between a file and a"
17301734" directory. This can lead to unexpected behavior when attempting to read a "
@@ -1742,11 +1746,11 @@ msgid ""
17421746"*_urlopener* to meet your needs."
17431747msgstr ""
17441748
1745- #: ../../library/urllib.request.rst:1574
1749+ #: ../../library/urllib.request.rst:1575
17461750msgid ":mod:`urllib.response` --- Response classes used by urllib"
17471751msgstr ""
17481752
1749- #: ../../library/urllib.request.rst:1579
1753+ #: ../../library/urllib.request.rst:1580
17501754msgid ""
17511755"The :mod:`urllib.response` module defines functions and classes which define"
17521756" a minimal file like interface, including ``read()`` and ``readline()``. The"
0 commit comments