python-docs-fr/library/types.po

246 lines
7.1 KiB
Plaintext

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-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 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 <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/library/types.rst:2
msgid ":mod:`types` --- Names for built-in types"
msgstr ""
#: ../Doc/library/types.rst:7
msgid "**Source code:** :source:`Lib/types.py`"
msgstr "**Code source :** :source:`Lib/types.py`"
#: ../Doc/library/types.rst:11
msgid ""
"This module defines names for some object types that are used by the "
"standard Python interpreter, but not for the types defined by various "
"extension modules. Also, it does not include some of the types that arise "
"during processing such as the ``listiterator`` type. It is safe to use "
"``from types import *`` --- the module does not export any names besides the "
"ones listed here. New names exported by future versions of this module will "
"all end in ``Type``."
msgstr ""
#: ../Doc/library/types.rst:18
msgid ""
"Typical use is for functions that do different things depending on their "
"argument types, like the following::"
msgstr ""
#: ../Doc/library/types.rst:28
msgid ""
"Starting in Python 2.2, built-in factory functions such as :func:`int` and :"
"func:`str` are also names for the corresponding types. This is now the "
"preferred way to access the type instead of using the :mod:`types` module. "
"Accordingly, the example above should be written as follows::"
msgstr ""
#: ../Doc/library/types.rst:39
msgid "The module defines the following names:"
msgstr ""
#: ../Doc/library/types.rst:44
msgid "The type of ``None``."
msgstr ""
#: ../Doc/library/types.rst:51
msgid ""
"The type of type objects (such as returned by :func:`type`); alias of the "
"built-in :class:`type`."
msgstr ""
#: ../Doc/library/types.rst:57
msgid ""
"The type of the :class:`bool` values ``True`` and ``False``; alias of the "
"built-in :class:`bool`."
msgstr ""
#: ../Doc/library/types.rst:65
msgid "The type of integers (e.g. ``1``); alias of the built-in :class:`int`."
msgstr ""
#: ../Doc/library/types.rst:70
msgid ""
"The type of long integers (e.g. ``1L``); alias of the built-in :class:`long`."
msgstr ""
#: ../Doc/library/types.rst:75
msgid ""
"The type of floating point numbers (e.g. ``1.0``); alias of the built-in :"
"class:`float`."
msgstr ""
#: ../Doc/library/types.rst:81
msgid ""
"The type of complex numbers (e.g. ``1.0j``). This is not defined if Python "
"was built without complex number support."
msgstr ""
#: ../Doc/library/types.rst:87
msgid ""
"The type of character strings (e.g. ``'Spam'``); alias of the built-in :"
"class:`str`."
msgstr ""
#: ../Doc/library/types.rst:93
msgid ""
"The type of Unicode character strings (e.g. ``u'Spam'``). This is not "
"defined if Python was built without Unicode support. It's an alias of the "
"built-in :class:`unicode`."
msgstr ""
#: ../Doc/library/types.rst:100
msgid ""
"The type of tuples (e.g. ``(1, 2, 3, 'Spam')``); alias of the built-in :"
"class:`tuple`."
msgstr ""
#: ../Doc/library/types.rst:106
msgid ""
"The type of lists (e.g. ``[0, 1, 2, 3]``); alias of the built-in :class:"
"`list`."
msgstr ""
#: ../Doc/library/types.rst:112
msgid ""
"The type of dictionaries (e.g. ``{'Bacon': 1, 'Ham': 0}``); alias of the "
"built-in :class:`dict`."
msgstr ""
#: ../Doc/library/types.rst:118
msgid "An alternate name for ``DictType``."
msgstr ""
#: ../Doc/library/types.rst:124
msgid ""
"The type of user-defined functions and functions created by :keyword:"
"`lambda` expressions."
msgstr ""
#: ../Doc/library/types.rst:130
msgid ""
"The type of :term:`generator`-iterator objects, produced by calling a "
"generator function."
msgstr ""
#: ../Doc/library/types.rst:140
msgid "The type for code objects such as returned by :func:`compile`."
msgstr ""
#: ../Doc/library/types.rst:145
msgid "The type of user-defined old-style classes."
msgstr ""
#: ../Doc/library/types.rst:150
msgid "The type of instances of user-defined old-style classes."
msgstr ""
#: ../Doc/library/types.rst:155
msgid "The type of methods of user-defined class instances."
msgstr ""
#: ../Doc/library/types.rst:160
msgid "An alternate name for ``MethodType``."
msgstr ""
#: ../Doc/library/types.rst:166
msgid ""
"The type of built-in functions like :func:`len` or :func:`sys.exit`, and "
"methods of built-in classes. (Here, the term \"built-in\" means \"written "
"in C\".)"
msgstr ""
#: ../Doc/library/types.rst:173
msgid "The type of modules."
msgstr ""
#: ../Doc/library/types.rst:178
msgid ""
"The type of open file objects such as ``sys.stdout``; alias of the built-in :"
"class:`file`."
msgstr ""
#: ../Doc/library/types.rst:186
msgid ""
"The type of range objects returned by :func:`xrange`; alias of the built-in :"
"class:`xrange`."
msgstr ""
#: ../Doc/library/types.rst:194
msgid ""
"The type of objects returned by :func:`slice`; alias of the built-in :class:"
"`slice`."
msgstr ""
#: ../Doc/library/types.rst:200
msgid "The type of ``Ellipsis``."
msgstr ""
#: ../Doc/library/types.rst:205
msgid "The type of traceback objects such as found in ``sys.exc_traceback``."
msgstr ""
#: ../Doc/library/types.rst:210
msgid ""
"The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a "
"traceback object."
msgstr ""
#: ../Doc/library/types.rst:218
msgid "The type of buffer objects created by the :func:`buffer` function."
msgstr ""
#: ../Doc/library/types.rst:223
msgid "The type of dict proxies, such as ``TypeType.__dict__``."
msgstr ""
#: ../Doc/library/types.rst:228
msgid "The type of ``NotImplemented``"
msgstr ""
#: ../Doc/library/types.rst:233
msgid ""
"The type of objects defined in extension modules with ``PyGetSetDef``, such "
"as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as "
"descriptor for object attributes; it has the same purpose as the :class:"
"`property` type, but for classes defined in extension modules."
msgstr ""
#: ../Doc/library/types.rst:243
msgid ""
"The type of objects defined in extension modules with ``PyMemberDef``, such "
"as ``datetime.timedelta.days``. This type is used as descriptor for simple "
"C data members which use standard conversion functions; it has the same "
"purpose as the :class:`property` type, but for classes defined in extension "
"modules."
msgstr ""
#: ../Doc/library/types.rst:250
msgid ""
"In other implementations of Python, this type may be identical to "
"``GetSetDescriptorType``."
msgstr ""
#: ../Doc/library/types.rst:258
msgid ""
"A sequence containing ``StringType`` and ``UnicodeType`` used to facilitate "
"easier checking for any string object. Using this is more portable than "
"using a sequence of the two string types constructed elsewhere since it only "
"contains ``UnicodeType`` if it has been built in the running version of "
"Python. For example: ``isinstance(s, types.StringTypes)``."
msgstr ""