1
0
Fork 0
python-docs-fr/library/tomllib.po

192 lines
4.2 KiB
Plaintext

# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-05-22 23:13+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: library/tomllib.rst:2
msgid ":mod:`tomllib` --- Parse TOML files"
msgstr ""
#: library/tomllib.rst:12
msgid "**Source code:** :source:`Lib/tomllib`"
msgstr ""
#: library/tomllib.rst:16
msgid ""
"This module provides an interface for parsing TOML (Tom's Obvious Minimal "
"Language, `https://toml.io <https://toml.io/en/>`_). This module does not "
"support writing TOML."
msgstr ""
#: library/tomllib.rst:22
msgid ""
"The `Tomli-W package <https://pypi.org/project/tomli-w/>`__ is a TOML writer "
"that can be used in conjunction with this module, providing a write API "
"familiar to users of the standard library :mod:`marshal` and :mod:`pickle` "
"modules."
msgstr ""
#: library/tomllib.rst:29
msgid ""
"The `TOML Kit package <https://pypi.org/project/tomlkit/>`__ is a style-"
"preserving TOML library with both read and write capability. It is a "
"recommended replacement for this module for editing already existing TOML "
"files."
msgstr ""
#: library/tomllib.rst:35
msgid "This module defines the following functions:"
msgstr ""
#: library/tomllib.rst:39
msgid ""
"Read a TOML file. The first argument should be a readable and binary file "
"object. Return a :class:`dict`. Convert TOML types to Python using this :ref:"
"`conversion table <toml-to-py-table>`."
msgstr ""
#: library/tomllib.rst:43
msgid ""
"*parse_float* will be called with the string of every TOML float to be "
"decoded. By default, this is equivalent to ``float(num_str)``. This can be "
"used to use another datatype or parser for TOML floats (e.g. :class:`decimal."
"Decimal`). The callable must not return a :class:`dict` or a :class:`list`, "
"else a :exc:`ValueError` is raised."
msgstr ""
#: library/tomllib.rst:58
msgid "A :exc:`TOMLDecodeError` will be raised on an invalid TOML document."
msgstr ""
#: library/tomllib.rst:54
msgid ""
"Load TOML from a :class:`str` object. Return a :class:`dict`. Convert TOML "
"types to Python using this :ref:`conversion table <toml-to-py-table>`. The "
"*parse_float* argument has the same meaning as in :func:`load`."
msgstr ""
#: library/tomllib.rst:61
msgid "The following exceptions are available:"
msgstr ""
#: library/tomllib.rst:65
msgid "Subclass of :exc:`ValueError`."
msgstr ""
#: library/tomllib.rst:69
msgid "Examples"
msgstr ""
#: library/tomllib.rst:71
msgid "Parsing a TOML file::"
msgstr ""
#: library/tomllib.rst:78
msgid "Parsing a TOML string::"
msgstr ""
#: library/tomllib.rst:91
msgid "Conversion Table"
msgstr ""
#: library/tomllib.rst:96
msgid "TOML"
msgstr ""
#: library/tomllib.rst:96
msgid "Python"
msgstr ""
#: library/tomllib.rst:98
msgid "table"
msgstr ""
#: library/tomllib.rst:98
msgid "dict"
msgstr ""
#: library/tomllib.rst:100
msgid "string"
msgstr ""
#: library/tomllib.rst:100
msgid "str"
msgstr ""
#: library/tomllib.rst:102
msgid "integer"
msgstr ""
#: library/tomllib.rst:102
msgid "int"
msgstr ""
#: library/tomllib.rst:104
msgid "float"
msgstr ""
#: library/tomllib.rst:104
msgid "float (configurable with *parse_float*)"
msgstr ""
#: library/tomllib.rst:106
msgid "boolean"
msgstr ""
#: library/tomllib.rst:106
msgid "bool"
msgstr ""
#: library/tomllib.rst:108
msgid "offset date-time"
msgstr ""
#: library/tomllib.rst:108
msgid ""
"datetime.datetime (``tzinfo`` attribute set to an instance of ``datetime."
"timezone``)"
msgstr ""
#: library/tomllib.rst:110
msgid "local date-time"
msgstr ""
#: library/tomllib.rst:110
msgid "datetime.datetime (``tzinfo`` attribute set to ``None``)"
msgstr ""
#: library/tomllib.rst:112
msgid "local date"
msgstr ""
#: library/tomllib.rst:112
msgid "datetime.date"
msgstr ""
#: library/tomllib.rst:114
msgid "local time"
msgstr ""
#: library/tomllib.rst:114
msgid "datetime.time"
msgstr ""
#: library/tomllib.rst:116
msgid "array"
msgstr ""
#: library/tomllib.rst:116
msgid "list"
msgstr ""