@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.7\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2019-10-31 03:57 +0000\n "
14+ "POT-Creation-Date : 2019-11-21 04:10 +0000\n "
1515"PO-Revision-Date : 2019-09-01 03:39+0000\n "
1616"
Last-Translator :
汪心禾 <[email protected] >, 2019\n "
1717"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -38,81 +38,81 @@ msgid ""
3838"Return ``1`` if the object provides mapping protocol or supports slicing, "
3939"and ``0`` otherwise. Note that it returns ``1`` for Python classes with a "
4040":meth:`__getitem__` method since in general case it is impossible to "
41- "determine what the type of keys it supports. This function always succeeds."
41+ "determine what type of keys it supports. This function always succeeds."
4242msgstr ""
4343
44- #: ../../c-api/mapping.rst:26
44+ #: ../../c-api/mapping.rst:25
4545msgid ""
4646"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
4747"This is equivalent to the Python expression ``len(o)``."
4848msgstr ""
4949
50- #: ../../c-api/mapping.rst:32
50+ #: ../../c-api/mapping.rst:31
5151msgid ""
5252"Return element of *o* corresponding to the string *key* or ``NULL`` on "
5353"failure. This is the equivalent of the Python expression ``o[key]``. See "
5454"also :c:func:`PyObject_GetItem`."
5555msgstr ""
5656
57- #: ../../c-api/mapping.rst:39
57+ #: ../../c-api/mapping.rst:38
5858msgid ""
5959"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
6060"failure. This is the equivalent of the Python statement ``o[key] = v``. See"
6161" also :c:func:`PyObject_SetItem`."
6262msgstr ""
6363
64- #: ../../c-api/mapping.rst:46
64+ #: ../../c-api/mapping.rst:45
6565msgid ""
6666"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
6767"on failure. This is equivalent to the Python statement ``del o[key]``. This"
6868" is an alias of :c:func:`PyObject_DelItem`."
6969msgstr ""
7070
71- #: ../../c-api/mapping.rst:53
71+ #: ../../c-api/mapping.rst:52
7272msgid ""
7373"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
7474"on failure. This is equivalent to the Python statement ``del o[key]``."
7575msgstr ""
7676
77- #: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:70
77+ #: ../../c-api/mapping.rst:58 ../../c-api/mapping.rst:69
7878msgid ""
7979"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
8080"This is equivalent to the Python expression ``key in o``. This function "
8181"always succeeds."
8282msgstr ""
8383
84- #: ../../c-api/mapping.rst:63
84+ #: ../../c-api/mapping.rst:62
8585msgid ""
8686"Note that exceptions which occur while calling the :meth:`__getitem__` "
8787"method will get suppressed. To get error reporting use "
8888":c:func:`PyObject_GetItem()` instead."
8989msgstr ""
9090
91- #: ../../c-api/mapping.rst:74
91+ #: ../../c-api/mapping.rst:73
9292msgid ""
9393"Note that exceptions which occur while calling the :meth:`__getitem__` "
9494"method and creating a temporary string object will get suppressed. To get "
9595"error reporting use :c:func:`PyMapping_GetItemString()` instead."
9696msgstr ""
9797
98- #: ../../c-api/mapping.rst:81
98+ #: ../../c-api/mapping.rst:80
9999msgid ""
100100"On success, return a list of the keys in object *o*. On failure, return "
101101"``NULL``."
102102msgstr ""
103103
104- #: ../../c-api/mapping.rst:84 ../../c-api/mapping.rst:93
105- #: ../../c-api/mapping.rst:102
104+ #: ../../c-api/mapping.rst:83 ../../c-api/mapping.rst:92
105+ #: ../../c-api/mapping.rst:101
106106msgid "Previously, the function returned a list or a tuple."
107107msgstr ""
108108
109- #: ../../c-api/mapping.rst:90
109+ #: ../../c-api/mapping.rst:89
110110msgid ""
111111"On success, return a list of the values in object *o*. On failure, return "
112112"``NULL``."
113113msgstr ""
114114
115- #: ../../c-api/mapping.rst:99
115+ #: ../../c-api/mapping.rst:98
116116msgid ""
117117"On success, return a list of the items in object *o*, where each item is a "
118118"tuple containing a key-value pair. On failure, return ``NULL``."
0 commit comments