# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/c-api/mapping.rst:6 msgid "Mapping Protocol" msgstr "Protocole de correspondance" #: ../Doc/c-api/mapping.rst:11 msgid "" "Return ``1`` if the object provides mapping protocol, and ``0`` otherwise. " "This function always succeeds." msgstr "" #: ../Doc/c-api/mapping.rst:20 msgid "" "Returns the number of keys in object *o* on success, and ``-1`` on failure. " "For objects that do not provide mapping protocol, this is equivalent to the " "Python expression ``len(o)``." msgstr "" #: ../Doc/c-api/mapping.rst:24 msgid "" "These functions returned an :c:type:`int` type. This might require changes " "in your code for properly supporting 64-bit systems." msgstr "" #: ../Doc/c-api/mapping.rst:31 ../Doc/c-api/mapping.rst:37 msgid "" "Remove the mapping for object *key* from the object *o*. Return ``-1`` on " "failure. This is equivalent to the Python statement ``del o[key]``." msgstr "" #: ../Doc/c-api/mapping.rst:43 msgid "" "On success, return ``1`` if the mapping object has the key *key* and ``0`` " "otherwise. This is equivalent to ``o[key]``, returning ``True`` on success " "and ``False`` on an exception. This function always succeeds." msgstr "" #: ../Doc/c-api/mapping.rst:50 msgid "" "Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. " "This is equivalent to ``o[key]``, returning ``True`` on success and " "``False`` on an exception. This function always succeeds." msgstr "" #: ../Doc/c-api/mapping.rst:57 msgid "" "On success, return a list of the keys in object *o*. On failure, return " "*NULL*. This is equivalent to the Python expression ``o.keys()``." msgstr "" #: ../Doc/c-api/mapping.rst:63 msgid "" "On success, return a list of the values in object *o*. On failure, return " "*NULL*. This is equivalent to the Python expression ``o.values()``." msgstr "" #: ../Doc/c-api/mapping.rst:69 msgid "" "On success, return a list of the items in object *o*, where each item is a " "tuple containing a key-value pair. On failure, return *NULL*. This is " "equivalent to the Python expression ``o.items()``." msgstr "" #: ../Doc/c-api/mapping.rst:76 msgid "" "Return element of *o* corresponding to the object *key* or *NULL* on " "failure. This is the equivalent of the Python expression ``o[key]``." msgstr "" #: ../Doc/c-api/mapping.rst:82 msgid "" "Map the object *key* to the value *v* in object *o*. Returns ``-1`` on " "failure. This is the equivalent of the Python statement ``o[key] = v``." msgstr ""