forked from AFPy/python-docs-fr
85 lines
2.5 KiB
Plaintext
85 lines
2.5 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2001-2016, Python Software Foundation
|
|
# This file is distributed under the same license as the Python package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Python 3.6\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2016-10-30 10:40+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
|
|
|
#: ../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:27 ../Doc/c-api/mapping.rst:33
|
|
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:39
|
|
msgid ""
|
|
"On success, return ``1`` if the mapping object has the key *key* and ``0`` "
|
|
"otherwise. This is equivalent to the Python expression ``key in o``. This "
|
|
"function always succeeds."
|
|
msgstr ""
|
|
|
|
#: ../Doc/c-api/mapping.rst:46
|
|
msgid ""
|
|
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
|
|
"This is equivalent to the Python expression ``key in o``. This function "
|
|
"always succeeds."
|
|
msgstr ""
|
|
|
|
#: ../Doc/c-api/mapping.rst:53
|
|
msgid ""
|
|
"On success, return a list or tuple of the keys in object *o*. On failure, "
|
|
"return *NULL*."
|
|
msgstr ""
|
|
|
|
#: ../Doc/c-api/mapping.rst:59
|
|
msgid ""
|
|
"On success, return a list or tuple of the values in object *o*. On failure, "
|
|
"return *NULL*."
|
|
msgstr ""
|
|
|
|
#: ../Doc/c-api/mapping.rst:65
|
|
msgid ""
|
|
"On success, return a list or tuple of the items in object *o*, where each "
|
|
"item is a tuple containing a key-value pair. On failure, return *NULL*."
|
|
msgstr ""
|
|
|
|
#: ../Doc/c-api/mapping.rst:71
|
|
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:77
|
|
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 ""
|