88msgstr ""
99"Project-Id-Version : Python 3.6\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-02 13:27 +0900\n "
11+ "POT-Creation-Date : 2018-06-26 13:41 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"
Last-Translator :
Shengjing Zhu <[email protected] >, 2018\n "
1414"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1558,7 +1558,7 @@ msgid "The following keyword arguments are supported."
15581558msgstr ""
15591559
15601560#: ../../library/logging.rst:1132
1561- msgid "`` filename`` "
1561+ msgid "* filename* "
15621562msgstr ""
15631563
15641564#: ../../library/logging.rst:1132
@@ -1568,95 +1568,96 @@ msgid ""
15681568msgstr ""
15691569
15701570#: ../../library/logging.rst:1136
1571- msgid "`` filemode`` "
1571+ msgid "* filemode* "
15721572msgstr ""
15731573
15741574#: ../../library/logging.rst:1136
15751575msgid ""
1576- "Specifies the mode to open the file, if filename is specified (if filemode "
1577- "is unspecified, it defaults to 'a') ."
1576+ "If *filename* is specified, open the file in this :ref:`mode <filemodes>`. "
1577+ "Defaults to `` 'a'`` ."
15781578msgstr ""
15791579
15801580#: ../../library/logging.rst:1140
1581- msgid "`` format`` "
1581+ msgid "* format* "
15821582msgstr ""
15831583
15841584#: ../../library/logging.rst:1140
15851585msgid "Use the specified format string for the handler."
15861586msgstr ""
15871587
15881588#: ../../library/logging.rst:1143
1589- msgid "`` datefmt`` "
1589+ msgid "* datefmt* "
15901590msgstr ""
15911591
15921592#: ../../library/logging.rst:1143
1593- msgid "Use the specified date/time format."
1593+ msgid ""
1594+ "Use the specified date/time format, as accepted by :func:`time.strftime`."
15941595msgstr ""
15951596
1596- #: ../../library/logging.rst:1145
1597- msgid "`` style`` "
1597+ #: ../../library/logging.rst:1146
1598+ msgid "* style* "
15981599msgstr ""
15991600
1600- #: ../../library/logging.rst:1145
1601+ #: ../../library/logging.rst:1146
16011602msgid ""
1602- "If `` format`` is specified, use this style for the format string. One of "
1603- "'%', '{' or '$' for %-formatting, :meth:`str.format` or "
1604- ": class:`string.Template` respectively, and defaulting to '%' if not "
1605- "specified ."
1603+ "If * format* is specified, use this style for the format string. One of "
1604+ "`` '%'``, `` '{'`` or `` '$'`` for :ref:`printf-style <old-string-formatting>`, "
1605+ " :meth:`str.format` or : class:`string.Template` respectively. Defaults to "
1606+ "``'%'`` ."
16061607msgstr ""
16071608
1608- #: ../../library/logging.rst:1151
1609- msgid "`` level`` "
1609+ #: ../../library/logging.rst:1154
1610+ msgid "* level* "
16101611msgstr ""
16111612
1612- #: ../../library/logging.rst:1151
1613- msgid "Set the root logger level to the specified level."
1613+ #: ../../library/logging.rst:1154
1614+ msgid "Set the root logger level to the specified :ref:` level <levels>` ."
16141615msgstr ""
16151616
1616- #: ../../library/logging.rst:1154
1617- msgid "`` stream`` "
1617+ #: ../../library/logging.rst:1157
1618+ msgid "* stream* "
16181619msgstr ""
16191620
1620- #: ../../library/logging.rst:1154
1621+ #: ../../library/logging.rst:1157
16211622msgid ""
16221623"Use the specified stream to initialize the StreamHandler. Note that this "
1623- "argument is incompatible with ' filename' - if both are present, a "
1624+ "argument is incompatible with * filename* - if both are present, a "
16241625"``ValueError`` is raised."
16251626msgstr ""
16261627
1627- #: ../../library/logging.rst:1159
1628- msgid "`` handlers`` "
1628+ #: ../../library/logging.rst:1162
1629+ msgid "* handlers* "
16291630msgstr ""
16301631
1631- #: ../../library/logging.rst:1159
1632+ #: ../../library/logging.rst:1162
16321633msgid ""
16331634"If specified, this should be an iterable of already created handlers to add "
16341635"to the root logger. Any handlers which don't already have a formatter set "
16351636"will be assigned the default formatter created in this function. Note that "
1636- "this argument is incompatible with ' filename' or ' stream' - if both are "
1637+ "this argument is incompatible with * filename* or * stream* - if both are "
16371638"present, a ``ValueError`` is raised."
16381639msgstr ""
16391640
1640- #: ../../library/logging.rst:1169
1641+ #: ../../library/logging.rst:1172
16411642msgid "The ``style`` argument was added."
16421643msgstr ""
16431644
1644- #: ../../library/logging.rst:1172
1645+ #: ../../library/logging.rst:1175
16451646msgid ""
16461647"The ``handlers`` argument was added. Additional checks were added to catch "
16471648"situations where incompatible arguments are specified (e.g. ``handlers`` "
16481649"together with ``stream`` or ``filename``, or ``stream`` together with "
16491650"``filename``)."
16501651msgstr ""
16511652
1652- #: ../../library/logging.rst:1181
1653+ #: ../../library/logging.rst:1184
16531654msgid ""
16541655"Informs the logging system to perform an orderly shutdown by flushing and "
16551656"closing all handlers. This should be called at application exit and no "
16561657"further use of the logging system should be made after this call."
16571658msgstr ""
16581659
1659- #: ../../library/logging.rst:1188
1660+ #: ../../library/logging.rst:1191
16601661msgid ""
16611662"Tells the logging system to use the class *klass* when instantiating a "
16621663"logger. The class should define :meth:`__init__` such that only a name "
@@ -1666,84 +1667,84 @@ msgid ""
16661667"behavior."
16671668msgstr ""
16681669
1669- #: ../../library/logging.rst:1197
1670+ #: ../../library/logging.rst:1200
16701671msgid "Set a callable which is used to create a :class:`LogRecord`."
16711672msgstr ""
16721673
1673- #: ../../library/logging.rst:1199
1674+ #: ../../library/logging.rst:1202
16741675msgid "The factory callable to be used to instantiate a log record."
16751676msgstr ""
16761677
1677- #: ../../library/logging.rst:1201
1678+ #: ../../library/logging.rst:1204
16781679msgid ""
16791680"This function has been provided, along with :func:`getLogRecordFactory`, to "
16801681"allow developers more control over how the :class:`LogRecord` representing a"
16811682" logging event is constructed."
16821683msgstr ""
16831684
1684- #: ../../library/logging.rst:1206
1685+ #: ../../library/logging.rst:1209
16851686msgid "The factory has the following signature:"
16861687msgstr ""
16871688
1688- #: ../../library/logging.rst:1208
1689+ #: ../../library/logging.rst:1211
16891690msgid ""
16901691"``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, "
16911692"**kwargs)``"
16921693msgstr ""
16931694
1694- #: ../../library/logging.rst:1210
1695+ #: ../../library/logging.rst:1213
16951696msgid "The logger name."
16961697msgstr ""
16971698
16981699#: ../../library/logging.rst:0
16991700msgid "level"
17001701msgstr ""
17011702
1702- #: ../../library/logging.rst:1211
1703+ #: ../../library/logging.rst:1214
17031704msgid "The logging level (numeric)."
17041705msgstr ""
17051706
17061707#: ../../library/logging.rst:0
17071708msgid "fn"
17081709msgstr ""
17091710
1710- #: ../../library/logging.rst:1212
1711+ #: ../../library/logging.rst:1215
17111712msgid "The full pathname of the file where the logging call was made."
17121713msgstr ""
17131714
17141715#: ../../library/logging.rst:0
17151716msgid "lno"
17161717msgstr ""
17171718
1718- #: ../../library/logging.rst:1213
1719+ #: ../../library/logging.rst:1216
17191720msgid "The line number in the file where the logging call was made."
17201721msgstr ""
17211722
1722- #: ../../library/logging.rst:1214
1723+ #: ../../library/logging.rst:1217
17231724msgid "The logging message."
17241725msgstr ""
17251726
1726- #: ../../library/logging.rst:1215
1727+ #: ../../library/logging.rst:1218
17271728msgid "The arguments for the logging message."
17281729msgstr ""
17291730
1730- #: ../../library/logging.rst:1216
1731+ #: ../../library/logging.rst:1219
17311732msgid "An exception tuple, or ``None``."
17321733msgstr ""
17331734
17341735#: ../../library/logging.rst:0
17351736msgid "func"
17361737msgstr ""
17371738
1738- #: ../../library/logging.rst:1217
1739+ #: ../../library/logging.rst:1220
17391740msgid "The name of the function or method which invoked the logging call."
17401741msgstr ""
17411742
17421743#: ../../library/logging.rst:0
17431744msgid "sinfo"
17441745msgstr ""
17451746
1746- #: ../../library/logging.rst:1219
1747+ #: ../../library/logging.rst:1222
17471748msgid ""
17481749"A stack traceback such as is provided by :func:`traceback.print_stack`, "
17491750"showing the call hierarchy."
@@ -1753,15 +1754,15 @@ msgstr ""
17531754msgid "kwargs"
17541755msgstr ""
17551756
1756- #: ../../library/logging.rst:1221
1757+ #: ../../library/logging.rst:1224
17571758msgid "Additional keyword arguments."
17581759msgstr ""
17591760
1760- #: ../../library/logging.rst:1225
1761+ #: ../../library/logging.rst:1228
17611762msgid "Module-Level Attributes"
17621763msgstr ""
17631764
1764- #: ../../library/logging.rst:1229
1765+ #: ../../library/logging.rst:1232
17651766msgid ""
17661767"A \" handler of last resort\" is available through this attribute. This is a "
17671768":class:`StreamHandler` writing to ``sys.stderr`` with a level of "
@@ -1772,22 +1773,22 @@ msgid ""
17721773"for some reason, ``lastResort`` can be set to ``None``."
17731774msgstr ""
17741775
1775- #: ../../library/logging.rst:1240
1776+ #: ../../library/logging.rst:1243
17761777msgid "Integration with the warnings module"
17771778msgstr ""
17781779
1779- #: ../../library/logging.rst:1242
1780+ #: ../../library/logging.rst:1245
17801781msgid ""
17811782"The :func:`captureWarnings` function can be used to integrate :mod:`logging`"
17821783" with the :mod:`warnings` module."
17831784msgstr ""
17841785
1785- #: ../../library/logging.rst:1247
1786+ #: ../../library/logging.rst:1250
17861787msgid ""
17871788"This function is used to turn the capture of warnings by logging on and off."
17881789msgstr ""
17891790
1790- #: ../../library/logging.rst:1250
1791+ #: ../../library/logging.rst:1253
17911792msgid ""
17921793"If *capture* is ``True``, warnings issued by the :mod:`warnings` module will"
17931794" be redirected to the logging system. Specifically, a warning will be "
@@ -1796,46 +1797,46 @@ msgid ""
17961797":const:`WARNING`."
17971798msgstr ""
17981799
1799- #: ../../library/logging.rst:1255
1800+ #: ../../library/logging.rst:1258
18001801msgid ""
18011802"If *capture* is ``False``, the redirection of warnings to the logging system"
18021803" will stop, and warnings will be redirected to their original destinations "
18031804"(i.e. those in effect before ``captureWarnings(True)`` was called)."
18041805msgstr ""
18051806
1806- #: ../../library/logging.rst:1263
1807+ #: ../../library/logging.rst:1266
18071808msgid "Module :mod:`logging.config`"
18081809msgstr ""
18091810
1810- #: ../../library/logging.rst:1263
1811+ #: ../../library/logging.rst:1266
18111812msgid "Configuration API for the logging module."
18121813msgstr ""
18131814
1814- #: ../../library/logging.rst:1266
1815+ #: ../../library/logging.rst:1269
18151816msgid "Module :mod:`logging.handlers`"
18161817msgstr ""
18171818
1818- #: ../../library/logging.rst:1266
1819+ #: ../../library/logging.rst:1269
18191820msgid "Useful handlers included with the logging module."
18201821msgstr ""
18211822
1822- #: ../../library/logging.rst:1270
1823+ #: ../../library/logging.rst:1273
18231824msgid ":pep:`282` - A Logging System"
18241825msgstr ""
18251826
1826- #: ../../library/logging.rst:1269
1827+ #: ../../library/logging.rst:1272
18271828msgid ""
18281829"The proposal which described this feature for inclusion in the Python "
18291830"standard library."
18301831msgstr ""
18311832
1832- #: ../../library/logging.rst:1275
1833+ #: ../../library/logging.rst:1278
18331834msgid ""
18341835"`Original Python logging package <https://www.red-"
18351836"dove.com/python_logging.html>`_"
18361837msgstr ""
18371838
1838- #: ../../library/logging.rst:1273
1839+ #: ../../library/logging.rst:1276
18391840msgid ""
18401841"This is the original source for the :mod:`logging` package. The version of "
18411842"the package available from this site is suitable for use with Python 1.5.2, "
0 commit comments