diff --git a/bugs.po b/bugs.po index fb18d7d8..94976347 100644 --- a/bugs.po +++ b/bugs.po @@ -7,16 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-24 23:03+0200\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/bugs.rst:5 diff --git a/c-api/complex.po b/c-api/complex.po index c50acf1a..09dcf3ce 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 10:30+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/c-api/complex.rst:6 diff --git a/c-api/memory.po b/c-api/memory.po index 9260be10..cf7f44b8 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -127,6 +127,7 @@ msgid "" msgstr "" #: ../Doc/c-api/memory.rst:111 ../Doc/c-api/memory.rst:181 +#: ../Doc/c-api/memory.rst:282 msgid "" "Allocates *n* bytes and returns a pointer of type :c:type:`void\\*` to the " "allocated memory, or *NULL* if the request fails." @@ -140,6 +141,7 @@ msgid "" msgstr "" #: ../Doc/c-api/memory.rst:121 ../Doc/c-api/memory.rst:191 +#: ../Doc/c-api/memory.rst:292 msgid "" "Allocates *nelem* elements each whose size in bytes is *elsize* and returns " "a pointer of type :c:type:`void\\*` to the allocated memory, or *NULL* if " @@ -154,6 +156,7 @@ msgid "" msgstr "" #: ../Doc/c-api/memory.rst:134 ../Doc/c-api/memory.rst:204 +#: ../Doc/c-api/memory.rst:305 msgid "" "Resizes the memory block pointed to by *p* to *n* bytes. The contents will " "be unchanged to the minimum of the old and the new sizes." @@ -183,11 +186,12 @@ msgstr "" msgid "" "Frees the memory block pointed to by *p*, which must have been returned by a " "previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or :c:" -"func:`PyMem_RawCalloc`. Otherwise, or if ``PyMem_Free(p)`` has been called " -"before, undefined behavior occurs." +"func:`PyMem_RawCalloc`. Otherwise, or if ``PyMem_RawFree(p)`` has been " +"called before, undefined behavior occurs." msgstr "" #: ../Doc/c-api/memory.rst:156 ../Doc/c-api/memory.rst:225 +#: ../Doc/c-api/memory.rst:326 msgid "If *p* is *NULL*, no operation is performed." msgstr "" @@ -195,19 +199,19 @@ msgstr "" msgid "Memory Interface" msgstr "" -#: ../Doc/c-api/memory.rst:164 +#: ../Doc/c-api/memory.rst:164 ../Doc/c-api/memory.rst:269 msgid "" "The following function sets, modeled after the ANSI C standard, but " "specifying behavior when requesting zero bytes, are available for allocating " "and releasing memory from the Python heap." msgstr "" -#: ../Doc/c-api/memory.rst:168 +#: ../Doc/c-api/memory.rst:168 ../Doc/c-api/memory.rst:273 msgid "" "By default, these functions use :ref:`pymalloc memory allocator `." msgstr "" -#: ../Doc/c-api/memory.rst:172 +#: ../Doc/c-api/memory.rst:172 ../Doc/c-api/memory.rst:277 msgid "" "The :term:`GIL ` must be held when using these " "functions." @@ -323,190 +327,236 @@ msgid "``PyMem_DEL(ptr)``" msgstr "" #: ../Doc/c-api/memory.rst:267 +msgid "Object allocators" +msgstr "" + +#: ../Doc/c-api/memory.rst:285 +msgid "" +"Requesting zero bytes returns a distinct non-*NULL* pointer if possible, as " +"if ``PyObject_Malloc(1)`` had been called instead. The memory will not have " +"been initialized in any way." +msgstr "" + +#: ../Doc/c-api/memory.rst:296 +msgid "" +"Requesting zero elements or elements of size zero bytes returns a distinct " +"non-*NULL* pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been " +"called instead." +msgstr "" + +#: ../Doc/c-api/memory.rst:308 +msgid "" +"If *p* is *NULL*, the call is equivalent to ``PyObject_Malloc(n)``; else if " +"*n* is equal to zero, the memory block is resized but is not freed, and the " +"returned pointer is non-*NULL*." +msgstr "" + +#: ../Doc/c-api/memory.rst:312 +msgid "" +"Unless *p* is *NULL*, it must have been returned by a previous call to :c:" +"func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:" +"`PyObject_Calloc`." +msgstr "" + +#: ../Doc/c-api/memory.rst:315 +msgid "" +"If the request fails, :c:func:`PyObject_Realloc` returns *NULL* and *p* " +"remains a valid pointer to the previous memory area." +msgstr "" + +#: ../Doc/c-api/memory.rst:321 +msgid "" +"Frees the memory block pointed to by *p*, which must have been returned by a " +"previous call to :c:func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:" +"func:`PyObject_Calloc`. Otherwise, or if ``PyObject_Free(p)`` has been " +"called before, undefined behavior occurs." +msgstr "" + +#: ../Doc/c-api/memory.rst:330 msgid "Customize Memory Allocators" msgstr "" -#: ../Doc/c-api/memory.rst:273 +#: ../Doc/c-api/memory.rst:336 msgid "" "Structure used to describe a memory block allocator. The structure has four " "fields:" msgstr "" -#: ../Doc/c-api/memory.rst:277 ../Doc/c-api/memory.rst:414 +#: ../Doc/c-api/memory.rst:340 ../Doc/c-api/memory.rst:477 msgid "Field" msgstr "" -#: ../Doc/c-api/memory.rst:277 ../Doc/c-api/memory.rst:414 +#: ../Doc/c-api/memory.rst:340 ../Doc/c-api/memory.rst:477 msgid "Meaning" msgstr "Signification" -#: ../Doc/c-api/memory.rst:279 ../Doc/c-api/memory.rst:416 +#: ../Doc/c-api/memory.rst:342 ../Doc/c-api/memory.rst:479 msgid "``void *ctx``" msgstr "``void *ctx``" -#: ../Doc/c-api/memory.rst:279 ../Doc/c-api/memory.rst:416 +#: ../Doc/c-api/memory.rst:342 ../Doc/c-api/memory.rst:479 msgid "user context passed as first argument" msgstr "" -#: ../Doc/c-api/memory.rst:281 +#: ../Doc/c-api/memory.rst:344 msgid "``void* malloc(void *ctx, size_t size)``" msgstr "``void* malloc(void *ctx, size_t size)``" -#: ../Doc/c-api/memory.rst:281 +#: ../Doc/c-api/memory.rst:344 msgid "allocate a memory block" msgstr "" -#: ../Doc/c-api/memory.rst:283 +#: ../Doc/c-api/memory.rst:346 msgid "``void* calloc(void *ctx, size_t nelem, size_t elsize)``" msgstr "" -#: ../Doc/c-api/memory.rst:283 +#: ../Doc/c-api/memory.rst:346 msgid "allocate a memory block initialized with zeros" msgstr "" -#: ../Doc/c-api/memory.rst:286 +#: ../Doc/c-api/memory.rst:349 msgid "``void* realloc(void *ctx, void *ptr, size_t new_size)``" msgstr "" -#: ../Doc/c-api/memory.rst:286 +#: ../Doc/c-api/memory.rst:349 msgid "allocate or resize a memory block" msgstr "" -#: ../Doc/c-api/memory.rst:288 +#: ../Doc/c-api/memory.rst:351 msgid "``void free(void *ctx, void *ptr)``" msgstr "``void free(void *ctx, void *ptr)``" -#: ../Doc/c-api/memory.rst:288 +#: ../Doc/c-api/memory.rst:351 msgid "free a memory block" msgstr "" -#: ../Doc/c-api/memory.rst:291 +#: ../Doc/c-api/memory.rst:354 msgid "" "The :c:type:`PyMemAllocator` structure was renamed to :c:type:" "`PyMemAllocatorEx` and a new ``calloc`` field was added." msgstr "" -#: ../Doc/c-api/memory.rst:298 +#: ../Doc/c-api/memory.rst:361 msgid "Enum used to identify an allocator domain. Domains:" msgstr "" -#: ../Doc/c-api/memory.rst:302 ../Doc/c-api/memory.rst:311 -#: ../Doc/c-api/memory.rst:320 +#: ../Doc/c-api/memory.rst:365 ../Doc/c-api/memory.rst:374 +#: ../Doc/c-api/memory.rst:383 msgid "Functions:" msgstr "" -#: ../Doc/c-api/memory.rst:304 +#: ../Doc/c-api/memory.rst:367 msgid ":c:func:`PyMem_RawMalloc`" msgstr "" -#: ../Doc/c-api/memory.rst:305 +#: ../Doc/c-api/memory.rst:368 msgid ":c:func:`PyMem_RawRealloc`" msgstr "" -#: ../Doc/c-api/memory.rst:306 +#: ../Doc/c-api/memory.rst:369 msgid ":c:func:`PyMem_RawCalloc`" msgstr "" -#: ../Doc/c-api/memory.rst:307 +#: ../Doc/c-api/memory.rst:370 msgid ":c:func:`PyMem_RawFree`" msgstr "" -#: ../Doc/c-api/memory.rst:313 +#: ../Doc/c-api/memory.rst:376 msgid ":c:func:`PyMem_Malloc`," msgstr "" -#: ../Doc/c-api/memory.rst:314 +#: ../Doc/c-api/memory.rst:377 msgid ":c:func:`PyMem_Realloc`" msgstr "" -#: ../Doc/c-api/memory.rst:315 +#: ../Doc/c-api/memory.rst:378 msgid ":c:func:`PyMem_Calloc`" msgstr "" -#: ../Doc/c-api/memory.rst:316 +#: ../Doc/c-api/memory.rst:379 msgid ":c:func:`PyMem_Free`" msgstr "" -#: ../Doc/c-api/memory.rst:322 +#: ../Doc/c-api/memory.rst:385 msgid ":c:func:`PyObject_Malloc`" msgstr "" -#: ../Doc/c-api/memory.rst:323 +#: ../Doc/c-api/memory.rst:386 msgid ":c:func:`PyObject_Realloc`" msgstr "" -#: ../Doc/c-api/memory.rst:324 +#: ../Doc/c-api/memory.rst:387 msgid ":c:func:`PyObject_Calloc`" msgstr "" -#: ../Doc/c-api/memory.rst:325 +#: ../Doc/c-api/memory.rst:388 msgid ":c:func:`PyObject_Free`" msgstr "" -#: ../Doc/c-api/memory.rst:329 +#: ../Doc/c-api/memory.rst:392 msgid "Get the memory block allocator of the specified domain." msgstr "" -#: ../Doc/c-api/memory.rst:334 +#: ../Doc/c-api/memory.rst:397 msgid "Set the memory block allocator of the specified domain." msgstr "" -#: ../Doc/c-api/memory.rst:336 +#: ../Doc/c-api/memory.rst:399 msgid "" "The new allocator must return a distinct non-NULL pointer when requesting " "zero bytes." msgstr "" -#: ../Doc/c-api/memory.rst:339 +#: ../Doc/c-api/memory.rst:402 msgid "" "For the :c:data:`PYMEM_DOMAIN_RAW` domain, the allocator must be thread-" "safe: the :term:`GIL ` is not held when the " "allocator is called." msgstr "" -#: ../Doc/c-api/memory.rst:343 +#: ../Doc/c-api/memory.rst:406 msgid "" "If the new allocator is not a hook (does not call the previous allocator), " "the :c:func:`PyMem_SetupDebugHooks` function must be called to reinstall the " "debug hooks on top on the new allocator." msgstr "" -#: ../Doc/c-api/memory.rst:350 +#: ../Doc/c-api/memory.rst:413 msgid "Setup hooks to detect bugs in the Python memory allocator functions." msgstr "" -#: ../Doc/c-api/memory.rst:352 +#: ../Doc/c-api/memory.rst:415 msgid "" "Newly allocated memory is filled with the byte ``0xCB``, freed memory is " "filled with the byte ``0xDB``." msgstr "" -#: ../Doc/c-api/memory.rst:355 +#: ../Doc/c-api/memory.rst:418 msgid "Runtime checks:" msgstr "" -#: ../Doc/c-api/memory.rst:357 +#: ../Doc/c-api/memory.rst:420 msgid "" "Detect API violations, ex: :c:func:`PyObject_Free` called on a buffer " "allocated by :c:func:`PyMem_Malloc`" msgstr "" -#: ../Doc/c-api/memory.rst:359 +#: ../Doc/c-api/memory.rst:422 msgid "Detect write before the start of the buffer (buffer underflow)" msgstr "" -#: ../Doc/c-api/memory.rst:360 +#: ../Doc/c-api/memory.rst:423 msgid "Detect write after the end of the buffer (buffer overflow)" msgstr "" -#: ../Doc/c-api/memory.rst:361 +#: ../Doc/c-api/memory.rst:424 msgid "" "Check that the :term:`GIL ` is held when allocator " "functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and :" "c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called" msgstr "" -#: ../Doc/c-api/memory.rst:366 +#: ../Doc/c-api/memory.rst:429 msgid "" "On error, the debug hooks use the :mod:`tracemalloc` module to get the " "traceback where a memory block was allocated. The traceback is only " @@ -514,14 +564,14 @@ msgid "" "memory block was traced." msgstr "" -#: ../Doc/c-api/memory.rst:371 +#: ../Doc/c-api/memory.rst:434 msgid "" "These hooks are installed by default if Python is compiled in debug mode. " "The :envvar:`PYTHONMALLOC` environment variable can be used to install debug " "hooks on a Python compiled in release mode." msgstr "" -#: ../Doc/c-api/memory.rst:375 +#: ../Doc/c-api/memory.rst:438 msgid "" "This function now also works on Python compiled in release mode. On error, " "the debug hooks now use :mod:`tracemalloc` to get the traceback where a " @@ -530,11 +580,11 @@ msgid "" "`PYMEM_DOMAIN_MEM` domains are called." msgstr "" -#: ../Doc/c-api/memory.rst:386 +#: ../Doc/c-api/memory.rst:449 msgid "The pymalloc allocator" msgstr "" -#: ../Doc/c-api/memory.rst:388 +#: ../Doc/c-api/memory.rst:451 msgid "" "Python has a *pymalloc* allocator optimized for small objects (smaller or " "equal to 512 bytes) with a short lifetime. It uses memory mappings called " @@ -543,79 +593,79 @@ msgid "" "512 bytes." msgstr "" -#: ../Doc/c-api/memory.rst:393 +#: ../Doc/c-api/memory.rst:456 msgid "" "*pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_MEM` (ex: :" "c:func:`PyMem_Malloc`) and :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:" "`PyObject_Malloc`) domains." msgstr "" -#: ../Doc/c-api/memory.rst:397 +#: ../Doc/c-api/memory.rst:460 msgid "The arena allocator uses the following functions:" msgstr "" -#: ../Doc/c-api/memory.rst:399 +#: ../Doc/c-api/memory.rst:462 msgid ":c:func:`VirtualAlloc` and :c:func:`VirtualFree` on Windows," msgstr "" -#: ../Doc/c-api/memory.rst:400 +#: ../Doc/c-api/memory.rst:463 msgid ":c:func:`mmap` and :c:func:`munmap` if available," msgstr "" -#: ../Doc/c-api/memory.rst:401 +#: ../Doc/c-api/memory.rst:464 msgid ":c:func:`malloc` and :c:func:`free` otherwise." msgstr "" -#: ../Doc/c-api/memory.rst:404 +#: ../Doc/c-api/memory.rst:467 msgid "Customize pymalloc Arena Allocator" msgstr "" -#: ../Doc/c-api/memory.rst:410 +#: ../Doc/c-api/memory.rst:473 msgid "" "Structure used to describe an arena allocator. The structure has three " "fields:" msgstr "" -#: ../Doc/c-api/memory.rst:418 +#: ../Doc/c-api/memory.rst:481 msgid "``void* alloc(void *ctx, size_t size)``" msgstr "``void* alloc(void *ctx, size_t size)``" -#: ../Doc/c-api/memory.rst:418 +#: ../Doc/c-api/memory.rst:481 msgid "allocate an arena of size bytes" msgstr "" -#: ../Doc/c-api/memory.rst:420 +#: ../Doc/c-api/memory.rst:483 msgid "``void free(void *ctx, size_t size, void *ptr)``" msgstr "``void free(void *ctx, size_t size, void *ptr)``" -#: ../Doc/c-api/memory.rst:420 +#: ../Doc/c-api/memory.rst:483 msgid "free an arena" msgstr "" -#: ../Doc/c-api/memory.rst:425 +#: ../Doc/c-api/memory.rst:488 msgid "Get the arena allocator." msgstr "" -#: ../Doc/c-api/memory.rst:429 +#: ../Doc/c-api/memory.rst:492 msgid "Set the arena allocator." msgstr "" -#: ../Doc/c-api/memory.rst:435 +#: ../Doc/c-api/memory.rst:498 msgid "Examples" msgstr "Exemples" -#: ../Doc/c-api/memory.rst:437 +#: ../Doc/c-api/memory.rst:500 msgid "" "Here is the example from section :ref:`memoryoverview`, rewritten so that " "the I/O buffer is allocated from the Python heap by using the first function " "set::" msgstr "" -#: ../Doc/c-api/memory.rst:450 +#: ../Doc/c-api/memory.rst:513 msgid "The same code using the type-oriented function set::" msgstr "" -#: ../Doc/c-api/memory.rst:462 +#: ../Doc/c-api/memory.rst:525 msgid "" "Note that in the two examples above, the buffer is always manipulated via " "functions belonging to the same set. Indeed, it is required to use the same " @@ -625,14 +675,14 @@ msgid "" "different allocators operating on different heaps. ::" msgstr "" -#: ../Doc/c-api/memory.rst:477 +#: ../Doc/c-api/memory.rst:540 msgid "" "In addition to the functions aimed at handling raw memory blocks from the " "Python heap, objects in Python are allocated and released with :c:func:" "`PyObject_New`, :c:func:`PyObject_NewVar` and :c:func:`PyObject_Del`." msgstr "" -#: ../Doc/c-api/memory.rst:481 +#: ../Doc/c-api/memory.rst:544 msgid "" "These will be explained in the next chapter on defining and implementing new " "object types in C." diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index 28a2717c..e854e366 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -173,10 +173,11 @@ msgid "" "Read and execute statements from a file associated with an interactive " "device until EOF is reached. The user will be prompted using ``sys.ps1`` " "and ``sys.ps2``. *filename* is decoded from the filesystem encoding (:func:" -"`sys.getfilesystemencoding`). Returns ``0`` at EOF." +"`sys.getfilesystemencoding`). Returns ``0`` at EOF or a negative number " +"upon failure." msgstr "" -#: ../Doc/c-api/veryhigh.rst:149 +#: ../Doc/c-api/veryhigh.rst:150 msgid "" "Can be set to point to a function with the prototype ``int func(void)``. " "The function will be called when Python's interpreter prompt is about to " @@ -186,7 +187,7 @@ msgid "" "the Python source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:160 +#: ../Doc/c-api/veryhigh.rst:161 msgid "" "Can be set to point to a function with the prototype ``char *func(FILE " "*stdin, FILE *stdout, char *prompt)``, overriding the default function used " @@ -197,34 +198,34 @@ msgid "" "line-editing and tab-completion features." msgstr "" -#: ../Doc/c-api/veryhigh.rst:169 +#: ../Doc/c-api/veryhigh.rst:170 msgid "" "The result must be a string allocated by :c:func:`PyMem_RawMalloc` or :c:" "func:`PyMem_RawRealloc`, or *NULL* if an error occurred." msgstr "" -#: ../Doc/c-api/veryhigh.rst:172 +#: ../Doc/c-api/veryhigh.rst:173 msgid "" "The result must be allocated by :c:func:`PyMem_RawMalloc` or :c:func:" "`PyMem_RawRealloc`, instead of being allocated by :c:func:`PyMem_Malloc` or :" "c:func:`PyMem_Realloc`." msgstr "" -#: ../Doc/c-api/veryhigh.rst:180 +#: ../Doc/c-api/veryhigh.rst:181 msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " "*NULL* and *flags* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:187 +#: ../Doc/c-api/veryhigh.rst:188 msgid "" "This is a simplified interface to :c:func:" "`PyParser_SimpleParseStringFlagsFilename` below, leaving *filename* set to " "*NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:194 +#: ../Doc/c-api/veryhigh.rst:195 msgid "" "Parse Python source code from *str* using the start token *start* according " "to the *flags* argument. The result can be used to create a code object " @@ -233,25 +234,25 @@ msgid "" "(:func:`sys.getfilesystemencoding`)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:203 +#: ../Doc/c-api/veryhigh.rst:204 msgid "" "This is a simplified interface to :c:func:`PyParser_SimpleParseFileFlags` " "below, leaving *flags* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:209 +#: ../Doc/c-api/veryhigh.rst:210 msgid "" "Similar to :c:func:`PyParser_SimpleParseStringFlagsFilename`, but the Python " "source code is read from *fp* instead of an in-memory string." msgstr "" -#: ../Doc/c-api/veryhigh.rst:215 +#: ../Doc/c-api/veryhigh.rst:216 msgid "" "This is a simplified interface to :c:func:`PyRun_StringFlags` below, leaving " "*flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:221 +#: ../Doc/c-api/veryhigh.rst:222 msgid "" "Execute Python source code from *str* in the context specified by the " "objects *globals* and *locals* with the compiler flags specified by " @@ -260,31 +261,31 @@ msgid "" "token that should be used to parse the source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:227 +#: ../Doc/c-api/veryhigh.rst:228 msgid "" "Returns the result of executing the code as a Python object, or *NULL* if an " "exception was raised." msgstr "" -#: ../Doc/c-api/veryhigh.rst:233 +#: ../Doc/c-api/veryhigh.rst:234 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*closeit* set to ``0`` and *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:239 +#: ../Doc/c-api/veryhigh.rst:240 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:245 +#: ../Doc/c-api/veryhigh.rst:246 msgid "" "This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " "*closeit* set to ``0``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:251 +#: ../Doc/c-api/veryhigh.rst:252 msgid "" "Similar to :c:func:`PyRun_StringFlags`, but the Python source code is read " "from *fp* instead of an in-memory string. *filename* should be the name of " @@ -293,19 +294,19 @@ msgid "" "func:`PyRun_FileExFlags` returns." msgstr "" -#: ../Doc/c-api/veryhigh.rst:260 +#: ../Doc/c-api/veryhigh.rst:261 msgid "" "This is a simplified interface to :c:func:`Py_CompileStringFlags` below, " "leaving *flags* set to *NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:266 +#: ../Doc/c-api/veryhigh.rst:267 msgid "" "This is a simplified interface to :c:func:`Py_CompileStringExFlags` below, " "with *optimize* set to ``-1``." msgstr "" -#: ../Doc/c-api/veryhigh.rst:272 +#: ../Doc/c-api/veryhigh.rst:273 msgid "" "Parse and compile the Python source code in *str*, returning the resulting " "code object. The start token is given by *start*; this can be used to " @@ -316,7 +317,7 @@ msgid "" "returns *NULL* if the code cannot be parsed or compiled." msgstr "" -#: ../Doc/c-api/veryhigh.rst:280 +#: ../Doc/c-api/veryhigh.rst:281 msgid "" "The integer *optimize* specifies the optimization level of the compiler; a " "value of ``-1`` selects the optimization level of the interpreter as given " @@ -325,20 +326,20 @@ msgid "" "or ``2`` (docstrings are removed too)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:291 +#: ../Doc/c-api/veryhigh.rst:292 msgid "" "Like :c:func:`Py_CompileStringObject`, but *filename* is a byte string " "decoded from the filesystem encoding (:func:`os.fsdecode`)." msgstr "" -#: ../Doc/c-api/veryhigh.rst:298 +#: ../Doc/c-api/veryhigh.rst:299 msgid "" "This is a simplified interface to :c:func:`PyEval_EvalCodeEx`, with just the " "code object, and global and local variables. The other arguments are set to " "*NULL*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:305 +#: ../Doc/c-api/veryhigh.rst:306 msgid "" "Evaluate a precompiled code object, given a particular environment for its " "evaluation. This environment consists of a dictionary of global variables, " @@ -347,19 +348,19 @@ msgid "" "only_parameter>` arguments and a closure tuple of cells." msgstr "" -#: ../Doc/c-api/veryhigh.rst:314 +#: ../Doc/c-api/veryhigh.rst:315 msgid "" "The C structure of the objects used to describe frame objects. The fields of " "this type are subject to change at any time." msgstr "" -#: ../Doc/c-api/veryhigh.rst:320 +#: ../Doc/c-api/veryhigh.rst:321 msgid "" "Evaluate an execution frame. This is a simplified interface to :c:func:" "`PyEval_EvalFrameEx`, for backward compatibility." msgstr "" -#: ../Doc/c-api/veryhigh.rst:326 +#: ../Doc/c-api/veryhigh.rst:327 msgid "" "This is the main, unvarnished function of Python interpretation. It is " "literally 2000 lines long. The code object associated with the execution " @@ -369,39 +370,39 @@ msgid "" "`~generator.throw` methods of generator objects." msgstr "" -#: ../Doc/c-api/veryhigh.rst:333 +#: ../Doc/c-api/veryhigh.rst:334 msgid "" "This function now includes a debug assertion to help ensure that it does not " "silently discard an active exception." msgstr "" -#: ../Doc/c-api/veryhigh.rst:340 +#: ../Doc/c-api/veryhigh.rst:341 msgid "" "This function changes the flags of the current evaluation frame, and returns " "true on success, false on failure." msgstr "" -#: ../Doc/c-api/veryhigh.rst:348 +#: ../Doc/c-api/veryhigh.rst:349 msgid "" "The start symbol from the Python grammar for isolated expressions; for use " "with :c:func:`Py_CompileString`." msgstr "" -#: ../Doc/c-api/veryhigh.rst:356 +#: ../Doc/c-api/veryhigh.rst:357 msgid "" "The start symbol from the Python grammar for sequences of statements as read " "from a file or other source; for use with :c:func:`Py_CompileString`. This " "is the symbol to use when compiling arbitrarily long Python source code." msgstr "" -#: ../Doc/c-api/veryhigh.rst:365 +#: ../Doc/c-api/veryhigh.rst:366 msgid "" "The start symbol from the Python grammar for a single statement; for use " "with :c:func:`Py_CompileString`. This is the symbol used for the interactive " "interpreter loop." msgstr "" -#: ../Doc/c-api/veryhigh.rst:372 +#: ../Doc/c-api/veryhigh.rst:373 msgid "" "This is the structure used to hold compiler flags. In cases where code is " "only being compiled, it is passed as ``int flags``, and in cases where code " @@ -409,14 +410,14 @@ msgid "" "case, ``from __future__ import`` can modify *flags*." msgstr "" -#: ../Doc/c-api/veryhigh.rst:377 +#: ../Doc/c-api/veryhigh.rst:378 msgid "" "Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated " "as equal to ``0``, and any modification due to ``from __future__ import`` is " "discarded. ::" msgstr "" -#: ../Doc/c-api/veryhigh.rst:388 +#: ../Doc/c-api/veryhigh.rst:389 msgid "" "This bit can be set in *flags* to cause division operator ``/`` to be " "interpreted as \"true division\" according to :pep:`238`." diff --git a/copyright.po b/copyright.po index e83c46b1..f657c248 100644 --- a/copyright.po +++ b/copyright.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,7 +26,8 @@ msgid "Python and this documentation is:" msgstr "Python et cette documentation sont :" #: ../Doc/copyright.rst:7 -msgid "Copyright © 2001-2016 Python Software Foundation. All rights reserved." +#, fuzzy +msgid "Copyright © 2001-2017 Python Software Foundation. All rights reserved." msgstr "" "Copyright © 2001-2016 Python Software Foundation. Tous droits réservés." diff --git a/distributing/index.po b/distributing/index.po index 39e0d45c..5e1e6fb1 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Distributing Python Modules" msgstr "Distribuer des Modules Python" +#: ../Doc/distributing/index.rst:0 +msgid "Email" +msgstr "" + #: ../Doc/distributing/index.rst:7 msgid "distutils-sig@python.org" msgstr "distutils-sig@python.org" diff --git a/distutils/builtdist.po b/distutils/builtdist.po index 857f1d04..cdc9e940 100644 --- a/distutils/builtdist.po +++ b/distutils/builtdist.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 10:31+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/distutils/builtdist.rst:5 diff --git a/distutils/index.po b/distutils/index.po index 2434d3df..476f12d4 100644 --- a/distutils/index.po +++ b/distutils/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,10 +21,18 @@ msgstr "" msgid "Distributing Python Modules (Legacy version)" msgstr "" +#: ../Doc/distutils/index.rst:0 +msgid "Authors" +msgstr "" + #: ../Doc/distutils/index.rst:7 msgid "Greg Ward, Anthony Baxter" msgstr "" +#: ../Doc/distutils/index.rst:0 +msgid "Email" +msgstr "" + #: ../Doc/distutils/index.rst:8 msgid "distutils-sig@python.org" msgstr "distutils-sig@python.org" diff --git a/extending/extending.po b/extending/extending.po index d497d5d9..73e10951 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-09-22 10:49+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/extending/extending.rst:8 @@ -84,10 +84,11 @@ msgid "A Simple Example" msgstr "Un exemple simple" #: ../Doc/extending/extending.rst:41 +#, fuzzy msgid "" "Let's create an extension module called ``spam`` (the favorite food of Monty " "Python fans...) and let's say we want to create a Python interface to the C " -"library function :c:func:`system`. [#]_ This function takes a null-" +"library function :c:func:`system` [#]_. This function takes a null-" "terminated character string as argument and returns an integer. We want " "this function to be callable from Python as follows::" msgstr "" @@ -1057,7 +1058,7 @@ msgid "" "borrower of a reference should not call :c:func:`Py_DECREF`. The borrower " "must not hold on to the object longer than the owner from which it was " "borrowed. Using a borrowed reference after the owner has disposed of it " -"risks using freed memory and should be avoided completely. [#]_" +"risks using freed memory and should be avoided completely [#]_." msgstr "" #: ../Doc/extending/extending.rst:922 @@ -1263,7 +1264,7 @@ msgstr "" msgid "" "The C function calling mechanism guarantees that the argument list passed to " "C functions (``args`` in the examples) is never *NULL* --- in fact it " -"guarantees that it is always a tuple. [#]_" +"guarantees that it is always a tuple [#]_." msgstr "" #: ../Doc/extending/extending.rst:1093 diff --git a/extending/newtypes.po b/extending/newtypes.po index 39b9e7a1..3dbc12b6 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -620,7 +620,7 @@ msgstr "" #: ../Doc/extending/newtypes.rst:668 msgid "" "In the second version of the :class:`Noddy` example, we allowed any kind of " -"object to be stored in the :attr:`first` or :attr:`last` attributes. [#]_ " +"object to be stored in the :attr:`first` or :attr:`last` attributes [#]_. " "This means that :class:`Noddy` objects can participate in cycles::" msgstr "" diff --git a/extending/windows.po b/extending/windows.po index 81630303..79c53a2d 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,9 +32,9 @@ msgid "" msgstr "" "Cette page explique rapidement comment créer un module d'extension Windows " "pour Python en utilisant Microsoft Visual C++, et donne plus d'informations " -"contextuelles sur son fonctionnement. Le texte explicatif est utile tant pour " -"le développeur Windows qui apprend à construire des extensions Python que " -"pour le développeur Unix souhaitant produire des logiciels pouvant être " +"contextuelles sur son fonctionnement. Le texte explicatif est utile tant " +"pour le développeur Windows qui apprend à construire des extensions Python " +"que pour le développeur Unix souhaitant produire des logiciels pouvant être " "construits sur Unix et Windows." #: ../Doc/extending/windows.rst:17 @@ -60,10 +60,10 @@ msgid "" msgstr "" "Cette page mentionne plusieurs noms de fichiers comprenant un numéro de " "version Python encodé. Ces noms de fichiers sont construits sous le format " -"de version ``XY`` ; en pratique, ``'X'`` représente le numéro de version majeu" -"re et ``'Y'`` représente le numéro de version mineure de la version Python ave" -"c laquelle vous travaillez. Par exemple, si vous utilisez Python 2.2.1, ``XY``" -" correspond à ``22``." +"de version ``XY`` ; en pratique, ``'X'`` représente le numéro de version " +"majeure et ``'Y'`` représente le numéro de version mineure de la version " +"Python avec laquelle vous travaillez. Par exemple, si vous utilisez Python " +"2.2.1, ``XY`` correspond à ``22``." #: ../Doc/extending/windows.rst:34 msgid "A Cookbook Approach" @@ -82,13 +82,14 @@ msgid "" msgstr "" "Il y a deux approches lorsque l'on construit des modules d'extension sur " "Windows, tout comme sur Unix : utiliser le paquet :mod:`distutils` pour " -"contrôler le processus de construction, ou faire les choses manuellement." -" L'approche distutils fonctionne bien pour la plupart des extensions ; la " +"contrôler le processus de construction, ou faire les choses manuellement. " +"L'approche distutils fonctionne bien pour la plupart des extensions ; la " "documentation pour utiliser :mod:`distutils` pour construire et empaqueter " "les modules d'extension est disponible dans :ref:`distutils-index`. Si vous " "considerez que vous avez réellement besoin de faire les choses manuellement, " -"il pourrait être enrichissant d'étudier le fichier de projet :source:`winsound" -" ` pour le module de la bibliothèque standard." +"il pourrait être enrichissant d'étudier le fichier de projet :source:" +"`winsound ` pour le module de la bibliothèque " +"standard." #: ../Doc/extending/windows.rst:48 msgid "Differences Between Unix and Windows" @@ -115,12 +116,12 @@ msgid "" "memory. This is basically a link operation." msgstr "" "Sur Unix, un fichier objet partagé (:file:`.so`) contient du code servant au " -"programme, ainsi que les noms des fonctions et les données que l'on s'attend " -" à trouver dans le programme. Quand le fichier est attaché au programme, " -"toutes les réferences à ces fonctions et données dans le code du fichier sont" -" modifiées pour pointer vers les localisations actuelles dans le programme où " -"sont désormais placées les fonctions et données dans la mémoire. C'est tout " -"simplement une opération de liaison." +"programme, ainsi que les noms des fonctions et les données que l'on " +"s'attend à trouver dans le programme. Quand le fichier est attaché au " +"programme, toutes les réferences à ces fonctions et données dans le code du " +"fichier sont modifiées pour pointer vers les localisations actuelles dans le " +"programme où sont désormais placées les fonctions et données dans la " +"mémoire. C'est tout simplement une opération de liaison." #: ../Doc/extending/windows.rst:64 msgid "" @@ -133,10 +134,11 @@ msgid "" msgstr "" "Sur Windows, un fichier bibliothèque de liens dynamiques (:file:`.dll`) n'a " "pas de références paresseuses. A la place, un accès aux fonctions ou données " -"passe par une table de conversion. Cela est fait pour que le code DLL ne doive" -" pas être réarrangé à l'exécution pour renvoyer à la mémoire du programme ; à " -"la place, le code utilise déjà la table de conversion DLL, et cette table est " -"modifiée à l'exécution pour pointer vers les fonctions et données." +"passe par une table de conversion. Cela est fait pour que le code DLL ne " +"doive pas être réarrangé à l'exécution pour renvoyer à la mémoire du " +"programme ; à la place, le code utilise déjà la table de conversion DLL, et " +"cette table est modifiée à l'exécution pour pointer vers les fonctions et " +"données." #: ../Doc/extending/windows.rst:70 msgid "" @@ -149,10 +151,10 @@ msgid "" msgstr "" "Sur Unix, il n'y a qu'un type de bibliothèque de fichier (:file:`.a`) qui " "contient du code venant de plusieurs fichiers objets (:file:`.o`). Durant " -"l'étape de liaison pour créer un fichier objet partagé (:file:`.so`), le lieur" -" peut informer qu'il ne sait pas où un identificateur est défini. Le lieur le " -"cherchera dans les fichiers objet dans les bibliothèques ; s'il le trouve, il " -"incluera tout le code provenant de ce fichier objet." +"l'étape de liaison pour créer un fichier objet partagé (:file:`.so`), le " +"lieur peut informer qu'il ne sait pas où un identificateur est défini. Le " +"lieur le cherchera dans les fichiers objet dans les bibliothèques ; s'il le " +"trouve, il incluera tout le code provenant de ce fichier objet." #: ../Doc/extending/windows.rst:76 msgid "" @@ -167,17 +169,18 @@ msgid "" "will need to be used for all future DLLs that depend on the symbols in the " "application or DLL." msgstr "" -"Sur Windows, il y a deux types de bibliothèques, une bibliothèque statique et " -"une bibliothèque d'import (toutes deux appelées :file:`.lib`). Une bibliothèqu" -"e statique est comme un fichier Unix :file:`.a` ; elle contient du code pouvan" -"t être inclus si nécessaire. Une bibliothèque d'import est uniquement utilisée" -" pour rassurer le lieur qu'un certain identificateur est légal, et sera présen" -"t dans le programme quand la DLL est chargé. Comme ça le lieur utilise les " -"informations provenant de la bibliothèque d'import pour construire la table de" -" conversion pour utiliser les identificateurs qui ne sont pas inclus dans la " -"DLL. Quand une application ou une DLL est lié, une bibliothèque d'import peut " -"être générée, qui devra être utilisée pour tous les futures DLL dépendantes " -"aux symboles provenant de l'application ou de la DLL." +"Sur Windows, il y a deux types de bibliothèques, une bibliothèque statique " +"et une bibliothèque d'import (toutes deux appelées :file:`.lib`). Une " +"bibliothèque statique est comme un fichier Unix :file:`.a` ; elle contient " +"du code pouvant être inclus si nécessaire. Une bibliothèque d'import est " +"uniquement utilisée pour rassurer le lieur qu'un certain identificateur est " +"légal, et sera présent dans le programme quand la DLL est chargé. Comme ça " +"le lieur utilise les informations provenant de la bibliothèque d'import pour " +"construire la table de conversion pour utiliser les identificateurs qui ne " +"sont pas inclus dans la DLL. Quand une application ou une DLL est lié, une " +"bibliothèque d'import peut être générée, qui devra être utilisée pour tous " +"les futures DLL dépendantes aux symboles provenant de l'application ou de la " +"DLL." #: ../Doc/extending/windows.rst:86 msgid "" @@ -189,14 +192,14 @@ msgid "" "`A.lib` to the linker for B and C. :file:`A.lib` does not contain code; it " "just contains information which will be used at runtime to access A's code." msgstr "" -"Supposons que vous construisez deux modules de chargement dynamiques, B et C, " -"qui ne devraient pas partager un autre bloc de code avec A. Sur Unix, vous ne " -"transmettrez pas :file:`A.a` au lieur pour :file:`B.so` et :file:`C.so` ; cela" -" le ferait être inclus deux fois, pour que B et C aient chacuns leur propre " -"copie. Sur Windows, construire :file:`A.dll` construira aussi :file:`A.lib`. " -"Vous transmettez :file:`A.lib` au lieur pour B et C. :file:`A.lib` ne contient" -" pas de code ; il contient uniquement des informations qui seront utilisées " -"lors de l'exécution pour accéder au code de A." +"Supposons que vous construisez deux modules de chargement dynamiques, B et " +"C, qui ne devraient pas partager un autre bloc de code avec A. Sur Unix, " +"vous ne transmettrez pas :file:`A.a` au lieur pour :file:`B.so` et :file:`C." +"so` ; cela le ferait être inclus deux fois, pour que B et C aient chacuns " +"leur propre copie. Sur Windows, construire :file:`A.dll` construira aussi :" +"file:`A.lib`. Vous transmettez :file:`A.lib` au lieur pour B et C. :file:`A." +"lib` ne contient pas de code ; il contient uniquement des informations qui " +"seront utilisées lors de l'exécution pour accéder au code de A." #: ../Doc/extending/windows.rst:94 msgid "" @@ -220,9 +223,9 @@ msgid "" "or may not work (though Borland seems to). The rest of this section is MSVC+" "+ specific." msgstr "" -"Le Python de Windows est construit en Microsoft Visual C++ ; utiliser d'autres" -" compilateurs pourrait fonctionner, ou pas (cependant Borland a l'air de " -"fonctionner). Le reste de cette section est spécifique à MSVC++." +"Le Python de Windows est construit en Microsoft Visual C++ ; utiliser " +"d'autres compilateurs pourrait fonctionner, ou pas (cependant Borland a " +"l'air de fonctionner). Le reste de cette section est spécifique à MSVC++." #: ../Doc/extending/windows.rst:112 msgid "" @@ -230,9 +233,9 @@ msgid "" "linker. To build two DLLs, spam and ni (which uses C functions found in " "spam), you could use these commands::" msgstr "" -"Lorsque vous créez des DLL sur Windows, vous devez transmettre :file:`pythonXY" -".lib` au lieur. Pour construire deux DLL, spam et ni (qui utilisent des " -"fonctions C trouvées dans spam), vous pouvez utiliser ces commandes::" +"Lorsque vous créez des DLL sur Windows, vous devez transmettre :file:" +"`pythonXY.lib` au lieur. Pour construire deux DLL, spam et ni (qui utilisent " +"des fonctions C trouvées dans spam), vous pouvez utiliser ces commandes::" #: ../Doc/extending/windows.rst:119 msgid "" @@ -242,9 +245,9 @@ msgid "" "the Python code thanks to :file:`pythonXY.lib`." msgstr "" "La première commande a créé trois fichiers : :file:`spam.obj`, :file:`spam." -"dll` et :file:`spam.lib`. :file:`Spam.dll` ne contient pas de fonctions Python" -" (telles que :c:func:`PyArg_ParseTuple`), mais il sait comment trouver le code" -" Python grâce à :file:`pythonXY.lib`." +"dll` et :file:`spam.lib`. :file:`Spam.dll` ne contient pas de fonctions " +"Python (telles que :c:func:`PyArg_ParseTuple`), mais il sait comment trouver " +"le code Python grâce à :file:`pythonXY.lib`." #: ../Doc/extending/windows.rst:124 msgid "" @@ -252,9 +255,9 @@ msgid "" "lib`), which knows how to find the necessary functions from spam, and also " "from the Python executable." msgstr "" -"La seconde commande a créé :file:`ni.dll` (et :file:`.obj` et :file:`." -"lib`), qui sait comment trouver les fonctions nécessaires dans spam, ainsi " -"qu'à partir de l'exécutable Python." +"La seconde commande a créé :file:`ni.dll` (et :file:`.obj` et :file:`.lib`), " +"qui sait comment trouver les fonctions nécessaires dans spam, ainsi qu'à " +"partir de l'exécutable Python." #: ../Doc/extending/windows.rst:128 msgid "" @@ -266,12 +269,13 @@ msgstr "" "Chaque identificateur n'est pas exporté vers la table de conversion. Si vous " "voulez que tout autre module (y compris Python) soit capable de voir vos " "identificateurs, vous devez préciser ``_declspec(dllexport)``, comme dans " -"``void _declspec(dllexport) initspam(void)`` ou ``PyObject _declspec" -"(dllexport) *NiGetSpamData(void)``." +"``void _declspec(dllexport) initspam(void)`` ou ``PyObject " +"_declspec(dllexport) *NiGetSpamData(void)``." #: ../Doc/extending/windows.rst:133 +#, fuzzy msgid "" -"*Developer Studio* will throw in a lot of import libraries that you do not " +"Developer Studio will throw in a lot of import libraries that you do not " "really need, adding about 100K to your executable. To get rid of them, use " "the Project Settings dialog, Link tab, to specify *ignore default " "libraries*. Add the correct :file:`msvcrtxx.lib` to the list of libraries." @@ -280,4 +284,4 @@ msgstr "" "n'avez pas vraiment besoin, augmentant d'environ 100K votre exécutable. Pour " "s'en débarasser, allez dans les Paramètres du Projet, onglet Lien, pour " "préciser *ignorer les bibliothèques par défaut*. Et la :file:`msvcrtxx.lib` " -"correcte à la liste des bibliothèques." \ No newline at end of file +"correcte à la liste des bibliothèques." diff --git a/faq/programming.po b/faq/programming.po index 1b9058ff..19712f6c 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-10-27 17:41+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/faq/programming.rst:5 diff --git a/faq/windows.po b/faq/windows.po index 69850e32..1e62b13a 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-09-22 13:57+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,10 +38,6 @@ msgstr "" "le lancement de programmes depuis la ligne de commande de Windows alors tout " "semblera évident; Sinon, vous auriez besoin d'être un peu guidé." -#: ../Doc/faq/windows.rst:0 -msgid "|Python Development on XP|_" -msgstr "|Python Development on XP|_" - #: ../Doc/faq/windows.rst:27 msgid "" "This series of screencasts aims to get you up and running with Python on " @@ -129,10 +125,6 @@ msgid "" "``>>>``, gives you a message like::" msgstr "" -#: ../Doc/faq/windows.rst:0 -msgid "|Adding Python to DOS Path|_" -msgstr "" - #: ../Doc/faq/windows.rst:102 msgid "" "Python is not added to the DOS path by default. This screencast will walk " @@ -455,3 +447,6 @@ msgid "" "will be able to handle it. (If your copy of WinZip doesn't, get a newer one " "from https://www.winzip.com.)" msgstr "" + +#~ msgid "|Python Development on XP|_" +#~ msgstr "|Python Development on XP|_" diff --git a/glossary.po b/glossary.po index aa1a822b..a24763d6 100644 --- a/glossary.po +++ b/glossary.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-10-27 17:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -1275,16 +1275,22 @@ msgid "" "iterables include all sequence types (such as :class:`list`, :class:`str`, " "and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:" "`file objects `, and objects of any classes you define with an :" -"meth:`__iter__` or :meth:`__getitem__` method. Iterables can be used in a :" -"keyword:`for` loop and in many other places where a sequence is needed (:" -"func:`zip`, :func:`map`, ...). When an iterable object is passed as an " -"argument to the built-in function :func:`iter`, it returns an iterator for " -"the object. This iterator is good for one pass over the set of values. " -"When using iterables, it is usually not necessary to call :func:`iter` or " -"deal with iterator objects yourself. The ``for`` statement does that " -"automatically for you, creating a temporary unnamed variable to hold the " -"iterator for the duration of the loop. See also :term:`iterator`, :term:" -"`sequence`, and :term:`generator`." +"meth:`__iter__` method or with a :meth:`__getitem__` method that implements :" +"term:`Sequence` semantics." +msgstr "" + +#: ../Doc/glossary.rst:541 +#, fuzzy +msgid "" +"Iterables can be used in a :keyword:`for` loop and in many other places " +"where a sequence is needed (:func:`zip`, :func:`map`, ...). When an " +"iterable object is passed as an argument to the built-in function :func:" +"`iter`, it returns an iterator for the object. This iterator is good for " +"one pass over the set of values. When using iterables, it is usually not " +"necessary to call :func:`iter` or deal with iterator objects yourself. The " +"``for`` statement does that automatically for you, creating a temporary " +"unnamed variable to hold the iterator for the duration of the loop. See " +"also :term:`iterator`, :term:`sequence`, and :term:`generator`." msgstr "" "Un objet capable de donner ses éléments un à un. Pour lister quelques " "exemples d'itérables, on pourrait lister tout les types séquence (comme :" @@ -1302,11 +1308,11 @@ msgstr "" "garder l'itérateur durant la boucle. Voir aussi :term:`itérateur`, :term:" "`séquence`, et :term:`générateur`." -#: ../Doc/glossary.rst:548 +#: ../Doc/glossary.rst:551 msgid "iterator" msgstr "itérateur" -#: ../Doc/glossary.rst:550 +#: ../Doc/glossary.rst:553 msgid "" "An object representing a stream of data. Repeated calls to the iterator's :" "meth:`~iterator.__next__` method (or passing it to the built-in function :" @@ -1339,15 +1345,15 @@ msgstr "" "un itérateur donnerai simplement le même objet itérateur épuisé utilisé dans " "son itération précédente, le faisant ressembler à un conteneur vide." -#: ../Doc/glossary.rst:565 +#: ../Doc/glossary.rst:568 msgid "More information can be found in :ref:`typeiter`." msgstr "Plus d'informations ici : :ref:`typeiter`." -#: ../Doc/glossary.rst:566 +#: ../Doc/glossary.rst:569 msgid "key function" msgstr "fonction clef" -#: ../Doc/glossary.rst:568 +#: ../Doc/glossary.rst:571 msgid "" "A key function or collation function is a callable that returns a value used " "for sorting or ordering. For example, :func:`locale.strxfrm` is used to " @@ -1358,7 +1364,7 @@ msgstr "" "à produire une fonction clef de tri prennant en compte les conventions de " "tri spécifiques aux paramètres régionaux courants." -#: ../Doc/glossary.rst:573 +#: ../Doc/glossary.rst:576 msgid "" "A number of tools in Python accept key functions to control how elements are " "ordered or grouped. They include :func:`min`, :func:`max`, :func:`sorted`, :" @@ -1370,7 +1376,7 @@ msgstr "" "`min`, :func:`max`, :func:`sorted`, :meth:`list.sort`, :func:`heapq.merge`, :" "func:`heapq.nsmallest`, :func:`heapq.nlargest`, et :func:`itertools.groupby`." -#: ../Doc/glossary.rst:579 +#: ../Doc/glossary.rst:582 msgid "" "There are several ways to create a key function. For example. the :meth:" "`str.lower` method can serve as a key function for case insensitive sorts. " @@ -1391,19 +1397,19 @@ msgstr "" "`Comment Trier ` pour avoir des exemple de création et " "d'utilisation de fonctions clés." -#: ../Doc/glossary.rst:587 +#: ../Doc/glossary.rst:590 msgid "keyword argument" msgstr "argument nommé" -#: ../Doc/glossary.rst:589 ../Doc/glossary.rst:833 +#: ../Doc/glossary.rst:592 ../Doc/glossary.rst:836 msgid "See :term:`argument`." msgstr "Voir :term:`argument`." -#: ../Doc/glossary.rst:590 +#: ../Doc/glossary.rst:593 msgid "lambda" msgstr "lambda" -#: ../Doc/glossary.rst:592 +#: ../Doc/glossary.rst:595 msgid "" "An anonymous inline function consisting of a single :term:`expression` which " "is evaluated when the function is called. The syntax to create a lambda " @@ -1413,11 +1419,11 @@ msgstr "" "qu'une expression, exécutée lorsqu'elle est appelée. La syntaxe pour créer " "des fonctions lambda est: ``lambda [arguments]: expression``" -#: ../Doc/glossary.rst:595 +#: ../Doc/glossary.rst:598 msgid "LBYL" msgstr "LBYL" -#: ../Doc/glossary.rst:597 +#: ../Doc/glossary.rst:600 msgid "" "Look before you leap. This coding style explicitly tests for pre-conditions " "before making calls or lookups. This style contrasts with the :term:`EAFP` " @@ -1429,7 +1435,7 @@ msgstr "" "appels ou des accès. Ce style contraste avec le style :term:`EAFP` et se " "caractérise par la présence de beaucoup d'instructions :keyword:`if`." -#: ../Doc/glossary.rst:602 +#: ../Doc/glossary.rst:605 msgid "" "In a multi-threaded environment, the LBYL approach can risk introducing a " "race condition between \"the looking\" and \"the leaping\". For example, " @@ -1444,11 +1450,11 @@ msgstr "" "l'accès. Ce problème peut être résolu avec des verrous (*locks*) ou avec " "l'approche EAFP." -#: ../Doc/glossary.rst:607 +#: ../Doc/glossary.rst:610 msgid "list" msgstr "*list*" -#: ../Doc/glossary.rst:609 +#: ../Doc/glossary.rst:612 msgid "" "A built-in Python :term:`sequence`. Despite its name it is more akin to an " "array in other languages than to a linked list since access to elements are " @@ -1458,11 +1464,11 @@ msgstr "" "``list`` ressemble plus à un *array* qu'à une liste chaînée puisque les " "accès se font en O(1)." -#: ../Doc/glossary.rst:612 +#: ../Doc/glossary.rst:615 msgid "list comprehension" msgstr "liste en compréhension" -#: ../Doc/glossary.rst:614 +#: ../Doc/glossary.rst:617 msgid "" "A compact way to process all or part of the elements in a sequence and " "return a list with the results. ``result = ['{:#04x}'.format(x) for x in " @@ -1477,11 +1483,11 @@ msgstr "" "clause :keyword:`if` est optionnelle. Si elle est omise, tous les éléments " "du ``range(256)`` seront utilisés." -#: ../Doc/glossary.rst:620 +#: ../Doc/glossary.rst:623 msgid "loader" msgstr "loader" -#: ../Doc/glossary.rst:622 +#: ../Doc/glossary.rst:625 msgid "" "An object that loads a module. It must define a method named :meth:" "`load_module`. A loader is typically returned by a :term:`finder`. See :pep:" @@ -1493,11 +1499,11 @@ msgstr "" "Voir :pep:`302` pour les détails et :class:`importlib.ABC.Loader` pour sa :" "term:`classe de base abstraite`." -#: ../Doc/glossary.rst:626 +#: ../Doc/glossary.rst:629 msgid "mapping" msgstr "mapping" -#: ../Doc/glossary.rst:628 +#: ../Doc/glossary.rst:631 msgid "" "A container object that supports arbitrary key lookups and implements the " "methods specified in the :class:`~collections.abc.Mapping` or :class:" @@ -1513,11 +1519,11 @@ msgstr "" "`dict`, :class:`collections.defaultdict`, :class:`collections.OrderedDict`, " "et :class:`collections.Counter`." -#: ../Doc/glossary.rst:634 +#: ../Doc/glossary.rst:637 msgid "meta path finder" msgstr "meta path finder" -#: ../Doc/glossary.rst:636 +#: ../Doc/glossary.rst:639 msgid "" "A :term:`finder` returned by a search of :data:`sys.meta_path`. Meta path " "finders are related to, but different from :term:`path entry finders `." -#: ../Doc/glossary.rst:640 +#: ../Doc/glossary.rst:643 msgid "" "See :class:`importlib.abc.MetaPathFinder` for the methods that meta path " "finders implement." @@ -1535,11 +1541,11 @@ msgstr "" "Voir :class:`importlib.abc.MetaPathFinder` pour les méthodes que les *meta " "path finders* doivent implémenter." -#: ../Doc/glossary.rst:642 +#: ../Doc/glossary.rst:645 msgid "metaclass" msgstr "metaclasse" -#: ../Doc/glossary.rst:644 +#: ../Doc/glossary.rst:647 msgid "" "The class of a class. Class definitions create a class name, a class " "dictionary, and a list of base classes. The metaclass is responsible for " @@ -1563,15 +1569,15 @@ msgstr "" "utilisation en environnement multi-thread, suivre la création d'objets, " "implémenter des singleton, et bien d'autres tâches." -#: ../Doc/glossary.rst:654 +#: ../Doc/glossary.rst:657 msgid "More information can be found in :ref:`metaclasses`." msgstr "Plus d'informations à ce sujet : :ref:`metaclasses`." -#: ../Doc/glossary.rst:655 +#: ../Doc/glossary.rst:658 msgid "method" msgstr "méthode" -#: ../Doc/glossary.rst:657 +#: ../Doc/glossary.rst:660 msgid "" "A function which is defined inside a class body. If called as an attribute " "of an instance of that class, the method will get the instance object as its " @@ -1583,11 +1589,11 @@ msgstr "" "`argument` (qui par convention est nommé ``self``). Voir :term:`function` " "et :term:`nested scope`." -#: ../Doc/glossary.rst:661 +#: ../Doc/glossary.rst:664 msgid "method resolution order" msgstr "ordre de résolution des méthodes" -#: ../Doc/glossary.rst:663 +#: ../Doc/glossary.rst:666 msgid "" "Method Resolution Order is the order in which base classes are searched for " "a member during lookup. See `The Python 2.3 Method Resolution Order `_ pour plus de détails sur l'algorithme utilisé " "par l'interpréteur Python depuis la version 2.3." -#: ../Doc/glossary.rst:667 +#: ../Doc/glossary.rst:670 msgid "module" msgstr "module" -#: ../Doc/glossary.rst:669 +#: ../Doc/glossary.rst:672 msgid "" "An object that serves as an organizational unit of Python code. Modules " "have a namespace containing arbitrary Python objects. Modules are loaded " @@ -1614,15 +1620,15 @@ msgstr "" "espace de noms pouvant contenir n'importe quel objet Python. Charger des " "modules est appelé :term:`importer`." -#: ../Doc/glossary.rst:673 +#: ../Doc/glossary.rst:676 msgid "See also :term:`package`." msgstr "Voir aussi :term:`paquet`." -#: ../Doc/glossary.rst:674 +#: ../Doc/glossary.rst:677 msgid "module spec" msgstr "module spec" -#: ../Doc/glossary.rst:676 +#: ../Doc/glossary.rst:679 msgid "" "A namespace containing the import-related information used to load a module. " "An instance of :class:`importlib.machinery.ModuleSpec`." @@ -1631,19 +1637,19 @@ msgstr "" "pour charger un module. C'est une instance de la classe :class:`importlib." "machinery.ModuleSpec`." -#: ../Doc/glossary.rst:678 +#: ../Doc/glossary.rst:681 msgid "MRO" msgstr "MRO" -#: ../Doc/glossary.rst:680 +#: ../Doc/glossary.rst:683 msgid "See :term:`method resolution order`." msgstr "Voir :term:`ordre de résolution des méthodes`." -#: ../Doc/glossary.rst:681 +#: ../Doc/glossary.rst:684 msgid "mutable" msgstr "muable" -#: ../Doc/glossary.rst:683 +#: ../Doc/glossary.rst:686 msgid "" "Mutable objects can change their value but keep their :func:`id`. See also :" "term:`immutable`." @@ -1651,11 +1657,11 @@ msgstr "" "Un objet muable peut changer de valeur tout en gardant le même :func:`id`. " "Voir aussi :term:`immuable`." -#: ../Doc/glossary.rst:685 +#: ../Doc/glossary.rst:688 msgid "named tuple" msgstr "named tuple" -#: ../Doc/glossary.rst:687 +#: ../Doc/glossary.rst:690 msgid "" "Any tuple-like class whose indexable elements are also accessible using " "named attributes (for example, :func:`time.localtime` returns a tuple-like " @@ -1667,7 +1673,7 @@ msgstr "" "donne un objet ressemblant à un *tuple*, dont *year* est accessible par son " "indice : ``t[0]`` ou par son nom : ``t.tm_year``)." -#: ../Doc/glossary.rst:692 +#: ../Doc/glossary.rst:695 msgid "" "A named tuple can be a built-in type such as :class:`time.struct_time`, or " "it can be created with a regular class definition. A full featured named " @@ -1683,11 +1689,11 @@ msgstr "" "supplémentaires, tel qu'une représentation lisible comme " "``Employee(name='jones', title='programmer')``." -#: ../Doc/glossary.rst:698 +#: ../Doc/glossary.rst:701 msgid "namespace" msgstr "espace de nom" -#: ../Doc/glossary.rst:700 +#: ../Doc/glossary.rst:703 msgid "" "The place where a variable is stored. Namespaces are implemented as " "dictionaries. There are the local, global and built-in namespaces as well " @@ -1710,11 +1716,11 @@ msgstr "" "que ces fonctions sont implémentées respectivement dans les modules :mod:" "`random` et :mod:`itertools`." -#: ../Doc/glossary.rst:710 +#: ../Doc/glossary.rst:713 msgid "namespace package" msgstr "paquet espace de nom" -#: ../Doc/glossary.rst:712 +#: ../Doc/glossary.rst:715 msgid "" "A :pep:`420` :term:`package` which serves only as a container for " "subpackages. Namespace packages may have no physical representation, and " @@ -1726,15 +1732,15 @@ msgstr "" "représentation physique, et plus spécifiquement ne sont pas comme un :term:" "`paquet classique` puisqu'ils n'ont pas de fichier ``__init__.py``." -#: ../Doc/glossary.rst:717 +#: ../Doc/glossary.rst:720 msgid "See also :term:`module`." msgstr "Voir aussi :term:`module`." -#: ../Doc/glossary.rst:718 +#: ../Doc/glossary.rst:721 msgid "nested scope" msgstr "portée imbriquée" -#: ../Doc/glossary.rst:720 +#: ../Doc/glossary.rst:723 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -1752,11 +1758,11 @@ msgstr "" "l'espace de noms global, le mot clef :keyword:`nonlocal` permet d'écrire " "dans l'espace de nom dans lequel est déclaré la variable." -#: ../Doc/glossary.rst:727 +#: ../Doc/glossary.rst:730 msgid "new-style class" msgstr "nouvelle classe" -#: ../Doc/glossary.rst:729 +#: ../Doc/glossary.rst:732 msgid "" "Old name for the flavor of classes now used for all class objects. In " "earlier Python versions, only new-style classes could use Python's newer, " @@ -1769,11 +1775,11 @@ msgstr "" "__slots__`, les descripteurs, les propriétés, :meth:`__getattribute__`, les " "méthodes de classe, et les méthodes statiques." -#: ../Doc/glossary.rst:733 +#: ../Doc/glossary.rst:736 msgid "object" msgstr "objet" -#: ../Doc/glossary.rst:735 +#: ../Doc/glossary.rst:738 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -1783,11 +1789,11 @@ msgstr "" "l'ancêtre commun à absolument toutes les :term:`nouvelles classes `." -#: ../Doc/glossary.rst:738 +#: ../Doc/glossary.rst:741 msgid "package" msgstr "paquet" -#: ../Doc/glossary.rst:740 +#: ../Doc/glossary.rst:743 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with an ``__path__`` " @@ -1796,15 +1802,15 @@ msgstr "" "Un :term:`module` qui peut contenir des sous modules ou des sous paquets. " "Techniquement, un paquet est un module qui a un attribut ``__path__``." -#: ../Doc/glossary.rst:744 +#: ../Doc/glossary.rst:747 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "Voir aussi :term:`paquet classique` et :term:`paquet espace de nom`." -#: ../Doc/glossary.rst:745 +#: ../Doc/glossary.rst:748 msgid "parameter" msgstr "paramètre" -#: ../Doc/glossary.rst:747 +#: ../Doc/glossary.rst:750 msgid "" "A named entity in a :term:`function` (or method) definition that specifies " "an :term:`argument` (or in some cases, arguments) that the function can " @@ -1814,7 +1820,7 @@ msgstr "" "décrivant un :term:`argument` (ou dans certains cas des arguments) que la " "fonction accepte. Il existe cinq sorte de paramètres :" -#: ../Doc/glossary.rst:751 +#: ../Doc/glossary.rst:754 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -1826,7 +1832,7 @@ msgstr "" "`. C'est le type de paramètre par défaut, par exemple, *foo* et " "*bar* dans l'exemple suivant : ::" -#: ../Doc/glossary.rst:760 +#: ../Doc/glossary.rst:763 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Python has no syntax for defining positional-only parameters. " @@ -1837,7 +1843,7 @@ msgstr "" "position. Python n'a pas de syntaxe pour déclarer de tels paramètre, " "cependant des fonctions natives, comme :func:`abs` en utilisent." -#: ../Doc/glossary.rst:767 +#: ../Doc/glossary.rst:770 msgid "" ":dfn:`keyword-only`: specifies an argument that can be supplied only by " "keyword. Keyword-only parameters can be defined by including a single var-" @@ -1850,7 +1856,7 @@ msgstr "" "paramètre *var-positional*, ou en ajoutant une étoire (*) seule dans la " "liste des paramètres avant avant eux. Comme kw_only1 et kw_only2 ici : ::" -#: ../Doc/glossary.rst:775 +#: ../Doc/glossary.rst:778 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -1863,7 +1869,7 @@ msgstr "" "d'autres paramètres). Un tel paramètre peut être définit en préfixant son " "nom par une ``*``, par exemple *args* ici : ::" -#: ../Doc/glossary.rst:783 +#: ../Doc/glossary.rst:786 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -1875,7 +1881,7 @@ msgstr "" "d'autres paramètres). Un tel paramètre est définit en préfixant le nom du " "paramètre par ``**``, par exemple, *kwargs* ci-dessus." -#: ../Doc/glossary.rst:789 +#: ../Doc/glossary.rst:792 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -1884,7 +1890,7 @@ msgstr "" "obligatoires, aussi que des valeurs par défaut pour les paramètres " "optionnels." -#: ../Doc/glossary.rst:792 +#: ../Doc/glossary.rst:795 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -1896,11 +1902,11 @@ msgstr "" "dans la FAQ, la classe :class:`inspect.Parameter`, la section :ref:" "`function`, et la :pep:`362`." -#: ../Doc/glossary.rst:796 +#: ../Doc/glossary.rst:799 msgid "path entry" msgstr "chemin" -#: ../Doc/glossary.rst:798 +#: ../Doc/glossary.rst:801 msgid "" "A single location on the :term:`import path` which the :term:`path based " "finder` consults to find modules for importing." @@ -1908,11 +1914,11 @@ msgstr "" "Un seul emplacement dans l':term:`import path` que le :term:`path based " "finder` consulte pour trouver des modules à importer." -#: ../Doc/glossary.rst:800 +#: ../Doc/glossary.rst:803 msgid "path entry finder" msgstr "path entry finder" -#: ../Doc/glossary.rst:802 +#: ../Doc/glossary.rst:805 msgid "" "A :term:`finder` returned by a callable on :data:`sys.path_hooks` (i.e. a :" "term:`path entry hook`) which knows how to locate modules given a :term:" @@ -1922,7 +1928,7 @@ msgstr "" "un :term:`path entry hook`) qui sait où trouver des modules lorsqu'on lui " "donne un :term:`path entry`." -#: ../Doc/glossary.rst:806 +#: ../Doc/glossary.rst:809 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -1930,11 +1936,11 @@ msgstr "" "Voir :class:`importlib.abc.PathEntryFinder` pour les méthodes qu'un *path " "entry finder* doit implémenter." -#: ../Doc/glossary.rst:808 +#: ../Doc/glossary.rst:811 msgid "path entry hook" msgstr "path entry hook" -#: ../Doc/glossary.rst:810 +#: ../Doc/glossary.rst:813 msgid "" "A callable on the :data:`sys.path_hook` list which returns a :term:`path " "entry finder` if it knows how to find modules on a specific :term:`path " @@ -1944,11 +1950,11 @@ msgstr "" "entry finder` s'il sait où trouver des modules pour un :term:`path entry` " "donné." -#: ../Doc/glossary.rst:813 +#: ../Doc/glossary.rst:816 msgid "path based finder" msgstr "path based finder" -#: ../Doc/glossary.rst:815 +#: ../Doc/glossary.rst:818 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -1956,11 +1962,11 @@ msgstr "" "L'un des :term:`meta path finders ` par défaut qui cherche " "des modules dans un :term:`import path`." -#: ../Doc/glossary.rst:817 +#: ../Doc/glossary.rst:820 msgid "path-like object" msgstr "objet simili-chemin" -#: ../Doc/glossary.rst:819 +#: ../Doc/glossary.rst:822 msgid "" "An object representing a file system path. A path-like object is either a :" "class:`str` or :class:`bytes` object representing a path, or an object " @@ -1981,11 +1987,11 @@ msgstr "" "de type :class:`str` ou :class:`bytes` à la place. Introduit dans la :pep:" "`519`." -#: ../Doc/glossary.rst:827 +#: ../Doc/glossary.rst:830 msgid "portion" msgstr "portion" -#: ../Doc/glossary.rst:829 +#: ../Doc/glossary.rst:832 msgid "" "A set of files in a single directory (possibly stored in a zip file) that " "contribute to a namespace package, as defined in :pep:`420`." @@ -1994,15 +2000,15 @@ msgstr "" "fichier zip) qui contribuent à l'espace de nom d'un paquet, tel que définit " "dans la :pep:`420`." -#: ../Doc/glossary.rst:831 +#: ../Doc/glossary.rst:834 msgid "positional argument" msgstr "augment positionnel" -#: ../Doc/glossary.rst:834 +#: ../Doc/glossary.rst:837 msgid "provisional API" msgstr "API provisoire" -#: ../Doc/glossary.rst:836 +#: ../Doc/glossary.rst:839 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -2021,7 +2027,7 @@ msgstr "" "seulement si de sérieux problèmes sont découvert, qui n'avaient pas étés " "repérés avant l'ajout de l'API." -#: ../Doc/glossary.rst:845 +#: ../Doc/glossary.rst:848 msgid "" "Even for provisional APIs, backwards incompatible changes are seen as a " "\"solution of last resort\" - every attempt will still be made to find a " @@ -2032,7 +2038,7 @@ msgstr "" "fait pour tenter de résoudre les problème en conservant la " "rétrocompatibilité." -#: ../Doc/glossary.rst:849 +#: ../Doc/glossary.rst:852 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -2042,19 +2048,19 @@ msgstr "" "le temps, sans se bloquer longtemps sur des erreurs d'architecture. Voir la :" "pep:`411` pour plus de détails." -#: ../Doc/glossary.rst:852 +#: ../Doc/glossary.rst:855 msgid "provisional package" msgstr "paquet provisoire" -#: ../Doc/glossary.rst:854 +#: ../Doc/glossary.rst:857 msgid "See :term:`provisional API`." msgstr "Voir :term:`provisional API`." -#: ../Doc/glossary.rst:855 +#: ../Doc/glossary.rst:858 msgid "Python 3000" msgstr "Python 3000" -#: ../Doc/glossary.rst:857 +#: ../Doc/glossary.rst:860 msgid "" "Nickname for the Python 3.x release line (coined long ago when the release " "of version 3 was something in the distant future.) This is also abbreviated " @@ -2063,11 +2069,11 @@ msgstr "" "Surnom de la série des Python 3.x (très vieux surnom donné à l'époque pour " "Python 3 n'était qu'un futur lointain). Aussi abrégé \"Py3k\"." -#: ../Doc/glossary.rst:860 +#: ../Doc/glossary.rst:863 msgid "Pythonic" msgstr "Pythonique" -#: ../Doc/glossary.rst:862 +#: ../Doc/glossary.rst:865 msgid "" "An idea or piece of code which closely follows the most common idioms of the " "Python language, rather than implementing code using concepts common to " @@ -2083,16 +2089,16 @@ msgstr "" "possibilité, donc les gens qui ne sont pas habitués à Python pourraient " "parfois utiliser un compteur à la place : ::" -#: ../Doc/glossary.rst:872 +#: ../Doc/glossary.rst:875 msgid "As opposed to the cleaner, Pythonic method::" msgstr "" "Plutôt qu'utiliser la méthode, plus propre et élégante, donc Pythonique : ::" -#: ../Doc/glossary.rst:876 +#: ../Doc/glossary.rst:879 msgid "qualified name" msgstr "nom qualifié" -#: ../Doc/glossary.rst:878 +#: ../Doc/glossary.rst:881 msgid "" "A dotted name showing the \"path\" from a module's global scope to a class, " "function or method defined in that module, as defined in :pep:`3155`. For " @@ -2104,7 +2110,7 @@ msgstr "" "module, tel que défini dans la :pep:`3155`. Pour les fonctions et classes de " "premier niveau, le nom qualifié est le même que le nom de l'objet : ::" -#: ../Doc/glossary.rst:895 +#: ../Doc/glossary.rst:898 msgid "" "When used to refer to modules, the *fully qualified name* means the entire " "dotted path to the module, including any parent packages, e.g. ``email.mime." @@ -2114,11 +2120,11 @@ msgstr "" "signifie le chemin complet (séparé par des points) vers le module, incluant " "tous les paquet parents, typiquement: ``email.mime.text`` ::" -#: ../Doc/glossary.rst:902 +#: ../Doc/glossary.rst:905 msgid "reference count" msgstr "nombre de références" -#: ../Doc/glossary.rst:904 +#: ../Doc/glossary.rst:907 msgid "" "The number of references to an object. When the reference count of an " "object drops to zero, it is deallocated. Reference counting is generally " @@ -2134,11 +2140,11 @@ msgstr "" "func:`~sys.getrefcount` que les développeurs peuvent utiliser pour obtenir " "le nombre de référence d'un objet donné." -#: ../Doc/glossary.rst:910 +#: ../Doc/glossary.rst:913 msgid "regular package" msgstr "paquet classique" -#: ../Doc/glossary.rst:912 +#: ../Doc/glossary.rst:915 msgid "" "A traditional :term:`package`, such as a directory containing an ``__init__." "py`` file." @@ -2146,15 +2152,15 @@ msgstr "" "Un :term:`paquet` traditionnel, tel qu'un dossier contenant un fichier " "``__init__.py``." -#: ../Doc/glossary.rst:915 +#: ../Doc/glossary.rst:918 msgid "See also :term:`namespace package`." msgstr "Voir aussi :term:`paquet espace de nom`." -#: ../Doc/glossary.rst:916 +#: ../Doc/glossary.rst:919 msgid "__slots__" msgstr "__slots__" -#: ../Doc/glossary.rst:918 +#: ../Doc/glossary.rst:921 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -2168,11 +2174,11 @@ msgstr "" "devrait être réservée à de rares cas avec un grand nombre d'instances dans " "une application où la mémoire est un sujet critique." -#: ../Doc/glossary.rst:923 +#: ../Doc/glossary.rst:926 msgid "sequence" msgstr "séquence" -#: ../Doc/glossary.rst:925 +#: ../Doc/glossary.rst:928 msgid "" "An :term:`iterable` which supports efficient element access using integer " "indices via the :meth:`__getitem__` special method and defines a :meth:" @@ -2191,7 +2197,7 @@ msgstr "" "qu'une séquence, car ses accès se font par une clef arbitraire :term:" "`immuable` plutôt qu'un nombre entier." -#: ../Doc/glossary.rst:934 +#: ../Doc/glossary.rst:937 msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " "richer interface that goes beyond just :meth:`__getitem__` and :meth:" @@ -2205,11 +2211,11 @@ msgstr "" "et :meth:`__reversed__`. Les types qui implémentent cette interface étendue " "peuvent s'enregistrer explicitement en utilisant :func:`~abc.register`." -#: ../Doc/glossary.rst:941 +#: ../Doc/glossary.rst:944 msgid "single dispatch" msgstr "distribution simple" -#: ../Doc/glossary.rst:943 +#: ../Doc/glossary.rst:946 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." @@ -2218,11 +2224,11 @@ msgstr "" "générique>`, où l'implémentation est choisie en fonction du type d'un seul " "argument." -#: ../Doc/glossary.rst:945 +#: ../Doc/glossary.rst:948 msgid "slice" msgstr "tranche" -#: ../Doc/glossary.rst:947 +#: ../Doc/glossary.rst:950 msgid "" "An object usually containing a portion of a :term:`sequence`. A slice is " "created using the subscript notation, ``[]`` with colons between numbers " @@ -2235,11 +2241,11 @@ msgstr "" "``variable_name[1:3:5]``. Cette notation utilise des objets :class:`slice` " "en interne." -#: ../Doc/glossary.rst:951 +#: ../Doc/glossary.rst:954 msgid "special method" msgstr "méthode spéciale" -#: ../Doc/glossary.rst:953 +#: ../Doc/glossary.rst:956 msgid "" "A method that is called implicitly by Python to execute a certain operation " "on a type, such as addition. Such methods have names starting and ending " @@ -2251,11 +2257,11 @@ msgstr "" "noms commençant et terminant par des doubles tirets bas. Les méthodes " "spéciales sont documentées dans :ref:`specialnames`." -#: ../Doc/glossary.rst:957 +#: ../Doc/glossary.rst:960 msgid "statement" msgstr "instruction" -#: ../Doc/glossary.rst:959 +#: ../Doc/glossary.rst:962 msgid "" "A statement is part of a suite (a \"block\" of code). A statement is either " "an :term:`expression` or one of several constructs with a keyword, such as :" @@ -2266,11 +2272,11 @@ msgstr "" "constructions basées sur un mot-clef, tel qu'un :keyword:`if`, :keyword:" "`while`, ou :keyword:`for`." -#: ../Doc/glossary.rst:962 +#: ../Doc/glossary.rst:965 msgid "struct sequence" msgstr "struct sequence" -#: ../Doc/glossary.rst:964 +#: ../Doc/glossary.rst:967 msgid "" "A tuple with named elements. Struct sequences expose an interface similar " "to :term:`named tuple` in that elements can either be accessed either by " @@ -2287,19 +2293,19 @@ msgstr "" "_asdict`. Par exemple :data:`sys.float_info`, ou les valeurs données par :" "func:`os.stat` sont des *struct sequence*." -#: ../Doc/glossary.rst:970 +#: ../Doc/glossary.rst:973 msgid "text encoding" msgstr "encodage de texte" -#: ../Doc/glossary.rst:972 +#: ../Doc/glossary.rst:975 msgid "A codec which encodes Unicode strings to bytes." msgstr "Un codec qui convertit des chaînes de caractères Unicode en octets." -#: ../Doc/glossary.rst:973 +#: ../Doc/glossary.rst:976 msgid "text file" msgstr "fichier texte" -#: ../Doc/glossary.rst:975 +#: ../Doc/glossary.rst:978 msgid "" "A :term:`file object` able to read and write :class:`str` objects. Often, a " "text file actually accesses a byte-oriented datastream and handles the :term:" @@ -2313,15 +2319,15 @@ msgstr "" "fichiers texte ouverts en mode texte (``'r'`` ou ``'w'``), :data:`sys." "stdin`, :data:`sys.stdout`, et les instances de :class:`io.StringIO`." -#: ../Doc/glossary.rst:983 +#: ../Doc/glossary.rst:986 msgid "A :term:`binary file` reads and write :class:`bytes` objects." msgstr "Un :term:`fichier binaire` lit et écrit des objets :class:`bytes`." -#: ../Doc/glossary.rst:984 +#: ../Doc/glossary.rst:987 msgid "triple-quoted string" msgstr "chaîne entre triple guillemets" -#: ../Doc/glossary.rst:986 +#: ../Doc/glossary.rst:989 msgid "" "A string which is bound by three instances of either a quotation mark (\") " "or an apostrophe ('). While they don't provide any functionality not " @@ -2340,11 +2346,11 @@ msgstr "" "terminer par un ``\\``, les rendant ainsi particulièrement utile pour les " "chaînes de documentation (*docstrings*)." -#: ../Doc/glossary.rst:993 +#: ../Doc/glossary.rst:996 msgid "type" msgstr "type" -#: ../Doc/glossary.rst:995 +#: ../Doc/glossary.rst:998 msgid "" "The type of a Python object determines what kind of object it is; every " "object has a type. An object's type is accessible as its :attr:`~instance." @@ -2354,11 +2360,11 @@ msgstr "" "objets ont un type. Le type d'un objet peut être obtenu via son attribut :" "attr:`~instance.__class__` ou via ``type(obj)``." -#: ../Doc/glossary.rst:999 +#: ../Doc/glossary.rst:1002 msgid "universal newlines" msgstr "retours à la ligne universels" -#: ../Doc/glossary.rst:1001 +#: ../Doc/glossary.rst:1004 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -2372,11 +2378,11 @@ msgstr "" "pep:`278` et la :pep:`3116`, ainsi que la fonction :func:`bytes.splitlines` " "pour d'autres usages." -#: ../Doc/glossary.rst:1006 +#: ../Doc/glossary.rst:1009 msgid "variable annotation" msgstr "annotation de variable" -#: ../Doc/glossary.rst:1008 +#: ../Doc/glossary.rst:1011 msgid "" "A type metadata value associated with a module global variable or a class " "attribute. Its syntax is explained in section :ref:`annassign`. Annotations " @@ -2389,7 +2395,7 @@ msgstr "" "`__annotations__` spécial de classe ou de module et est accessible en " "utilisant :func:`typing.get_type_hints`." -#: ../Doc/glossary.rst:1014 +#: ../Doc/glossary.rst:1017 msgid "" "Python itself does not assign any particular meaning to variable " "annotations. They are intended to be interpreted by third-party libraries or " @@ -2401,11 +2407,11 @@ msgstr "" "tierces ou des outils de contrôle de type. Voir :pep:`526` et :pep:`484` qui " "décrivent certaines de leurs utilisations potentielles." -#: ../Doc/glossary.rst:1018 +#: ../Doc/glossary.rst:1021 msgid "virtual environment" msgstr "environnement virtuel" -#: ../Doc/glossary.rst:1020 +#: ../Doc/glossary.rst:1023 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -2417,15 +2423,15 @@ msgstr "" "jour des paquets sans interférer avec d'autres applications Python " "fonctionnant sur le même système." -#: ../Doc/glossary.rst:1025 +#: ../Doc/glossary.rst:1028 msgid "See also :mod:`venv`." msgstr "Voir aussi :mod:`venv`." -#: ../Doc/glossary.rst:1026 +#: ../Doc/glossary.rst:1029 msgid "virtual machine" msgstr "machine virtuelle" -#: ../Doc/glossary.rst:1028 +#: ../Doc/glossary.rst:1031 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -2434,11 +2440,11 @@ msgstr "" "(*virtual machine*) de Python exécute le :term:`bytecode` donné par le " "compilateur de *bytecode*." -#: ../Doc/glossary.rst:1030 +#: ../Doc/glossary.rst:1033 msgid "Zen of Python" msgstr "Le Zen de Python" -#: ../Doc/glossary.rst:1032 +#: ../Doc/glossary.rst:1035 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " diff --git a/howto/argparse.po b/howto/argparse.po index 83780796..76618f00 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-11-21 20:38+0100\n" "Last-Translator: Hugo Ludmann \n" "Language-Team: \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Argparse Tutorial" msgstr "Tutoriel Argparse" +#: ../Doc/howto/argparse.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/argparse.rst:5 msgid "Tshepang Lekhonkhobe" msgstr "Tshepang Lekhonkhobe" diff --git a/howto/clinic.po b/howto/clinic.po index 7b043183..09b209cc 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 00:58+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -21,14 +21,14 @@ msgstr "" msgid "Argument Clinic How-To" msgstr "" +#: ../Doc/howto/clinic.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/clinic.rst:7 msgid "Larry Hastings" msgstr "" -#: ../Doc/howto/clinic.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/clinic.rst:12 msgid "" "Argument Clinic is a preprocessor for CPython C files. Its purpose is to " @@ -2432,3 +2432,6 @@ msgid "" "Since Python comments are different from C comments, Argument Clinic blocks " "embedded in Python files look slightly different. They look like this:" msgstr "" + +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/cporting.po b/howto/cporting.po index e434016f..09db565d 100644 --- a/howto/cporting.po +++ b/howto/cporting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,14 +21,14 @@ msgstr "" msgid "Porting Extension Modules to Python 3" msgstr "" +#: ../Doc/howto/cporting.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/cporting.rst:9 msgid "Benjamin Peterson" msgstr "Benjamin Peterson" -#: ../Doc/howto/cporting.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/cporting.rst:14 msgid "" "Although changing the C-API was not one of Python 3's objectives, the many " @@ -190,3 +190,6 @@ msgid "" "`_. It translates a Python-like language to C. The " "extension modules it creates are compatible with Python 3 and Python 2." msgstr "" + +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/curses.po b/howto/curses.po index 31ff534a..79f42483 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,18 +21,22 @@ msgstr "" msgid "Curses Programming with Python" msgstr "" +#: ../Doc/howto/curses.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/curses.rst:7 msgid "A.M. Kuchling, Eric S. Raymond" msgstr "" +#: ../Doc/howto/curses.rst:0 +msgid "Release" +msgstr "Version" + #: ../Doc/howto/curses.rst:8 msgid "2.04" msgstr "" -#: ../Doc/howto/curses.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/curses.rst:13 msgid "" "This document describes how to use the :mod:`curses` extension module to " @@ -731,5 +735,5 @@ msgid "" "demonstrating some applications written using Urwid." msgstr "" -#~ msgid "Release" -#~ msgstr "Version" +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/descriptor.po b/howto/descriptor.po index 85bcab4f..158244cb 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,16 +21,20 @@ msgstr "" msgid "Descriptor HowTo Guide" msgstr "" +#: ../Doc/howto/descriptor.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/descriptor.rst:5 msgid "Raymond Hettinger" msgstr "" -#: ../Doc/howto/descriptor.rst:6 -msgid "" +#: ../Doc/howto/descriptor.rst:0 +msgid "Contact" msgstr "" -#: ../Doc/howto/descriptor.rst:0 -msgid "Contents" +#: ../Doc/howto/descriptor.rst:6 +msgid "" msgstr "" #: ../Doc/howto/descriptor.rst:11 @@ -247,8 +251,8 @@ msgstr "" msgid "" "The protocol is simple and offers exciting possibilities. Several use cases " "are so common that they have been packaged into individual function calls. " -"Properties, bound and unbound methods, static methods, and class methods are " -"all based on the descriptor protocol." +"Properties, bound methods, static methods, and class methods are all based " +"on the descriptor protocol." msgstr "" #: ../Doc/howto/descriptor.rst:188 @@ -302,8 +306,8 @@ msgstr "" #: ../Doc/howto/descriptor.rst:268 msgid "" "Class dictionaries store methods as functions. In a class definition, " -"methods are written using :keyword:`def` and :keyword:`lambda`, the usual " -"tools for creating functions. The only difference from regular functions is " +"methods are written using :keyword:`def` or :keyword:`lambda`, the usual " +"tools for creating functions. Methods only differ from regular functions in " "that the first argument is reserved for the object instance. By Python " "convention, the instance reference is called *self* but may be called *this* " "or any other variable name." @@ -313,47 +317,26 @@ msgstr "" msgid "" "To support method calls, functions include the :meth:`__get__` method for " "binding methods during attribute access. This means that all functions are " -"non-data descriptors which return bound or unbound methods depending whether " -"they are invoked from an object or a class. In pure python, it works like " -"this::" +"non-data descriptors which return bound methods when they are invoked from " +"an object. In pure python, it works like this::" msgstr "" -#: ../Doc/howto/descriptor.rst:287 +#: ../Doc/howto/descriptor.rst:288 msgid "" "Running the interpreter shows how the function descriptor works in practice::" msgstr "" -#: ../Doc/howto/descriptor.rst:301 -msgid "" -"The output suggests that bound and unbound methods are two different types. " -"While they could have been implemented that way, the actual C implementation " -"of :c:type:`PyMethod_Type` in :source:`Objects/classobject.c` is a single " -"object with two different representations depending on whether the :attr:" -"`im_self` field is set or is *NULL* (the C equivalent of ``None``)." -msgstr "" - -#: ../Doc/howto/descriptor.rst:307 -msgid "" -"Likewise, the effects of calling a method object depend on the :attr:" -"`im_self` field. If set (meaning bound), the original function (stored in " -"the :attr:`im_func` field) is called as expected with the first argument set " -"to the instance. If unbound, all of the arguments are passed unchanged to " -"the original function. The actual C implementation of :func:" -"`instancemethod_call()` is only slightly more complex in that it includes " -"some type checking." -msgstr "" - -#: ../Doc/howto/descriptor.rst:316 +#: ../Doc/howto/descriptor.rst:326 msgid "Static Methods and Class Methods" msgstr "" -#: ../Doc/howto/descriptor.rst:318 +#: ../Doc/howto/descriptor.rst:328 msgid "" "Non-data descriptors provide a simple mechanism for variations on the usual " "patterns of binding functions into methods." msgstr "" -#: ../Doc/howto/descriptor.rst:321 +#: ../Doc/howto/descriptor.rst:331 msgid "" "To recap, functions have a :meth:`__get__` method so that they can be " "converted to a method when accessed as attributes. The non-data descriptor " @@ -361,51 +344,51 @@ msgid "" "f(*args)`` becomes ``f(*args)``." msgstr "" -#: ../Doc/howto/descriptor.rst:326 +#: ../Doc/howto/descriptor.rst:336 msgid "This chart summarizes the binding and its two most useful variants:" msgstr "" -#: ../Doc/howto/descriptor.rst:329 +#: ../Doc/howto/descriptor.rst:339 msgid "Transformation" msgstr "" -#: ../Doc/howto/descriptor.rst:329 +#: ../Doc/howto/descriptor.rst:339 msgid "Called from an Object" msgstr "" -#: ../Doc/howto/descriptor.rst:329 +#: ../Doc/howto/descriptor.rst:339 msgid "Called from a Class" msgstr "" -#: ../Doc/howto/descriptor.rst:332 +#: ../Doc/howto/descriptor.rst:342 msgid "function" msgstr "fonction" -#: ../Doc/howto/descriptor.rst:332 +#: ../Doc/howto/descriptor.rst:342 msgid "f(obj, \\*args)" msgstr "" -#: ../Doc/howto/descriptor.rst:332 ../Doc/howto/descriptor.rst:334 +#: ../Doc/howto/descriptor.rst:342 ../Doc/howto/descriptor.rst:344 msgid "f(\\*args)" msgstr "" -#: ../Doc/howto/descriptor.rst:334 +#: ../Doc/howto/descriptor.rst:344 msgid "staticmethod" msgstr "" -#: ../Doc/howto/descriptor.rst:336 +#: ../Doc/howto/descriptor.rst:346 msgid "classmethod" msgstr "" -#: ../Doc/howto/descriptor.rst:336 +#: ../Doc/howto/descriptor.rst:346 msgid "f(type(obj), \\*args)" msgstr "" -#: ../Doc/howto/descriptor.rst:336 +#: ../Doc/howto/descriptor.rst:346 msgid "f(klass, \\*args)" msgstr "" -#: ../Doc/howto/descriptor.rst:339 +#: ../Doc/howto/descriptor.rst:349 msgid "" "Static methods return the underlying function without changes. Calling " "either ``c.f`` or ``C.f`` is the equivalent of a direct lookup into ``object." @@ -414,13 +397,13 @@ msgid "" "a class." msgstr "" -#: ../Doc/howto/descriptor.rst:345 +#: ../Doc/howto/descriptor.rst:355 msgid "" "Good candidates for static methods are methods that do not reference the " "``self`` variable." msgstr "" -#: ../Doc/howto/descriptor.rst:348 +#: ../Doc/howto/descriptor.rst:358 msgid "" "For instance, a statistics package may include a container class for " "experimental data. The class provides normal methods for computing the " @@ -432,26 +415,26 @@ msgid "" "``s.erf(1.5) --> .9332`` or ``Sample.erf(1.5) --> .9332``." msgstr "" -#: ../Doc/howto/descriptor.rst:357 +#: ../Doc/howto/descriptor.rst:367 msgid "" "Since staticmethods return the underlying function with no changes, the " "example calls are unexciting::" msgstr "" -#: ../Doc/howto/descriptor.rst:370 +#: ../Doc/howto/descriptor.rst:380 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`staticmethod` would look like this::" msgstr "" -#: ../Doc/howto/descriptor.rst:382 +#: ../Doc/howto/descriptor.rst:392 msgid "" "Unlike static methods, class methods prepend the class reference to the " "argument list before calling the function. This format is the same for " "whether the caller is an object or a class::" msgstr "" -#: ../Doc/howto/descriptor.rst:397 +#: ../Doc/howto/descriptor.rst:407 msgid "" "This behavior is useful whenever the function only needs to have a class " "reference and does not care about any underlying data. One use for " @@ -460,11 +443,11 @@ msgid "" "keys. The pure Python equivalent is::" msgstr "" -#: ../Doc/howto/descriptor.rst:413 +#: ../Doc/howto/descriptor.rst:423 msgid "Now a new dictionary of unique keys can be constructed like this::" msgstr "" -#: ../Doc/howto/descriptor.rst:418 +#: ../Doc/howto/descriptor.rst:428 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`classmethod` would look like this::" diff --git a/howto/functional.po b/howto/functional.po index aa413018..a148b9fa 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,10 +21,18 @@ msgstr "" msgid "Functional Programming HOWTO" msgstr "" +#: ../Doc/howto/functional.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/functional.rst:5 msgid "A. M. Kuchling" msgstr "" +#: ../Doc/howto/functional.rst:0 +msgid "Release" +msgstr "Version" + #: ../Doc/howto/functional.rst:6 msgid "0.32" msgstr "" @@ -1368,6 +1376,3 @@ msgid "" ":pep:`342`: \"Coroutines via Enhanced Generators\" describes the new " "generator features in Python 2.5." msgstr "" - -#~ msgid "Release" -#~ msgstr "Version" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index ec60da4b..1bc94fb5 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Instrumenting CPython with DTrace and SystemTap" msgstr "" +#: ../Doc/howto/instrumentation.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/instrumentation.rst:9 msgid "David Malcolm" msgstr "" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 9cbcc703..f5981b04 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "An introduction to the ipaddress module" msgstr "" +#: ../Doc/howto/ipaddress.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/ipaddress.rst:11 msgid "Peter Moody" msgstr "" @@ -29,10 +33,6 @@ msgstr "" msgid "Nick Coghlan" msgstr "" -#: ../Doc/howto/ipaddress.rst:0 -msgid "Overview" -msgstr "" - #: ../Doc/howto/ipaddress.rst:16 msgid "" "This document aims to provide a gentle introduction to the :mod:`ipaddress` " diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index fe7b1eb7..80bfc2c6 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Logging Cookbook" msgstr "" +#: ../Doc/howto/logging-cookbook.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/logging-cookbook.rst:7 msgid "Vinay Sajip " msgstr "" diff --git a/howto/logging.po b/howto/logging.po index 41492f24..c34fd409 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Logging HOWTO" msgstr "" +#: ../Doc/howto/logging.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/logging.rst:5 msgid "Vinay Sajip " msgstr "" diff --git a/howto/pyporting.po b/howto/pyporting.po index e3ea9301..e5d7e18c 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,14 +21,14 @@ msgstr "" msgid "Porting Python 2 Code to Python 3" msgstr "" +#: ../Doc/howto/pyporting.rst:0 +msgid "author" +msgstr "" + #: ../Doc/howto/pyporting.rst:7 msgid "Brett Cannon" msgstr "" -#: ../Doc/howto/pyporting.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/pyporting.rst:11 msgid "" "With Python 3 being the future of Python while Python 2 is still in active " @@ -631,3 +631,6 @@ msgid "" "binary data, helping to make sure everything functions as expected in both " "versions of Python." msgstr "" + +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/regex.po b/howto/regex.po index 2980b02f..558f153e 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:58+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -21,14 +21,14 @@ msgstr "" msgid "Regular Expression HOWTO" msgstr "" +#: ../Doc/howto/regex.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/regex.rst:7 msgid "A.M. Kuchling " msgstr "" -#: ../Doc/howto/regex.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/regex.rst:18 msgid "" "This document is an introductory tutorial to using regular expressions in " @@ -254,9 +254,9 @@ msgstr "" #: ../Doc/howto/regex.rst:155 msgid "" "The final metacharacter in this section is ``.``. It matches anything " -"except a newline character, and there's an alternate mode (``re.DOTALL``) " -"where it will match even a newline. ``'.'`` is often used where you want to " -"match \"any character\"." +"except a newline character, and there's an alternate mode (:const:`re." +"DOTALL`) where it will match even a newline. ``.`` is often used where you " +"want to match \"any character\"." msgstr "" #: ../Doc/howto/regex.rst:162 @@ -275,21 +275,18 @@ msgstr "" #: ../Doc/howto/regex.rst:170 msgid "" "The first metacharacter for repeating things that we'll look at is ``*``. " -"``*`` doesn't match the literal character ``*``; instead, it specifies that " -"the previous character can be matched zero or more times, instead of exactly " -"once." +"``*`` doesn't match the literal character ``'*'``; instead, it specifies " +"that the previous character can be matched zero or more times, instead of " +"exactly once." msgstr "" #: ../Doc/howto/regex.rst:174 msgid "" -"For example, ``ca*t`` will match ``ct`` (0 ``a`` characters), ``cat`` (1 " -"``a``), ``caaat`` (3 ``a`` characters), and so forth. The RE engine has " -"various internal limitations stemming from the size of C's ``int`` type that " -"will prevent it from matching over 2 billion ``a`` characters; patterns are " -"usually not written to match that much data." +"For example, ``ca*t`` will match ``'ct'`` (0 ``'a'`` characters), ``'cat'`` " +"(1 ``'a'``), ``'caaat'`` (3 ``'a'`` characters), and so forth." msgstr "" -#: ../Doc/howto/regex.rst:180 +#: ../Doc/howto/regex.rst:177 msgid "" "Repetitions such as ``*`` are :dfn:`greedy`; when repeating a RE, the " "matching engine will try to repeat it as many times as possible. If later " @@ -297,109 +294,109 @@ msgid "" "and try again with fewer repetitions." msgstr "" -#: ../Doc/howto/regex.rst:185 +#: ../Doc/howto/regex.rst:182 msgid "" "A step-by-step example will make this more obvious. Let's consider the " "expression ``a[bcd]*b``. This matches the letter ``'a'``, zero or more " "letters from the class ``[bcd]``, and finally ends with a ``'b'``. Now " -"imagine matching this RE against the string ``abcbd``." +"imagine matching this RE against the string ``'abcbd'``." msgstr "" -#: ../Doc/howto/regex.rst:191 +#: ../Doc/howto/regex.rst:188 msgid "Step" msgstr "" -#: ../Doc/howto/regex.rst:191 +#: ../Doc/howto/regex.rst:188 msgid "Matched" msgstr "" -#: ../Doc/howto/regex.rst:191 +#: ../Doc/howto/regex.rst:188 msgid "Explanation" msgstr "" -#: ../Doc/howto/regex.rst:193 +#: ../Doc/howto/regex.rst:190 msgid "1" msgstr "1" -#: ../Doc/howto/regex.rst:193 +#: ../Doc/howto/regex.rst:190 msgid "``a``" msgstr "" -#: ../Doc/howto/regex.rst:193 +#: ../Doc/howto/regex.rst:190 msgid "The ``a`` in the RE matches." msgstr "" -#: ../Doc/howto/regex.rst:195 +#: ../Doc/howto/regex.rst:192 msgid "2" msgstr "2" -#: ../Doc/howto/regex.rst:195 +#: ../Doc/howto/regex.rst:192 msgid "``abcbd``" msgstr "" -#: ../Doc/howto/regex.rst:195 +#: ../Doc/howto/regex.rst:192 msgid "" "The engine matches ``[bcd]*``, going as far as it can, which is to the end " "of the string." msgstr "" -#: ../Doc/howto/regex.rst:199 +#: ../Doc/howto/regex.rst:196 msgid "3" msgstr "3" -#: ../Doc/howto/regex.rst:199 ../Doc/howto/regex.rst:207 +#: ../Doc/howto/regex.rst:196 ../Doc/howto/regex.rst:204 msgid "*Failure*" msgstr "" -#: ../Doc/howto/regex.rst:199 +#: ../Doc/howto/regex.rst:196 msgid "" "The engine tries to match ``b``, but the current position is at the end of " "the string, so it fails." msgstr "" -#: ../Doc/howto/regex.rst:204 +#: ../Doc/howto/regex.rst:201 msgid "4" msgstr "4" -#: ../Doc/howto/regex.rst:204 ../Doc/howto/regex.rst:215 +#: ../Doc/howto/regex.rst:201 ../Doc/howto/regex.rst:212 msgid "``abcb``" msgstr "" -#: ../Doc/howto/regex.rst:204 +#: ../Doc/howto/regex.rst:201 msgid "Back up, so that ``[bcd]*`` matches one less character." msgstr "" -#: ../Doc/howto/regex.rst:207 +#: ../Doc/howto/regex.rst:204 msgid "5" msgstr "5" -#: ../Doc/howto/regex.rst:207 +#: ../Doc/howto/regex.rst:204 msgid "" "Try ``b`` again, but the current position is at the last character, which is " "a ``'d'``." msgstr "" -#: ../Doc/howto/regex.rst:211 ../Doc/howto/regex.rst:215 +#: ../Doc/howto/regex.rst:208 ../Doc/howto/regex.rst:212 msgid "6" msgstr "6" -#: ../Doc/howto/regex.rst:211 +#: ../Doc/howto/regex.rst:208 msgid "``abc``" msgstr "" -#: ../Doc/howto/regex.rst:211 +#: ../Doc/howto/regex.rst:208 msgid "Back up again, so that ``[bcd]*`` is only matching ``bc``." msgstr "" -#: ../Doc/howto/regex.rst:215 +#: ../Doc/howto/regex.rst:212 msgid "" "Try ``b`` again. This time the character at the current position is " "``'b'``, so it succeeds." msgstr "" -#: ../Doc/howto/regex.rst:221 +#: ../Doc/howto/regex.rst:218 msgid "" -"The end of the RE has now been reached, and it has matched ``abcb``. This " +"The end of the RE has now been reached, and it has matched ``'abcb'``. This " "demonstrates how the matching engine goes as far as it can at first, and if " "no match is found it will then progressively back up and retry the rest of " "the RE again and again. It will back up until it has tried zero matches for " @@ -407,43 +404,41 @@ msgid "" "the string doesn't match the RE at all." msgstr "" -#: ../Doc/howto/regex.rst:228 +#: ../Doc/howto/regex.rst:225 msgid "" "Another repeating metacharacter is ``+``, which matches one or more times. " "Pay careful attention to the difference between ``*`` and ``+``; ``*`` " "matches *zero* or more times, so whatever's being repeated may not be " "present at all, while ``+`` requires at least *one* occurrence. To use a " -"similar example, ``ca+t`` will match ``cat`` (1 ``a``), ``caaat`` (3 " -"``a``'s), but won't match ``ct``." +"similar example, ``ca+t`` will match ``'cat'`` (1 ``'a'``), ``'caaat'`` (3 " +"``'a'``\\ s), but won't match ``'ct'``." msgstr "" -#: ../Doc/howto/regex.rst:235 +#: ../Doc/howto/regex.rst:232 msgid "" "There are two more repeating qualifiers. The question mark character, ``?" "``, matches either once or zero times; you can think of it as marking " "something as being optional. For example, ``home-?brew`` matches either " -"``homebrew`` or ``home-brew``." +"``'homebrew'`` or ``'home-brew'``." msgstr "" -#: ../Doc/howto/regex.rst:240 +#: ../Doc/howto/regex.rst:237 msgid "" "The most complicated repeated qualifier is ``{m,n}``, where *m* and *n* are " "decimal integers. This qualifier means there must be at least *m* " -"repetitions, and at most *n*. For example, ``a/{1,3}b`` will match ``a/b``, " -"``a//b``, and ``a///b``. It won't match ``ab``, which has no slashes, or " -"``a////b``, which has four." +"repetitions, and at most *n*. For example, ``a/{1,3}b`` will match ``'a/" +"b'``, ``'a//b'``, and ``'a///b'``. It won't match ``'ab'``, which has no " +"slashes, or ``'a////b'``, which has four." msgstr "" -#: ../Doc/howto/regex.rst:246 +#: ../Doc/howto/regex.rst:243 msgid "" "You can omit either *m* or *n*; in that case, a reasonable value is assumed " "for the missing value. Omitting *m* is interpreted as a lower limit of 0, " -"while omitting *n* results in an upper bound of infinity --- actually, the " -"upper bound is the 2-billion limit mentioned earlier, but that might as well " -"be infinity." +"while omitting *n* results in an upper bound of infinity." msgstr "" -#: ../Doc/howto/regex.rst:251 +#: ../Doc/howto/regex.rst:247 msgid "" "Readers of a reductionist bent may notice that the three other qualifiers " "can all be expressed using this notation. ``{0,}`` is the same as ``*``, " @@ -452,11 +447,11 @@ msgid "" "shorter and easier to read." msgstr "" -#: ../Doc/howto/regex.rst:259 +#: ../Doc/howto/regex.rst:255 msgid "Using Regular Expressions" msgstr "" -#: ../Doc/howto/regex.rst:261 +#: ../Doc/howto/regex.rst:257 msgid "" "Now that we've looked at some simple regular expressions, how do we actually " "use them in Python? The :mod:`re` module provides an interface to the " @@ -464,25 +459,25 @@ msgid "" "perform matches with them." msgstr "" -#: ../Doc/howto/regex.rst:268 +#: ../Doc/howto/regex.rst:264 msgid "Compiling Regular Expressions" msgstr "" -#: ../Doc/howto/regex.rst:270 +#: ../Doc/howto/regex.rst:266 msgid "" "Regular expressions are compiled into pattern objects, which have methods " "for various operations such as searching for pattern matches or performing " "string substitutions. ::" msgstr "" -#: ../Doc/howto/regex.rst:279 +#: ../Doc/howto/regex.rst:275 msgid "" ":func:`re.compile` also accepts an optional *flags* argument, used to enable " "various special features and syntax variations. We'll go over the available " "settings later, but for now a single example will do::" msgstr "" -#: ../Doc/howto/regex.rst:285 +#: ../Doc/howto/regex.rst:281 msgid "" "The RE is passed to :func:`re.compile` as a string. REs are handled as " "strings because regular expressions aren't part of the core Python language, " @@ -493,17 +488,17 @@ msgid "" "`socket` or :mod:`zlib` modules." msgstr "" -#: ../Doc/howto/regex.rst:292 +#: ../Doc/howto/regex.rst:288 msgid "" "Putting REs in strings keeps the Python language simpler, but has one " "disadvantage which is the topic of the next section." msgstr "" -#: ../Doc/howto/regex.rst:297 +#: ../Doc/howto/regex.rst:293 msgid "The Backslash Plague" msgstr "" -#: ../Doc/howto/regex.rst:299 +#: ../Doc/howto/regex.rst:295 msgid "" "As stated earlier, regular expressions use the backslash character " "(``'\\'``) to indicate special forms or to allow special characters to be " @@ -511,7 +506,7 @@ msgid "" "usage of the same character for the same purpose in string literals." msgstr "" -#: ../Doc/howto/regex.rst:304 +#: ../Doc/howto/regex.rst:300 msgid "" "Let's say you want to write a RE that matches the string ``\\section``, " "which might be found in a LaTeX file. To figure out what to write in the " @@ -523,39 +518,39 @@ msgid "" "*again*." msgstr "" -#: ../Doc/howto/regex.rst:313 +#: ../Doc/howto/regex.rst:309 msgid "Characters" msgstr "Caractères" -#: ../Doc/howto/regex.rst:313 +#: ../Doc/howto/regex.rst:309 msgid "Stage" msgstr "" -#: ../Doc/howto/regex.rst:315 +#: ../Doc/howto/regex.rst:311 msgid "``\\section``" msgstr "" -#: ../Doc/howto/regex.rst:315 +#: ../Doc/howto/regex.rst:311 msgid "Text string to be matched" msgstr "" -#: ../Doc/howto/regex.rst:317 +#: ../Doc/howto/regex.rst:313 msgid "``\\\\section``" msgstr "" -#: ../Doc/howto/regex.rst:317 +#: ../Doc/howto/regex.rst:313 msgid "Escaped backslash for :func:`re.compile`" msgstr "" -#: ../Doc/howto/regex.rst:319 ../Doc/howto/regex.rst:339 +#: ../Doc/howto/regex.rst:315 ../Doc/howto/regex.rst:335 msgid "``\"\\\\\\\\section\"``" msgstr "" -#: ../Doc/howto/regex.rst:319 +#: ../Doc/howto/regex.rst:315 msgid "Escaped backslashes for a string literal" msgstr "" -#: ../Doc/howto/regex.rst:322 +#: ../Doc/howto/regex.rst:318 msgid "" "In short, to match a literal backslash, one has to write ``'\\\\\\\\'`` as " "the RE string, because the regular expression must be ``\\\\``, and each " @@ -564,7 +559,7 @@ msgid "" "repeated backslashes and makes the resulting strings difficult to understand." msgstr "" -#: ../Doc/howto/regex.rst:328 +#: ../Doc/howto/regex.rst:324 msgid "" "The solution is to use Python's raw string notation for regular expressions; " "backslashes are not handled in any special way in a string literal prefixed " @@ -574,39 +569,39 @@ msgid "" "raw string notation." msgstr "" -#: ../Doc/howto/regex.rst:335 +#: ../Doc/howto/regex.rst:331 msgid "Regular String" msgstr "" -#: ../Doc/howto/regex.rst:335 +#: ../Doc/howto/regex.rst:331 msgid "Raw string" msgstr "" -#: ../Doc/howto/regex.rst:337 +#: ../Doc/howto/regex.rst:333 msgid "``\"ab*\"``" msgstr "" -#: ../Doc/howto/regex.rst:337 +#: ../Doc/howto/regex.rst:333 msgid "``r\"ab*\"``" msgstr "" -#: ../Doc/howto/regex.rst:339 +#: ../Doc/howto/regex.rst:335 msgid "``r\"\\\\section\"``" msgstr "" -#: ../Doc/howto/regex.rst:341 +#: ../Doc/howto/regex.rst:337 msgid "``\"\\\\w+\\\\s+\\\\1\"``" msgstr "" -#: ../Doc/howto/regex.rst:341 +#: ../Doc/howto/regex.rst:337 msgid "``r\"\\w+\\s+\\1\"``" msgstr "" -#: ../Doc/howto/regex.rst:346 +#: ../Doc/howto/regex.rst:342 msgid "Performing Matches" msgstr "" -#: ../Doc/howto/regex.rst:348 +#: ../Doc/howto/regex.rst:344 msgid "" "Once you have an object representing a compiled regular expression, what do " "you do with it? Pattern objects have several methods and attributes. Only " @@ -614,59 +609,59 @@ msgid "" "for a complete listing." msgstr "" -#: ../Doc/howto/regex.rst:354 ../Doc/howto/regex.rst:412 -#: ../Doc/howto/regex.rst:1029 +#: ../Doc/howto/regex.rst:350 ../Doc/howto/regex.rst:408 +#: ../Doc/howto/regex.rst:1039 msgid "Method/Attribute" msgstr "" -#: ../Doc/howto/regex.rst:354 ../Doc/howto/regex.rst:412 -#: ../Doc/howto/regex.rst:1029 +#: ../Doc/howto/regex.rst:350 ../Doc/howto/regex.rst:408 +#: ../Doc/howto/regex.rst:1039 msgid "Purpose" msgstr "" -#: ../Doc/howto/regex.rst:356 +#: ../Doc/howto/regex.rst:352 msgid "``match()``" msgstr "" -#: ../Doc/howto/regex.rst:356 +#: ../Doc/howto/regex.rst:352 msgid "Determine if the RE matches at the beginning of the string." msgstr "" -#: ../Doc/howto/regex.rst:359 +#: ../Doc/howto/regex.rst:355 msgid "``search()``" msgstr "" -#: ../Doc/howto/regex.rst:359 +#: ../Doc/howto/regex.rst:355 msgid "Scan through a string, looking for any location where this RE matches." msgstr "" -#: ../Doc/howto/regex.rst:362 +#: ../Doc/howto/regex.rst:358 msgid "``findall()``" msgstr "" -#: ../Doc/howto/regex.rst:362 +#: ../Doc/howto/regex.rst:358 msgid "Find all substrings where the RE matches, and returns them as a list." msgstr "" -#: ../Doc/howto/regex.rst:365 +#: ../Doc/howto/regex.rst:361 msgid "``finditer()``" msgstr "" -#: ../Doc/howto/regex.rst:365 +#: ../Doc/howto/regex.rst:361 msgid "" "Find all substrings where the RE matches, and returns them as an :term:" "`iterator`." msgstr "" -#: ../Doc/howto/regex.rst:369 +#: ../Doc/howto/regex.rst:365 msgid "" -":meth:`~re.regex.match` and :meth:`~re.regex.search` return ``None`` if no " -"match can be found. If they're successful, a :ref:`match object ` instance is returned, containing information about the match: " "where it starts and ends, the substring it matched, and more." msgstr "" -#: ../Doc/howto/regex.rst:374 +#: ../Doc/howto/regex.rst:370 msgid "" "You can learn about this by interactively experimenting with the :mod:`re` " "module. If you have :mod:`tkinter` available, you may also want to look at :" @@ -676,107 +671,109 @@ msgid "" "trying to debug a complicated RE." msgstr "" -#: ../Doc/howto/regex.rst:381 +#: ../Doc/howto/regex.rst:377 msgid "" "This HOWTO uses the standard Python interpreter for its examples. First, run " "the Python interpreter, import the :mod:`re` module, and compile a RE::" msgstr "" -#: ../Doc/howto/regex.rst:389 +#: ../Doc/howto/regex.rst:385 msgid "" "Now, you can try matching various strings against the RE ``[a-z]+``. An " "empty string shouldn't match at all, since ``+`` means 'one or more " -"repetitions'. :meth:`match` should return ``None`` in this case, which will " -"cause the interpreter to print no output. You can explicitly print the " -"result of :meth:`match` to make this clear. ::" +"repetitions'. :meth:`~re.pattern.match` should return ``None`` in this case, " +"which will cause the interpreter to print no output. You can explicitly " +"print the result of :meth:`!match` to make this clear. ::" msgstr "" -#: ../Doc/howto/regex.rst:399 +#: ../Doc/howto/regex.rst:395 msgid "" "Now, let's try it on a string that it should match, such as ``tempo``. In " -"this case, :meth:`match` will return a :ref:`match object `, " -"so you should store the result in a variable for later use. ::" +"this case, :meth:`~re.pattern.match` will return a :ref:`match object `, so you should store the result in a variable for later use. ::" msgstr "" -#: ../Doc/howto/regex.rst:407 +#: ../Doc/howto/regex.rst:403 msgid "" "Now you can query the :ref:`match object ` for information " -"about the matching string. :ref:`match object ` instances " -"also have several methods and attributes; the most important ones are:" +"about the matching string. Match object instances also have several methods " +"and attributes; the most important ones are:" msgstr "" -#: ../Doc/howto/regex.rst:414 +#: ../Doc/howto/regex.rst:410 msgid "``group()``" msgstr "" -#: ../Doc/howto/regex.rst:414 +#: ../Doc/howto/regex.rst:410 msgid "Return the string matched by the RE" msgstr "" -#: ../Doc/howto/regex.rst:416 +#: ../Doc/howto/regex.rst:412 msgid "``start()``" msgstr "" -#: ../Doc/howto/regex.rst:416 +#: ../Doc/howto/regex.rst:412 msgid "Return the starting position of the match" msgstr "" -#: ../Doc/howto/regex.rst:418 +#: ../Doc/howto/regex.rst:414 msgid "``end()``" msgstr "" -#: ../Doc/howto/regex.rst:418 +#: ../Doc/howto/regex.rst:414 msgid "Return the ending position of the match" msgstr "" -#: ../Doc/howto/regex.rst:420 +#: ../Doc/howto/regex.rst:416 msgid "``span()``" msgstr "" -#: ../Doc/howto/regex.rst:420 +#: ../Doc/howto/regex.rst:416 msgid "Return a tuple containing the (start, end) positions of the match" msgstr "" -#: ../Doc/howto/regex.rst:424 +#: ../Doc/howto/regex.rst:420 msgid "Trying these methods will soon clarify their meaning::" msgstr "" -#: ../Doc/howto/regex.rst:433 +#: ../Doc/howto/regex.rst:429 msgid "" ":meth:`~re.match.group` returns the substring that was matched by the RE. :" "meth:`~re.match.start` and :meth:`~re.match.end` return the starting and " "ending index of the match. :meth:`~re.match.span` returns both start and end " -"indexes in a single tuple. Since the :meth:`match` method only checks if " -"the RE matches at the start of a string, :meth:`start` will always be zero. " -"However, the :meth:`search` method of patterns scans through the string, so " -"the match may not start at zero in that case. ::" +"indexes in a single tuple. Since the :meth:`~re.pattern.match` method only " +"checks if the RE matches at the start of a string, :meth:`!start` will " +"always be zero. However, the :meth:`~re.pattern.search` method of patterns " +"scans through the string, so the match may not start at zero in that " +"case. ::" msgstr "" -#: ../Doc/howto/regex.rst:450 +#: ../Doc/howto/regex.rst:446 msgid "" "In actual programs, the most common style is to store the :ref:`match object " "` in a variable, and then check if it was ``None``. This " "usually looks like::" msgstr "" -#: ../Doc/howto/regex.rst:461 +#: ../Doc/howto/regex.rst:457 msgid "" "Two pattern methods return all of the matches for a pattern. :meth:`~re." -"regex.findall` returns a list of matching strings::" +"pattern.findall` returns a list of matching strings::" msgstr "" -#: ../Doc/howto/regex.rst:468 +#: ../Doc/howto/regex.rst:464 msgid "" -":meth:`findall` has to create the entire list before it can be returned as " -"the result. The :meth:`~re.regex.finditer` method returns a sequence of :" -"ref:`match object ` instances as an :term:`iterator`::" +":meth:`~re.pattern.findall` has to create the entire list before it can be " +"returned as the result. The :meth:`~re.pattern.finditer` method returns a " +"sequence of :ref:`match object ` instances as an :term:" +"`iterator`::" msgstr "" -#: ../Doc/howto/regex.rst:484 +#: ../Doc/howto/regex.rst:480 msgid "Module-Level Functions" msgstr "" -#: ../Doc/howto/regex.rst:486 +#: ../Doc/howto/regex.rst:482 msgid "" "You don't have to create a pattern object and call its methods; the :mod:" "`re` module also provides top-level functions called :func:`~re.match`, :" @@ -786,7 +783,7 @@ msgid "" "``None`` or a :ref:`match object ` instance. ::" msgstr "" -#: ../Doc/howto/regex.rst:498 +#: ../Doc/howto/regex.rst:494 msgid "" "Under the hood, these functions simply create a pattern object for you and " "call the appropriate method on it. They also store the compiled object in a " @@ -794,7 +791,7 @@ msgid "" "again and again." msgstr "" -#: ../Doc/howto/regex.rst:503 +#: ../Doc/howto/regex.rst:499 msgid "" "Should you use these module-level functions, or should you get the pattern " "and call its methods yourself? If you're accessing a regex within a loop, " @@ -802,11 +799,11 @@ msgid "" "not much difference thanks to the internal cache." msgstr "" -#: ../Doc/howto/regex.rst:511 +#: ../Doc/howto/regex.rst:507 msgid "Compilation Flags" msgstr "" -#: ../Doc/howto/regex.rst:513 +#: ../Doc/howto/regex.rst:509 msgid "" "Compilation flags let you modify some aspects of how regular expressions " "work. Flags are available in the :mod:`re` module under two names, a long " @@ -818,107 +815,119 @@ msgid "" "example." msgstr "" -#: ../Doc/howto/regex.rst:521 +#: ../Doc/howto/regex.rst:517 msgid "" "Here's a table of the available flags, followed by a more detailed " "explanation of each one." msgstr "" -#: ../Doc/howto/regex.rst:525 +#: ../Doc/howto/regex.rst:521 msgid "Flag" msgstr "Option" -#: ../Doc/howto/regex.rst:525 +#: ../Doc/howto/regex.rst:521 msgid "Meaning" msgstr "Signification" -#: ../Doc/howto/regex.rst:527 +#: ../Doc/howto/regex.rst:523 msgid ":const:`ASCII`, :const:`A`" msgstr "" -#: ../Doc/howto/regex.rst:527 +#: ../Doc/howto/regex.rst:523 msgid "" "Makes several escapes like ``\\w``, ``\\b``, ``\\s`` and ``\\d`` match only " "on ASCII characters with the respective property." msgstr "" -#: ../Doc/howto/regex.rst:531 +#: ../Doc/howto/regex.rst:527 msgid ":const:`DOTALL`, :const:`S`" msgstr "" -#: ../Doc/howto/regex.rst:531 -msgid "Make ``.`` match any character, including newlines" +#: ../Doc/howto/regex.rst:527 +msgid "Make ``.`` match any character, including newlines." msgstr "" -#: ../Doc/howto/regex.rst:534 +#: ../Doc/howto/regex.rst:530 msgid ":const:`IGNORECASE`, :const:`I`" msgstr "" -#: ../Doc/howto/regex.rst:534 -msgid "Do case-insensitive matches" +#: ../Doc/howto/regex.rst:530 +msgid "Do case-insensitive matches." msgstr "" -#: ../Doc/howto/regex.rst:536 +#: ../Doc/howto/regex.rst:532 msgid ":const:`LOCALE`, :const:`L`" msgstr "" -#: ../Doc/howto/regex.rst:536 -msgid "Do a locale-aware match" +#: ../Doc/howto/regex.rst:532 +msgid "Do a locale-aware match." msgstr "" -#: ../Doc/howto/regex.rst:538 +#: ../Doc/howto/regex.rst:534 msgid ":const:`MULTILINE`, :const:`M`" msgstr "" -#: ../Doc/howto/regex.rst:538 -msgid "Multi-line matching, affecting ``^`` and ``$``" +#: ../Doc/howto/regex.rst:534 +msgid "Multi-line matching, affecting ``^`` and ``$``." msgstr "" -#: ../Doc/howto/regex.rst:541 +#: ../Doc/howto/regex.rst:537 msgid ":const:`VERBOSE`, :const:`X` (for 'extended')" msgstr "" -#: ../Doc/howto/regex.rst:541 +#: ../Doc/howto/regex.rst:537 msgid "" "Enable verbose REs, which can be organized more cleanly and understandably." msgstr "" -#: ../Doc/howto/regex.rst:550 +#: ../Doc/howto/regex.rst:546 msgid "" "Perform case-insensitive matching; character class and literal strings will " "match letters by ignoring case. For example, ``[A-Z]`` will match lowercase " -"letters, too, and ``Spam`` will match ``Spam``, ``spam``, or ``spAM``. This " +"letters, too. Full Unicode matching also works unless the :const:`ASCII` " +"flag is used to disable non-ASCII matches. When the Unicode patterns ``[a-" +"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, " +"they will match the 52 ASCII letters and 4 additional non-ASCII letters: " +"'İ' (U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin " +"small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U" +"+212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, " +"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This " "lowercasing doesn't take the current locale into account; it will if you " "also set the :const:`LOCALE` flag." msgstr "" -#: ../Doc/howto/regex.rst:561 +#: ../Doc/howto/regex.rst:564 msgid "" -"Make ``\\w``, ``\\W``, ``\\b``, and ``\\B``, dependent on the current locale " -"instead of the Unicode database." +"Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " +"dependent on the current locale instead of the Unicode database." msgstr "" -#: ../Doc/howto/regex.rst:564 +#: ../Doc/howto/regex.rst:567 msgid "" "Locales are a feature of the C library intended to help in writing programs " "that take account of language differences. For example, if you're " -"processing French text, you'd want to be able to write ``\\w+`` to match " -"words, but ``\\w`` only matches the character class ``[A-Za-z]``; it won't " -"match ``'é'`` or ``'ç'``. If your system is configured properly and a " -"French locale is selected, certain C functions will tell the program that " -"``'é'`` should also be considered a letter. Setting the :const:`LOCALE` flag " -"when compiling a regular expression will cause the resulting compiled object " -"to use these C functions for ``\\w``; this is slower, but also enables ``\\w" -"+`` to match French words as you'd expect." +"processing encoded French text, you'd want to be able to write ``\\w+`` to " +"match words, but ``\\w`` only matches the character class ``[A-Za-z]`` in " +"bytes patterns; it won't match bytes corresponding to ``é`` or ``ç``. If " +"your system is configured properly and a French locale is selected, certain " +"C functions will tell the program that the byte corresponding to ``é`` " +"should also be considered a letter. Setting the :const:`LOCALE` flag when " +"compiling a regular expression will cause the resulting compiled object to " +"use these C functions for ``\\w``; this is slower, but also enables ``\\w+`` " +"to match French words as you'd expect. The use of this flag is discouraged " +"in Python 3 as the locale mechanism is very unreliable, it only handles one " +"\"culture\" at a time, and it only works with 8-bit locales. Unicode " +"matching is already enabled by default in Python 3 for Unicode (str) " +"patterns, and it is able to handle different locales/languages." msgstr "" -#: ../Doc/howto/regex.rst:579 +#: ../Doc/howto/regex.rst:589 msgid "" "(``^`` and ``$`` haven't been explained yet; they'll be introduced in " "section :ref:`more-metacharacters`.)" msgstr "" -#: ../Doc/howto/regex.rst:582 +#: ../Doc/howto/regex.rst:592 msgid "" "Usually ``^`` matches only at the beginning of the string, and ``$`` matches " "only at the end of the string and immediately before the newline (if any) at " @@ -929,20 +938,20 @@ msgid "" "(immediately preceding each newline)." msgstr "" -#: ../Doc/howto/regex.rst:595 +#: ../Doc/howto/regex.rst:605 msgid "" "Makes the ``'.'`` special character match any character at all, including a " "newline; without this flag, ``'.'`` will match anything *except* a newline." msgstr "" -#: ../Doc/howto/regex.rst:603 +#: ../Doc/howto/regex.rst:613 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\s`` and ``\\S`` perform ASCII-" "only matching instead of full Unicode matching. This is only meaningful for " "Unicode patterns, and is ignored for byte patterns." msgstr "" -#: ../Doc/howto/regex.rst:612 +#: ../Doc/howto/regex.rst:622 msgid "" "This flag allows you to write regular expressions that are more readable by " "granting you more flexibility in how you can format them. When this flag " @@ -954,45 +963,45 @@ msgid "" "preceded by an unescaped backslash." msgstr "" -#: ../Doc/howto/regex.rst:621 +#: ../Doc/howto/regex.rst:631 msgid "" "For example, here's a RE that uses :const:`re.VERBOSE`; see how much easier " "it is to read? ::" msgstr "" -#: ../Doc/howto/regex.rst:634 +#: ../Doc/howto/regex.rst:644 msgid "Without the verbose setting, the RE would look like this::" msgstr "" -#: ../Doc/howto/regex.rst:640 +#: ../Doc/howto/regex.rst:650 msgid "" "In the above example, Python's automatic concatenation of string literals " "has been used to break up the RE into smaller pieces, but it's still more " "difficult to understand than the version using :const:`re.VERBOSE`." msgstr "" -#: ../Doc/howto/regex.rst:646 +#: ../Doc/howto/regex.rst:656 msgid "More Pattern Power" msgstr "" -#: ../Doc/howto/regex.rst:648 +#: ../Doc/howto/regex.rst:658 msgid "" "So far we've only covered a part of the features of regular expressions. In " "this section, we'll cover some new metacharacters, and how to use groups to " "retrieve portions of the text that was matched." msgstr "" -#: ../Doc/howto/regex.rst:656 +#: ../Doc/howto/regex.rst:666 msgid "More Metacharacters" msgstr "" -#: ../Doc/howto/regex.rst:658 +#: ../Doc/howto/regex.rst:668 msgid "" "There are some metacharacters that we haven't covered yet. Most of them " "will be covered in this section." msgstr "" -#: ../Doc/howto/regex.rst:661 +#: ../Doc/howto/regex.rst:671 msgid "" "Some of the remaining metacharacters to be discussed are :dfn:`zero-width " "assertions`. They don't cause the engine to advance through the string; " @@ -1004,30 +1013,31 @@ msgid "" "of times." msgstr "" -#: ../Doc/howto/regex.rst:677 +#: ../Doc/howto/regex.rst:687 msgid "``|``" msgstr "" -#: ../Doc/howto/regex.rst:670 +#: ../Doc/howto/regex.rst:680 msgid "" -"Alternation, or the \"or\" operator. If A and B are regular expressions, " -"``A|B`` will match any string that matches either ``A`` or ``B``. ``|`` has " -"very low precedence in order to make it work reasonably when you're " -"alternating multi-character strings. ``Crow|Servo`` will match either " -"``Crow`` or ``Servo``, not ``Cro``, a ``'w'`` or an ``'S'``, and ``ervo``." +"Alternation, or the \"or\" operator. If *A* and *B* are regular " +"expressions, ``A|B`` will match any string that matches either *A* or *B*. " +"``|`` has very low precedence in order to make it work reasonably when " +"you're alternating multi-character strings. ``Crow|Servo`` will match either " +"``'Crow'`` or ``'Servo'``, not ``'Cro'``, a ``'w'`` or an ``'S'``, and " +"``'ervo'``." msgstr "" -#: ../Doc/howto/regex.rst:676 +#: ../Doc/howto/regex.rst:686 msgid "" "To match a literal ``'|'``, use ``\\|``, or enclose it inside a character " "class, as in ``[|]``." msgstr "" -#: ../Doc/howto/regex.rst:693 +#: ../Doc/howto/regex.rst:702 msgid "``^``" msgstr "" -#: ../Doc/howto/regex.rst:680 +#: ../Doc/howto/regex.rst:690 msgid "" "Matches at the beginning of lines. Unless the :const:`MULTILINE` flag has " "been set, this will only match at the beginning of the string. In :const:" @@ -1035,33 +1045,37 @@ msgid "" "the string." msgstr "" -#: ../Doc/howto/regex.rst:684 +#: ../Doc/howto/regex.rst:694 msgid "" "For example, if you wish to match the word ``From`` only at the beginning of " "a line, the RE to use is ``^From``. ::" msgstr "" -#: ../Doc/howto/regex.rst:707 +#: ../Doc/howto/regex.rst:702 +msgid "To match a literal ``'^'``, use ``\\^``." +msgstr "" + +#: ../Doc/howto/regex.rst:716 msgid "``$``" msgstr "" -#: ../Doc/howto/regex.rst:696 +#: ../Doc/howto/regex.rst:705 msgid "" "Matches at the end of a line, which is defined as either the end of the " "string, or any location followed by a newline character. ::" msgstr "" -#: ../Doc/howto/regex.rst:706 +#: ../Doc/howto/regex.rst:715 msgid "" "To match a literal ``'$'``, use ``\\$`` or enclose it inside a character " "class, as in ``[$]``." msgstr "" -#: ../Doc/howto/regex.rst:713 +#: ../Doc/howto/regex.rst:722 msgid "``\\A``" msgstr "``\\A``" -#: ../Doc/howto/regex.rst:710 +#: ../Doc/howto/regex.rst:719 msgid "" "Matches only at the start of the string. When not in :const:`MULTILINE` " "mode, ``\\A`` and ``^`` are effectively the same. In :const:`MULTILINE` " @@ -1070,19 +1084,19 @@ msgid "" "newline character." msgstr "" -#: ../Doc/howto/regex.rst:716 +#: ../Doc/howto/regex.rst:725 msgid "``\\Z``" msgstr "``\\Z``" -#: ../Doc/howto/regex.rst:716 +#: ../Doc/howto/regex.rst:725 msgid "Matches only at the end of the string." msgstr "Correspond uniquement à la fin d'une chaîne de caractères." -#: ../Doc/howto/regex.rst:751 +#: ../Doc/howto/regex.rst:760 msgid "``\\b``" msgstr "``\\b``" -#: ../Doc/howto/regex.rst:719 +#: ../Doc/howto/regex.rst:728 msgid "" "Word boundary. This is a zero-width assertion that matches only at the " "beginning or end of a word. A word is defined as a sequence of alphanumeric " @@ -1090,13 +1104,13 @@ msgid "" "alphanumeric character." msgstr "" -#: ../Doc/howto/regex.rst:724 +#: ../Doc/howto/regex.rst:733 msgid "" "The following example matches ``class`` only when it's a complete word; it " "won't match when it's contained inside another word. ::" msgstr "" -#: ../Doc/howto/regex.rst:735 +#: ../Doc/howto/regex.rst:744 msgid "" "There are two subtleties you should remember when using this special " "sequence. First, this is the worst collision between Python's string " @@ -1107,28 +1121,28 @@ msgid "" "previous RE, but omits the ``'r'`` in front of the RE string. ::" msgstr "" -#: ../Doc/howto/regex.rst:749 +#: ../Doc/howto/regex.rst:758 msgid "" "Second, inside a character class, where there's no use for this assertion, ``" "\\b`` represents the backspace character, for compatibility with Python's " "string literals." msgstr "" -#: ../Doc/howto/regex.rst:756 +#: ../Doc/howto/regex.rst:765 msgid "``\\B``" msgstr "``\\B``" -#: ../Doc/howto/regex.rst:754 +#: ../Doc/howto/regex.rst:763 msgid "" "Another zero-width assertion, this is the opposite of ``\\b``, only matching " "when the current position is not at a word boundary." msgstr "" -#: ../Doc/howto/regex.rst:759 +#: ../Doc/howto/regex.rst:768 msgid "Grouping" msgstr "" -#: ../Doc/howto/regex.rst:761 +#: ../Doc/howto/regex.rst:770 msgid "" "Frequently you need to obtain more information than just whether the RE " "matched or not. Regular expressions are often used to dissect strings by " @@ -1137,14 +1151,14 @@ msgid "" "name and a value, separated by a ``':'``, like this::" msgstr "" -#: ../Doc/howto/regex.rst:772 +#: ../Doc/howto/regex.rst:781 msgid "" "This can be handled by writing a regular expression which matches an entire " "header line, and has one group which matches the header name, and another " "group which matches the header's value." msgstr "" -#: ../Doc/howto/regex.rst:776 +#: ../Doc/howto/regex.rst:785 msgid "" "Groups are marked by the ``'('``, ``')'`` metacharacters. ``'('`` and " "``')'`` have much the same meaning as they do in mathematical expressions; " @@ -1154,38 +1168,39 @@ msgid "" "repetitions of ``ab``. ::" msgstr "" -#: ../Doc/howto/regex.rst:787 +#: ../Doc/howto/regex.rst:796 msgid "" "Groups indicated with ``'('``, ``')'`` also capture the starting and ending " "index of the text that they match; this can be retrieved by passing an " -"argument to :meth:`group`, :meth:`start`, :meth:`end`, and :meth:`span`. " -"Groups are numbered starting with 0. Group 0 is always present; it's the " -"whole RE, so :ref:`match object ` methods all have group 0 as " -"their default argument. Later we'll see how to express groups that don't " -"capture the span of text that they match. ::" +"argument to :meth:`~re.match.group`, :meth:`~re.match.start`, :meth:`~re." +"match.end`, and :meth:`~re.match.span`. Groups are numbered starting with " +"0. Group 0 is always present; it's the whole RE, so :ref:`match object " +"` methods all have group 0 as their default argument. Later " +"we'll see how to express groups that don't capture the span of text that " +"they match. ::" msgstr "" -#: ../Doc/howto/regex.rst:802 +#: ../Doc/howto/regex.rst:812 msgid "" "Subgroups are numbered from left to right, from 1 upward. Groups can be " "nested; to determine the number, just count the opening parenthesis " "characters, going from left to right. ::" msgstr "" -#: ../Doc/howto/regex.rst:815 +#: ../Doc/howto/regex.rst:825 msgid "" -":meth:`group` can be passed multiple group numbers at a time, in which case " -"it will return a tuple containing the corresponding values for those " -"groups. ::" +":meth:`~re.match.group` can be passed multiple group numbers at a time, in " +"which case it will return a tuple containing the corresponding values for " +"those groups. ::" msgstr "" -#: ../Doc/howto/regex.rst:821 +#: ../Doc/howto/regex.rst:831 msgid "" -"The :meth:`groups` method returns a tuple containing the strings for all the " -"subgroups, from 1 up to however many there are. ::" +"The :meth:`~re.match.groups` method returns a tuple containing the strings " +"for all the subgroups, from 1 up to however many there are. ::" msgstr "" -#: ../Doc/howto/regex.rst:827 +#: ../Doc/howto/regex.rst:837 msgid "" "Backreferences in a pattern allow you to specify that the contents of an " "earlier capturing group must also be found at the current location in the " @@ -1196,11 +1211,11 @@ msgid "" "when incorporating backreferences in a RE." msgstr "" -#: ../Doc/howto/regex.rst:835 +#: ../Doc/howto/regex.rst:845 msgid "For example, the following RE detects doubled words in a string. ::" msgstr "" -#: ../Doc/howto/regex.rst:841 +#: ../Doc/howto/regex.rst:851 msgid "" "Backreferences like this aren't often useful for just searching through a " "string --- there are few text formats which repeat data in this way --- but " @@ -1208,11 +1223,11 @@ msgid "" "substitutions." msgstr "" -#: ../Doc/howto/regex.rst:847 +#: ../Doc/howto/regex.rst:857 msgid "Non-capturing and Named Groups" msgstr "" -#: ../Doc/howto/regex.rst:849 +#: ../Doc/howto/regex.rst:859 msgid "" "Elaborate REs may use many groups, both to capture substrings of interest, " "and to group and structure the RE itself. In complex REs, it becomes " @@ -1221,7 +1236,7 @@ msgid "" "expression extensions, so we'll look at that first." msgstr "" -#: ../Doc/howto/regex.rst:855 +#: ../Doc/howto/regex.rst:865 msgid "" "Perl 5 is well known for its powerful additions to standard regular " "expressions. For these new features the Perl developers couldn't choose new " @@ -1232,7 +1247,7 @@ msgid "" "wouldn't have escaped it by writing ``\\&`` or ``[&]``." msgstr "" -#: ../Doc/howto/regex.rst:862 +#: ../Doc/howto/regex.rst:872 msgid "" "The solution chosen by the Perl developers was to use ``(?...)`` as the " "extension syntax. ``?`` immediately after a parenthesis was a syntax error " @@ -1243,20 +1258,20 @@ msgid "" "capturing group containing the subexpression ``foo``)." msgstr "" -#: ../Doc/howto/regex.rst:870 +#: ../Doc/howto/regex.rst:880 msgid "" "Python supports several of Perl's extensions and adds an extension syntax to " "Perl's extension syntax. If the first character after the question mark is " "a ``P``, you know that it's an extension that's specific to Python." msgstr "" -#: ../Doc/howto/regex.rst:875 +#: ../Doc/howto/regex.rst:885 msgid "" "Now that we've looked at the general extension syntax, we can return to the " "features that simplify working with groups in complex REs." msgstr "" -#: ../Doc/howto/regex.rst:878 +#: ../Doc/howto/regex.rst:888 msgid "" "Sometimes you'll want to use a group to denote a part of a regular " "expression, but aren't interested in retrieving the group's contents. You " @@ -1264,7 +1279,7 @@ msgid "" "where you can replace the ``...`` with any other regular expression. ::" msgstr "" -#: ../Doc/howto/regex.rst:890 +#: ../Doc/howto/regex.rst:900 msgid "" "Except for the fact that you can't retrieve the contents of what the group " "matched, a non-capturing group behaves exactly the same as a capturing " @@ -1277,13 +1292,13 @@ msgid "" "groups; neither form is any faster than the other." msgstr "" -#: ../Doc/howto/regex.rst:899 +#: ../Doc/howto/regex.rst:909 msgid "" "A more significant feature is named groups: instead of referring to them by " "numbers, groups can be referenced by a name." msgstr "" -#: ../Doc/howto/regex.rst:902 +#: ../Doc/howto/regex.rst:912 msgid "" "The syntax for a named group is one of the Python-specific extensions: ``(?" "P...)``. *name* is, obviously, the name of the group. Named groups " @@ -1295,46 +1310,46 @@ msgid "" "ways::" msgstr "" -#: ../Doc/howto/regex.rst:917 +#: ../Doc/howto/regex.rst:927 msgid "" "Named groups are handy because they let you use easily-remembered names, " "instead of having to remember numbers. Here's an example RE from the :mod:" "`imaplib` module::" msgstr "" -#: ../Doc/howto/regex.rst:928 +#: ../Doc/howto/regex.rst:938 msgid "" "It's obviously much easier to retrieve ``m.group('zonem')``, instead of " "having to remember to retrieve group 9." msgstr "" -#: ../Doc/howto/regex.rst:931 +#: ../Doc/howto/regex.rst:941 msgid "" "The syntax for backreferences in an expression such as ``(...)\\1`` refers " "to the number of the group. There's naturally a variant that uses the group " "name instead of the number. This is another Python extension: ``(?P=name)`` " "indicates that the contents of the group called *name* should again be " "matched at the current point. The regular expression for finding doubled " -"words, ``(\\b\\w+)\\s+\\1`` can also be written as ``(?P\\b\\w+)\\s+(?" -"P=word)``::" +"words, ``\\b(\\w+)\\s+\\1\\b`` can also be written as ``\\b(?P\\w+)\\s" +"+(?P=word)\\b``::" msgstr "" -#: ../Doc/howto/regex.rst:944 +#: ../Doc/howto/regex.rst:954 msgid "Lookahead Assertions" msgstr "" -#: ../Doc/howto/regex.rst:946 +#: ../Doc/howto/regex.rst:956 msgid "" "Another zero-width assertion is the lookahead assertion. Lookahead " "assertions are available in both positive and negative form, and look like " "this:" msgstr "" -#: ../Doc/howto/regex.rst:954 +#: ../Doc/howto/regex.rst:964 msgid "``(?=...)``" msgstr "``(?=...)``" -#: ../Doc/howto/regex.rst:950 +#: ../Doc/howto/regex.rst:960 msgid "" "Positive lookahead assertion. This succeeds if the contained regular " "expression, represented here by ``...``, successfully matches at the current " @@ -1343,18 +1358,18 @@ msgid "" "is tried right where the assertion started." msgstr "" -#: ../Doc/howto/regex.rst:959 +#: ../Doc/howto/regex.rst:969 msgid "``(?!...)``" msgstr "``(?!...)``" -#: ../Doc/howto/regex.rst:957 +#: ../Doc/howto/regex.rst:967 msgid "" "Negative lookahead assertion. This is the opposite of the positive " "assertion; it succeeds if the contained expression *doesn't* match at the " "current position in the string." msgstr "" -#: ../Doc/howto/regex.rst:961 +#: ../Doc/howto/regex.rst:971 msgid "" "To make this concrete, let's look at a case where a lookahead is useful. " "Consider a simple pattern to match a filename and split it apart into a base " @@ -1362,15 +1377,15 @@ msgid "" "``news`` is the base name, and ``rc`` is the filename's extension." msgstr "" -#: ../Doc/howto/regex.rst:966 +#: ../Doc/howto/regex.rst:976 msgid "The pattern to match this is quite simple:" msgstr "" -#: ../Doc/howto/regex.rst:968 +#: ../Doc/howto/regex.rst:978 msgid "``.*[.].*$``" msgstr "" -#: ../Doc/howto/regex.rst:970 +#: ../Doc/howto/regex.rst:980 msgid "" "Notice that the ``.`` needs to be treated specially because it's a " "metacharacter, so it's inside a character class to only match that specific " @@ -1380,24 +1395,24 @@ msgid "" "``printers.conf``." msgstr "" -#: ../Doc/howto/regex.rst:977 +#: ../Doc/howto/regex.rst:987 msgid "" "Now, consider complicating the problem a bit; what if you want to match " "filenames where the extension is not ``bat``? Some incorrect attempts:" msgstr "" -#: ../Doc/howto/regex.rst:980 +#: ../Doc/howto/regex.rst:990 msgid "" "``.*[.][^b].*$`` The first attempt above tries to exclude ``bat`` by " "requiring that the first character of the extension is not a ``b``. This is " "wrong, because the pattern also doesn't match ``foo.bar``." msgstr "" -#: ../Doc/howto/regex.rst:984 +#: ../Doc/howto/regex.rst:994 msgid "``.*[.]([^b]..|.[^a].|..[^t])$``" msgstr "" -#: ../Doc/howto/regex.rst:986 +#: ../Doc/howto/regex.rst:996 msgid "" "The expression gets messier when you try to patch up the first solution by " "requiring one of the following cases to match: the first character of the " @@ -1408,18 +1423,18 @@ msgid "" "pattern again in an effort to fix it." msgstr "" -#: ../Doc/howto/regex.rst:994 +#: ../Doc/howto/regex.rst:1004 msgid "``.*[.]([^b].?.?|.[^a]?.?|..?[^t]?)$``" msgstr "" -#: ../Doc/howto/regex.rst:996 +#: ../Doc/howto/regex.rst:1006 msgid "" "In the third attempt, the second and third letters are all made optional in " "order to allow matching extensions shorter than three characters, such as " "``sendmail.cf``." msgstr "" -#: ../Doc/howto/regex.rst:1000 +#: ../Doc/howto/regex.rst:1010 msgid "" "The pattern's getting really complicated now, which makes it hard to read " "and understand. Worse, if the problem changes and you want to exclude both " @@ -1427,11 +1442,11 @@ msgid "" "complicated and confusing." msgstr "" -#: ../Doc/howto/regex.rst:1005 +#: ../Doc/howto/regex.rst:1015 msgid "A negative lookahead cuts through all this confusion:" msgstr "" -#: ../Doc/howto/regex.rst:1007 +#: ../Doc/howto/regex.rst:1017 msgid "" "``.*[.](?!bat$)[^.]*$`` The negative lookahead means: if the expression " "``bat`` doesn't match at this point, try the rest of the pattern; if ``bat" @@ -1441,71 +1456,71 @@ msgid "" "pattern works when there are multiple dots in the filename." msgstr "" -#: ../Doc/howto/regex.rst:1014 +#: ../Doc/howto/regex.rst:1024 msgid "" "Excluding another filename extension is now easy; simply add it as an " "alternative inside the assertion. The following pattern excludes filenames " "that end in either ``bat`` or ``exe``:" msgstr "" -#: ../Doc/howto/regex.rst:1018 +#: ../Doc/howto/regex.rst:1028 msgid "``.*[.](?!bat$|exe$)[^.]*$``" msgstr "" -#: ../Doc/howto/regex.rst:1022 +#: ../Doc/howto/regex.rst:1032 msgid "Modifying Strings" msgstr "" -#: ../Doc/howto/regex.rst:1024 +#: ../Doc/howto/regex.rst:1034 msgid "" "Up to this point, we've simply performed searches against a static string. " "Regular expressions are also commonly used to modify strings in various " "ways, using the following pattern methods:" msgstr "" -#: ../Doc/howto/regex.rst:1031 +#: ../Doc/howto/regex.rst:1041 msgid "``split()``" msgstr "" -#: ../Doc/howto/regex.rst:1031 +#: ../Doc/howto/regex.rst:1041 msgid "Split the string into a list, splitting it wherever the RE matches" msgstr "" -#: ../Doc/howto/regex.rst:1034 +#: ../Doc/howto/regex.rst:1044 msgid "``sub()``" msgstr "" -#: ../Doc/howto/regex.rst:1034 +#: ../Doc/howto/regex.rst:1044 msgid "" "Find all substrings where the RE matches, and replace them with a different " "string" msgstr "" -#: ../Doc/howto/regex.rst:1037 +#: ../Doc/howto/regex.rst:1047 msgid "``subn()``" msgstr "" -#: ../Doc/howto/regex.rst:1037 +#: ../Doc/howto/regex.rst:1047 msgid "" -"Does the same thing as :meth:`sub`, but returns the new string and the " +"Does the same thing as :meth:`!sub`, but returns the new string and the " "number of replacements" msgstr "" -#: ../Doc/howto/regex.rst:1044 +#: ../Doc/howto/regex.rst:1054 msgid "Splitting Strings" msgstr "" -#: ../Doc/howto/regex.rst:1046 +#: ../Doc/howto/regex.rst:1056 msgid "" -"The :meth:`split` method of a pattern splits a string apart wherever the RE " -"matches, returning a list of the pieces. It's similar to the :meth:`split` " -"method of strings but provides much more generality in the delimiters that " -"you can split by; string :meth:`split` only supports splitting by whitespace " -"or by a fixed string. As you'd expect, there's a module-level :func:`re." -"split` function, too." +"The :meth:`~re.pattern.split` method of a pattern splits a string apart " +"wherever the RE matches, returning a list of the pieces. It's similar to " +"the :meth:`~str.split` method of strings but provides much more generality " +"in the delimiters that you can split by; string :meth:`!split` only supports " +"splitting by whitespace or by a fixed string. As you'd expect, there's a " +"module-level :func:`re.split` function, too." msgstr "" -#: ../Doc/howto/regex.rst:1057 +#: ../Doc/howto/regex.rst:1067 msgid "" "Split *string* by the matches of the regular expression. If capturing " "parentheses are used in the RE, then their contents will also be returned as " @@ -1513,7 +1528,7 @@ msgid "" "splits are performed." msgstr "" -#: ../Doc/howto/regex.rst:1062 +#: ../Doc/howto/regex.rst:1072 msgid "" "You can limit the number of splits made, by passing a value for *maxsplit*. " "When *maxsplit* is nonzero, at most *maxsplit* splits will be made, and the " @@ -1522,7 +1537,7 @@ msgid "" "characters. ::" msgstr "" -#: ../Doc/howto/regex.rst:1074 +#: ../Doc/howto/regex.rst:1084 msgid "" "Sometimes you're not only interested in what the text between delimiters is, " "but also need to know what the delimiter was. If capturing parentheses are " @@ -1530,57 +1545,58 @@ msgid "" "Compare the following calls::" msgstr "" -#: ../Doc/howto/regex.rst:1086 +#: ../Doc/howto/regex.rst:1096 msgid "" "The module-level function :func:`re.split` adds the RE to be used as the " "first argument, but is otherwise the same. ::" msgstr "" -#: ../Doc/howto/regex.rst:1098 +#: ../Doc/howto/regex.rst:1108 msgid "Search and Replace" msgstr "" -#: ../Doc/howto/regex.rst:1100 +#: ../Doc/howto/regex.rst:1110 msgid "" "Another common task is to find all the matches for a pattern, and replace " -"them with a different string. The :meth:`sub` method takes a replacement " -"value, which can be either a string or a function, and the string to be " -"processed." +"them with a different string. The :meth:`~re.pattern.sub` method takes a " +"replacement value, which can be either a string or a function, and the " +"string to be processed." msgstr "" -#: ../Doc/howto/regex.rst:1107 +#: ../Doc/howto/regex.rst:1117 msgid "" "Returns the string obtained by replacing the leftmost non-overlapping " "occurrences of the RE in *string* by the replacement *replacement*. If the " "pattern isn't found, *string* is returned unchanged." msgstr "" -#: ../Doc/howto/regex.rst:1111 +#: ../Doc/howto/regex.rst:1121 msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. The default value " "of 0 means to replace all occurrences." msgstr "" -#: ../Doc/howto/regex.rst:1115 +#: ../Doc/howto/regex.rst:1125 msgid "" -"Here's a simple example of using the :meth:`sub` method. It replaces colour " -"names with the word ``colour``::" +"Here's a simple example of using the :meth:`~re.pattern.sub` method. It " +"replaces colour names with the word ``colour``::" msgstr "" -#: ../Doc/howto/regex.rst:1124 +#: ../Doc/howto/regex.rst:1134 msgid "" -"The :meth:`subn` method does the same work, but returns a 2-tuple containing " -"the new string value and the number of replacements that were performed::" +"The :meth:`~re.pattern.subn` method does the same work, but returns a 2-" +"tuple containing the new string value and the number of replacements that " +"were performed::" msgstr "" -#: ../Doc/howto/regex.rst:1133 +#: ../Doc/howto/regex.rst:1143 msgid "" "Empty matches are replaced only when they're not adjacent to a previous " "match. ::" msgstr "" -#: ../Doc/howto/regex.rst:1140 +#: ../Doc/howto/regex.rst:1150 msgid "" "If *replacement* is a string, any backslash escapes in it are processed. " "That is, ``\\n`` is converted to a single newline character, ``\\r`` is " @@ -1591,13 +1607,13 @@ msgid "" "string." msgstr "" -#: ../Doc/howto/regex.rst:1147 +#: ../Doc/howto/regex.rst:1157 msgid "" "This example matches the word ``section`` followed by a string enclosed in " "``{``, ``}``, and changes ``section`` to ``subsection``::" msgstr "" -#: ../Doc/howto/regex.rst:1154 +#: ../Doc/howto/regex.rst:1164 msgid "" "There's also a syntax for referring to named groups as defined by the ``(?" "P...)`` syntax. ``\\g`` will use the substring matched by the " @@ -1609,7 +1625,7 @@ msgid "" "but use all three variations of the replacement string. ::" msgstr "" -#: ../Doc/howto/regex.rst:1171 +#: ../Doc/howto/regex.rst:1181 msgid "" "*replacement* can also be a function, which gives you even more control. If " "*replacement* is a function, the function is called for every non-" @@ -1618,13 +1634,13 @@ msgid "" "this information to compute the desired replacement string and return it." msgstr "" -#: ../Doc/howto/regex.rst:1177 +#: ../Doc/howto/regex.rst:1187 msgid "" "In the following example, the replacement function translates decimals into " "hexadecimal::" msgstr "" -#: ../Doc/howto/regex.rst:1189 +#: ../Doc/howto/regex.rst:1199 msgid "" "When using the module-level :func:`re.sub` function, the pattern is passed " "as the first argument. The pattern may be provided as an object or as a " @@ -1634,11 +1650,11 @@ msgid "" "x'``." msgstr "" -#: ../Doc/howto/regex.rst:1197 +#: ../Doc/howto/regex.rst:1207 msgid "Common Problems" msgstr "" -#: ../Doc/howto/regex.rst:1199 +#: ../Doc/howto/regex.rst:1209 msgid "" "Regular expressions are a powerful tool for some applications, but in some " "ways their behaviour isn't intuitive and at times they don't behave the way " @@ -1646,70 +1662,71 @@ msgid "" "pitfalls." msgstr "" -#: ../Doc/howto/regex.rst:1205 +#: ../Doc/howto/regex.rst:1215 msgid "Use String Methods" msgstr "" -#: ../Doc/howto/regex.rst:1207 +#: ../Doc/howto/regex.rst:1217 msgid "" "Sometimes using the :mod:`re` module is a mistake. If you're matching a " "fixed string, or a single character class, and you're not using any :mod:" -"`re` features such as the :const:`IGNORECASE` flag, then the full power of " -"regular expressions may not be required. Strings have several methods for " +"`re` features such as the :const:`~re.IGNORECASE` flag, then the full power " +"of regular expressions may not be required. Strings have several methods for " "performing operations with fixed strings and they're usually much faster, " "because the implementation is a single small C loop that's been optimized " "for the purpose, instead of the large, more generalized regular expression " "engine." msgstr "" -#: ../Doc/howto/regex.rst:1215 +#: ../Doc/howto/regex.rst:1225 msgid "" "One example might be replacing a single fixed string with another one; for " -"example, you might replace ``word`` with ``deed``. ``re.sub()`` seems like " -"the function to use for this, but consider the :meth:`replace` method. Note " -"that :func:`replace` will also replace ``word`` inside words, turning " -"``swordfish`` into ``sdeedfish``, but the naive RE ``word`` would have done " -"that, too. (To avoid performing the substitution on parts of words, the " -"pattern would have to be ``\\bword\\b``, in order to require that ``word`` " -"have a word boundary on either side. This takes the job beyond :meth:" -"`replace`'s abilities.)" +"example, you might replace ``word`` with ``deed``. :func:`re.sub` seems " +"like the function to use for this, but consider the :meth:`~str.replace` " +"method. Note that :meth:`!replace` will also replace ``word`` inside words, " +"turning ``swordfish`` into ``sdeedfish``, but the naive RE ``word`` would " +"have done that, too. (To avoid performing the substitution on parts of " +"words, the pattern would have to be ``\\bword\\b``, in order to require that " +"``word`` have a word boundary on either side. This takes the job beyond :" +"meth:`!replace`'s abilities.)" msgstr "" -#: ../Doc/howto/regex.rst:1224 +#: ../Doc/howto/regex.rst:1234 msgid "" "Another common task is deleting every occurrence of a single character from " "a string or replacing it with another single character. You might do this " -"with something like ``re.sub('\\n', ' ', S)``, but :meth:`translate` is " +"with something like ``re.sub('\\n', ' ', S)``, but :meth:`~str.translate` is " "capable of doing both tasks and will be faster than any regular expression " "operation can be." msgstr "" -#: ../Doc/howto/regex.rst:1230 +#: ../Doc/howto/regex.rst:1240 msgid "" "In short, before turning to the :mod:`re` module, consider whether your " "problem can be solved with a faster and simpler string method." msgstr "" -#: ../Doc/howto/regex.rst:1235 +#: ../Doc/howto/regex.rst:1245 msgid "match() versus search()" msgstr "" -#: ../Doc/howto/regex.rst:1237 +#: ../Doc/howto/regex.rst:1247 msgid "" -"The :func:`match` function only checks if the RE matches at the beginning of " -"the string while :func:`search` will scan forward through the string for a " -"match. It's important to keep this distinction in mind. Remember, :func:" -"`match` will only report a successful match which will start at 0; if the " -"match wouldn't start at zero, :func:`match` will *not* report it. ::" +"The :func:`~re.match` function only checks if the RE matches at the " +"beginning of the string while :func:`~re.search` will scan forward through " +"the string for a match. It's important to keep this distinction in mind. " +"Remember, :func:`!match` will only report a successful match which will " +"start at 0; if the match wouldn't start at zero, :func:`!match` will *not* " +"report it. ::" msgstr "" -#: ../Doc/howto/regex.rst:1248 +#: ../Doc/howto/regex.rst:1258 msgid "" -"On the other hand, :func:`search` will scan forward through the string, " +"On the other hand, :func:`~re.search` will scan forward through the string, " "reporting the first match it finds. ::" msgstr "" -#: ../Doc/howto/regex.rst:1256 +#: ../Doc/howto/regex.rst:1266 msgid "" "Sometimes you'll be tempted to keep using :func:`re.match`, and just add ``." "*`` to the front of your RE. Resist this temptation and use :func:`re." @@ -1721,18 +1738,18 @@ msgid "" "starting character, only trying the full match if a ``'C'`` is found." msgstr "" -#: ../Doc/howto/regex.rst:1265 +#: ../Doc/howto/regex.rst:1275 msgid "" "Adding ``.*`` defeats this optimization, requiring scanning to the end of " "the string and then backtracking to find a match for the rest of the RE. " "Use :func:`re.search` instead." msgstr "" -#: ../Doc/howto/regex.rst:1271 +#: ../Doc/howto/regex.rst:1281 msgid "Greedy versus Non-Greedy" msgstr "" -#: ../Doc/howto/regex.rst:1273 +#: ../Doc/howto/regex.rst:1283 msgid "" "When repeating a regular expression, as in ``a*``, the resulting action is " "to consume as much of the pattern as possible. This fact often bites you " @@ -1741,17 +1758,17 @@ msgid "" "HTML tag doesn't work because of the greedy nature of ``.*``. ::" msgstr "" -#: ../Doc/howto/regex.rst:1287 +#: ../Doc/howto/regex.rst:1297 msgid "" -"The RE matches the ``'<'`` in ````, and the ``.*`` consumes the rest " +"The RE matches the ``'<'`` in ``''``, and the ``.*`` consumes the rest " "of the string. There's still more left in the RE, though, and the ``>`` " "can't match at the end of the string, so the regular expression engine has " "to backtrack character by character until it finds a match for the ``>``. " -"The final match extends from the ``'<'`` in ```` to the ``'>'`` in ````, which isn't what you want." +"The final match extends from the ``'<'`` in ``''`` to the ``'>'`` in " +"``''``, which isn't what you want." msgstr "" -#: ../Doc/howto/regex.rst:1294 +#: ../Doc/howto/regex.rst:1304 msgid "" "In this case, the solution is to use the non-greedy qualifiers ``*?``, ``+?" "``, ``??``, or ``{m,n}?``, which match as *little* text as possible. In the " @@ -1760,7 +1777,7 @@ msgid "" "retrying the ``'>'`` at every step. This produces just the right result::" msgstr "" -#: ../Doc/howto/regex.rst:1303 +#: ../Doc/howto/regex.rst:1313 msgid "" "(Note that parsing HTML or XML with regular expressions is painful. Quick-" "and-dirty patterns will handle common cases, but HTML and XML have special " @@ -1770,11 +1787,11 @@ msgid "" "such tasks.)" msgstr "" -#: ../Doc/howto/regex.rst:1311 +#: ../Doc/howto/regex.rst:1321 msgid "Using re.VERBOSE" msgstr "" -#: ../Doc/howto/regex.rst:1313 +#: ../Doc/howto/regex.rst:1323 msgid "" "By now you've probably noticed that regular expressions are a very compact " "notation, but they're not terribly readable. REs of moderate complexity can " @@ -1782,14 +1799,14 @@ msgid "" "making them difficult to read and understand." msgstr "" -#: ../Doc/howto/regex.rst:1318 +#: ../Doc/howto/regex.rst:1328 msgid "" -"For such REs, specifying the ``re.VERBOSE`` flag when compiling the regular " -"expression can be helpful, because it allows you to format the regular " -"expression more clearly." +"For such REs, specifying the :const:`re.VERBOSE` flag when compiling the " +"regular expression can be helpful, because it allows you to format the " +"regular expression more clearly." msgstr "" -#: ../Doc/howto/regex.rst:1322 +#: ../Doc/howto/regex.rst:1332 msgid "" "The ``re.VERBOSE`` flag has several effects. Whitespace in the regular " "expression that *isn't* inside a character class is ignored. This means " @@ -1800,15 +1817,15 @@ msgid "" "quoted strings, this enables REs to be formatted more neatly::" msgstr "" -#: ../Doc/howto/regex.rst:1339 +#: ../Doc/howto/regex.rst:1349 msgid "This is far more readable than::" msgstr "" -#: ../Doc/howto/regex.rst:1345 +#: ../Doc/howto/regex.rst:1355 msgid "Feedback" msgstr "" -#: ../Doc/howto/regex.rst:1347 +#: ../Doc/howto/regex.rst:1357 msgid "" "Regular expressions are a complicated topic. Did this document help you " "understand them? Were there parts that were unclear, or Problems you " @@ -1816,13 +1833,16 @@ msgid "" "improvements to the author." msgstr "" -#: ../Doc/howto/regex.rst:1352 +#: ../Doc/howto/regex.rst:1362 msgid "" "The most complete book on regular expressions is almost certainly Jeffrey " "Friedl's Mastering Regular Expressions, published by O'Reilly. " "Unfortunately, it exclusively concentrates on Perl and Java's flavours of " "regular expressions, and doesn't contain any Python material at all, so it " "won't be useful as a reference for programming in Python. (The first " -"edition covered Python's now-removed :mod:`regex` module, which won't help " +"edition covered Python's now-removed :mod:`!regex` module, which won't help " "you much.) Consider checking it out from your library." msgstr "" + +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/sockets.po b/howto/sockets.po index b029a784..427c23a1 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,14 +21,14 @@ msgstr "" msgid "Socket Programming HOWTO" msgstr "" +#: ../Doc/howto/sockets.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/sockets.rst:7 msgid "Gordon McMillan" msgstr "" -#: ../Doc/howto/sockets.rst:0 -msgid "Abstract" -msgstr "Résumé" - #: ../Doc/howto/sockets.rst:12 msgid "" "Sockets are used nearly everywhere, but are one of the most severely " @@ -475,3 +475,6 @@ msgid "" "differently on Windows. In fact, on Windows I usually use threads (which " "work very, very well) with my sockets." msgstr "" + +#~ msgid "Abstract" +#~ msgstr "Résumé" diff --git a/howto/sorting.po b/howto/sorting.po index 7e703552..4cd89ac9 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,10 +21,18 @@ msgstr "" msgid "Sorting HOW TO" msgstr "" +#: ../Doc/howto/sorting.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/sorting.rst:6 msgid "Andrew Dalke and Raymond Hettinger" msgstr "" +#: ../Doc/howto/sorting.rst:0 +msgid "Release" +msgstr "Version" + #: ../Doc/howto/sorting.rst:7 msgid "0.1" msgstr "" @@ -311,6 +319,3 @@ msgid "" "grades are stored in a dictionary, they can be used to sort a separate list " "of student names:" msgstr "" - -#~ msgid "Release" -#~ msgstr "Version" diff --git a/howto/unicode.po b/howto/unicode.po index 13749894..e80a7a63 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Unicode HOWTO" msgstr "" +#: ../Doc/howto/unicode.rst:0 +msgid "Release" +msgstr "Version" + #: ../Doc/howto/unicode.rst:7 msgid "1.12" msgstr "" @@ -906,6 +910,3 @@ msgid "" "Gedminas, Kent Johnson, Ken Krugler, Marc-André Lemburg, Martin von Löwis, " "Terry J. Reedy, Chad Whitacre." msgstr "" - -#~ msgid "Release" -#~ msgstr "Version" diff --git a/howto/urllib2.po b/howto/urllib2.po index 9b701e78..f3b9c8e4 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "HOWTO Fetch Internet Resources Using The urllib Package" msgstr "" +#: ../Doc/howto/urllib2.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/howto/urllib2.rst:7 msgid "`Michael Foord `_" msgstr "" @@ -36,10 +40,6 @@ msgstr "" msgid "Introduction" msgstr "Introduction" -#: ../Doc/howto/urllib2.rst:0 -msgid "Related Articles" -msgstr "" - #: ../Doc/howto/urllib2.rst:22 msgid "" "You may also find useful the following article on fetching web resources " diff --git a/install/index.po b/install/index.po index cab34e34..339f2c9e 100644 --- a/install/index.po +++ b/install/index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-10-21 18:48+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Installing Python Modules (Legacy version)" msgstr "installation des modules python (Version historique)" +#: ../Doc/install/index.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/install/index.rst:9 msgid "Greg Ward" msgstr "Greg Ward" diff --git a/installing/index.po b/installing/index.po index 734defb9..247784cc 100644 --- a/installing/index.po +++ b/installing/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-10-31 17:44+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Installing Python Modules" msgstr "L'installation de modules Python" +#: ../Doc/installing/index.rst:0 +msgid "Email" +msgstr "" + #: ../Doc/installing/index.rst:9 msgid "distutils-sig@python.org" msgstr "distutils-sig@python.org" diff --git a/library/2to3.po b/library/2to3.po index 2ae8e977..0b3fd8e5 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-05-27 13:59+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -212,11 +212,11 @@ msgstr "" "Remplace les noms de méthodes obsolètes du module :mod:`unittest` par les " "bons." -#: ../Doc/library/2to3.rst:164 ../Doc/library/2to3.rst:351 +#: ../Doc/library/2to3.rst:164 ../Doc/library/2to3.rst:352 msgid "From" msgstr "De" -#: ../Doc/library/2to3.rst:164 ../Doc/library/2to3.rst:351 +#: ../Doc/library/2to3.rst:164 ../Doc/library/2to3.rst:352 msgid "To" msgstr "À" @@ -405,35 +405,36 @@ msgstr "Convertit :func:`intern` en :func:`sys.intern`." msgid "" "Fixes duplicate types in the second argument of :func:`isinstance`. For " "example, ``isinstance(x, (int, int))`` is converted to ``isinstance(x, " -"(int))``." +"int)`` and ``isinstance(x, (int, float, int))`` is converted to " +"``isinstance(x, (int, float))``." msgstr "" -#: ../Doc/library/2to3.rst:295 +#: ../Doc/library/2to3.rst:296 msgid "" "Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and :" "func:`itertools.imap`. Imports of :func:`itertools.ifilterfalse` are also " "changed to :func:`itertools.filterfalse`." msgstr "" -#: ../Doc/library/2to3.rst:301 +#: ../Doc/library/2to3.rst:302 msgid "" "Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and :" "func:`itertools.imap` to their built-in equivalents. :func:`itertools." "ifilterfalse` is changed to :func:`itertools.filterfalse`." msgstr "" -#: ../Doc/library/2to3.rst:307 +#: ../Doc/library/2to3.rst:308 msgid "Renames :class:`long` to :class:`int`." msgstr "Renomme :class:`long` en :class:`int`." -#: ../Doc/library/2to3.rst:311 +#: ../Doc/library/2to3.rst:312 msgid "" "Wraps :func:`map` in a :class:`list` call. It also changes ``map(None, x)`` " "to ``list(x)``. Using ``from future_builtins import map`` disables this " "fixer." msgstr "" -#: ../Doc/library/2to3.rst:317 +#: ../Doc/library/2to3.rst:318 msgid "" "Converts the old metaclass syntax (``__metaclass__ = Meta`` in the class " "body) to the new (``class X(metaclass=Meta)``)." @@ -441,34 +442,34 @@ msgstr "" "Convertit l'ancienne syntaxe de métaclasse (``__metaclass__ = Meta`` dans le " "corps de la classe) à la nouvelle (``class X(metaclasse=Meta)``)." -#: ../Doc/library/2to3.rst:322 +#: ../Doc/library/2to3.rst:323 msgid "" "Fixes old method attribute names. For example, ``meth.im_func`` is " "converted to ``meth.__func__``." msgstr "" -#: ../Doc/library/2to3.rst:327 +#: ../Doc/library/2to3.rst:328 msgid "Converts the old not-equal syntax, ``<>``, to ``!=``." msgstr "" -#: ../Doc/library/2to3.rst:331 +#: ../Doc/library/2to3.rst:332 msgid "" "Converts the use of iterator's :meth:`~iterator.next` methods to the :func:" "`next` function. It also renames :meth:`next` methods to :meth:`~iterator." "__next__`." msgstr "" -#: ../Doc/library/2to3.rst:337 +#: ../Doc/library/2to3.rst:338 msgid "Renames :meth:`__nonzero__` to :meth:`~object.__bool__`." msgstr "Renomme :meth:`__nonzero__` en :meth:`~object.__bool__`." -#: ../Doc/library/2to3.rst:341 +#: ../Doc/library/2to3.rst:342 msgid "Converts octal literals into the new syntax." msgstr "" "Convertit les nombre écrits littéralement en octal dans leur nouvelle " "syntaxe." -#: ../Doc/library/2to3.rst:345 +#: ../Doc/library/2to3.rst:346 msgid "" "Converts calls to various functions in the :mod:`operator` module to other, " "but equivalent, function calls. When needed, the appropriate ``import`` " @@ -476,138 +477,138 @@ msgid "" "are made:" msgstr "" -#: ../Doc/library/2to3.rst:353 +#: ../Doc/library/2to3.rst:354 msgid "``operator.isCallable(obj)``" msgstr "``operator.isCallable(obj)``" -#: ../Doc/library/2to3.rst:353 +#: ../Doc/library/2to3.rst:354 msgid "``hasattr(obj, '__call__')``" msgstr "``hasattr(obj, '__call__')``" -#: ../Doc/library/2to3.rst:354 +#: ../Doc/library/2to3.rst:355 msgid "``operator.sequenceIncludes(obj)``" msgstr "``operator.sequenceIncludes(obj)``" -#: ../Doc/library/2to3.rst:354 +#: ../Doc/library/2to3.rst:355 msgid "``operator.contains(obj)``" msgstr "``operator.contains(obj)``" -#: ../Doc/library/2to3.rst:355 +#: ../Doc/library/2to3.rst:356 msgid "``operator.isSequenceType(obj)``" msgstr "``operator.isSequenceType(obj)``" -#: ../Doc/library/2to3.rst:355 +#: ../Doc/library/2to3.rst:356 msgid "``isinstance(obj, collections.Sequence)``" msgstr "``isinstance(obj, collections.Sequence)``" -#: ../Doc/library/2to3.rst:356 +#: ../Doc/library/2to3.rst:357 msgid "``operator.isMappingType(obj)``" msgstr "``operator.isMappingType(obj)``" -#: ../Doc/library/2to3.rst:356 +#: ../Doc/library/2to3.rst:357 msgid "``isinstance(obj, collections.Mapping)``" msgstr "``isinstance(obj, collections.Mapping)``" -#: ../Doc/library/2to3.rst:357 +#: ../Doc/library/2to3.rst:358 msgid "``operator.isNumberType(obj)``" msgstr "``operator.isNumberType(obj)``" -#: ../Doc/library/2to3.rst:357 +#: ../Doc/library/2to3.rst:358 msgid "``isinstance(obj, numbers.Number)``" msgstr "``isinstance(obj, numbers.Number)``" -#: ../Doc/library/2to3.rst:358 +#: ../Doc/library/2to3.rst:359 msgid "``operator.repeat(obj, n)``" msgstr "``operator.repeat(obj, n)``" -#: ../Doc/library/2to3.rst:358 +#: ../Doc/library/2to3.rst:359 msgid "``operator.mul(obj, n)``" msgstr "``operator.mul(obj, n)``" -#: ../Doc/library/2to3.rst:359 +#: ../Doc/library/2to3.rst:360 msgid "``operator.irepeat(obj, n)``" msgstr "``operator.irepeat(obj, n)``" -#: ../Doc/library/2to3.rst:359 +#: ../Doc/library/2to3.rst:360 msgid "``operator.imul(obj, n)``" msgstr "``operator.imul(obj, n)``" -#: ../Doc/library/2to3.rst:364 +#: ../Doc/library/2to3.rst:365 msgid "" "Add extra parenthesis where they are required in list comprehensions. For " "example, ``[x for x in 1, 2]`` becomes ``[x for x in (1, 2)]``." msgstr "" -#: ../Doc/library/2to3.rst:369 +#: ../Doc/library/2to3.rst:370 msgid "Converts the ``print`` statement to the :func:`print` function." msgstr "Convertit l'instruction ``print`` fonction :func:`print`." -#: ../Doc/library/2to3.rst:373 +#: ../Doc/library/2to3.rst:374 msgid "" "Converts ``raise E, V`` to ``raise E(V)``, and ``raise E, V, T`` to ``raise " "E(V).with_traceback(T)``. If ``E`` is a tuple, the translation will be " "incorrect because substituting tuples for exceptions has been removed in 3.0." msgstr "" -#: ../Doc/library/2to3.rst:379 +#: ../Doc/library/2to3.rst:380 msgid "Converts :func:`raw_input` to :func:`input`." msgstr "Convertit :func:`raw_input` en :func:`input`." -#: ../Doc/library/2to3.rst:383 +#: ../Doc/library/2to3.rst:384 msgid "Handles the move of :func:`reduce` to :func:`functools.reduce`." msgstr "" -#: ../Doc/library/2to3.rst:387 +#: ../Doc/library/2to3.rst:388 msgid "Converts :func:`reload` to :func:`imp.reload`." msgstr "Convertit les appels à :func:`reload` en appels à :func:`imp.reload`." -#: ../Doc/library/2to3.rst:391 +#: ../Doc/library/2to3.rst:392 msgid "Changes :data:`sys.maxint` to :data:`sys.maxsize`." msgstr "Change :data:`sys.maxint` en :data:`sys.maxsize`." -#: ../Doc/library/2to3.rst:395 +#: ../Doc/library/2to3.rst:396 msgid "Replaces backtick repr with the :func:`repr` function." msgstr "" "Remplace les accents graves utilisés comme ``repr`` par des appels à :func:" "`repr`." -#: ../Doc/library/2to3.rst:399 +#: ../Doc/library/2to3.rst:400 msgid "" "Replaces use of the :class:`set` constructor with set literals. This fixer " "is optional." msgstr "" -#: ../Doc/library/2to3.rst:404 +#: ../Doc/library/2to3.rst:405 msgid "Renames :exc:`StandardError` to :exc:`Exception`." msgstr "Renomme :exc:`StandardError` en :exc:`Exception`." -#: ../Doc/library/2to3.rst:408 +#: ../Doc/library/2to3.rst:409 msgid "" "Changes the deprecated :data:`sys.exc_value`, :data:`sys.exc_type`, :data:" "`sys.exc_traceback` to use :func:`sys.exc_info`." msgstr "" -#: ../Doc/library/2to3.rst:413 +#: ../Doc/library/2to3.rst:414 msgid "Fixes the API change in generator's :meth:`throw` method." msgstr "" -#: ../Doc/library/2to3.rst:417 +#: ../Doc/library/2to3.rst:418 msgid "" "Removes implicit tuple parameter unpacking. This fixer inserts temporary " "variables." msgstr "" -#: ../Doc/library/2to3.rst:422 +#: ../Doc/library/2to3.rst:423 msgid "" "Fixes code broken from the removal of some members in the :mod:`types` " "module." msgstr "" -#: ../Doc/library/2to3.rst:427 +#: ../Doc/library/2to3.rst:428 msgid "Renames :class:`unicode` to :class:`str`." msgstr "Renomme :class:`unicode` en :class:`str`." -#: ../Doc/library/2to3.rst:431 +#: ../Doc/library/2to3.rst:432 msgid "" "Handles the rename of :mod:`urllib` and :mod:`urllib2` to the :mod:`urllib` " "package." @@ -615,13 +616,13 @@ msgstr "" "Gère le renommage des paquets :mod:`urllib` et :mod:`urllib2` en :mod:" "`urllib`" -#: ../Doc/library/2to3.rst:436 +#: ../Doc/library/2to3.rst:437 msgid "" "Removes excess whitespace from comma separated items. This fixer is " "optional." msgstr "" -#: ../Doc/library/2to3.rst:441 +#: ../Doc/library/2to3.rst:442 msgid "" "Renames :func:`xrange` to :func:`range` and wraps existing :func:`range` " "calls with :class:`list`." @@ -629,25 +630,25 @@ msgstr "" "Renomme la fonction :func:`xrange` en :func:`range` et encapsule les appels " "à la fonction :func:`range` avec des appels à :class:`list`." -#: ../Doc/library/2to3.rst:446 +#: ../Doc/library/2to3.rst:447 msgid "Changes ``for x in file.xreadlines()`` to ``for x in file``." msgstr "" -#: ../Doc/library/2to3.rst:450 +#: ../Doc/library/2to3.rst:451 msgid "" "Wraps :func:`zip` usage in a :class:`list` call. This is disabled when " "``from future_builtins import zip`` appears." msgstr "" -#: ../Doc/library/2to3.rst:455 +#: ../Doc/library/2to3.rst:456 msgid ":mod:`lib2to3` - 2to3's library" msgstr ":mod:`lib2to3` - la bibliothèque de 2to3" -#: ../Doc/library/2to3.rst:464 +#: ../Doc/library/2to3.rst:465 msgid "**Source code:** :source:`Lib/lib2to3/`" msgstr "" -#: ../Doc/library/2to3.rst:470 +#: ../Doc/library/2to3.rst:471 msgid "" "The :mod:`lib2to3` API should be considered unstable and may change " "drastically in the future." diff --git a/library/_thread.po b/library/_thread.po index 9d530035..ad53e4aa 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 10:10+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/library/_thread.rst:2 diff --git a/library/argparse.po b/library/argparse.po index 5c7ca67d..0f680027 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-09-24 23:19+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -29,10 +29,6 @@ msgstr "" msgid "**Source code:** :source:`Lib/argparse.py`" msgstr "**Code source:** :source:`Lib/argparse.py`" -#: ../Doc/library/argparse.rst:0 -msgid "Tutorial" -msgstr "Tutoriel" - #: ../Doc/library/argparse.rst:18 msgid "" "This page contains the API reference information. For a more gentle " @@ -1707,3 +1703,6 @@ msgid "" "``parser.add_argument('--version', action='version', version='')``." msgstr "" + +#~ msgid "Tutorial" +#~ msgstr "Tutoriel" diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index 5c129640..870d063b 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:20+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -288,9 +288,9 @@ msgstr "" #: ../Doc/library/asyncio-dev.rst:212 msgid "" -"Python usually calls :func:`sys.displayhook` on unhandled exceptions. If :" +"Python usually calls :func:`sys.excepthook` on unhandled exceptions. If :" "meth:`Future.set_exception` is called, but the exception is never consumed, :" -"func:`sys.displayhook` is not called. Instead, :ref:`a log is emitted " +"func:`sys.excepthook` is not called. Instead, :ref:`a log is emitted " "` when the future is deleted by the garbage collector, with " "the traceback where the exception was raised." msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index c1555331..e6568606 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -193,9 +193,9 @@ msgstr "" #: ../Doc/library/asyncio-eventloop.rst:143 #: ../Doc/library/asyncio-eventloop.rst:185 #: ../Doc/library/asyncio-eventloop.rst:199 -#: ../Doc/library/asyncio-eventloop.rst:516 -#: ../Doc/library/asyncio-eventloop.rst:528 -#: ../Doc/library/asyncio-eventloop.rst:682 +#: ../Doc/library/asyncio-eventloop.rst:519 +#: ../Doc/library/asyncio-eventloop.rst:531 +#: ../Doc/library/asyncio-eventloop.rst:685 msgid "" ":ref:`Use functools.partial to pass keywords to the callback `." @@ -623,14 +623,14 @@ msgstr "" #: ../Doc/library/asyncio-eventloop.rst:460 #: ../Doc/library/asyncio-eventloop.rst:481 -#: ../Doc/library/asyncio-eventloop.rst:555 -#: ../Doc/library/asyncio-eventloop.rst:571 -#: ../Doc/library/asyncio-eventloop.rst:581 -#: ../Doc/library/asyncio-eventloop.rst:609 -#: ../Doc/library/asyncio-eventloop.rst:648 -#: ../Doc/library/asyncio-eventloop.rst:662 -#: ../Doc/library/asyncio-eventloop.rst:713 -#: ../Doc/library/asyncio-eventloop.rst:832 +#: ../Doc/library/asyncio-eventloop.rst:558 +#: ../Doc/library/asyncio-eventloop.rst:574 +#: ../Doc/library/asyncio-eventloop.rst:584 +#: ../Doc/library/asyncio-eventloop.rst:612 +#: ../Doc/library/asyncio-eventloop.rst:651 +#: ../Doc/library/asyncio-eventloop.rst:665 +#: ../Doc/library/asyncio-eventloop.rst:716 +#: ../Doc/library/asyncio-eventloop.rst:835 msgid "This method is a :ref:`coroutine `." msgstr "Cette méthode est une :ref:`coroutine `." @@ -670,79 +670,79 @@ msgid "" "coroutine returns a ``(transport, protocol)`` pair." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:504 +#: ../Doc/library/asyncio-eventloop.rst:507 msgid "Watch file descriptors" msgstr "Surveiller des descripteurs de fichiers" -#: ../Doc/library/asyncio-eventloop.rst:506 +#: ../Doc/library/asyncio-eventloop.rst:509 msgid "" "On Windows with :class:`SelectorEventLoop`, only socket handles are " "supported (ex: pipe file descriptors are not supported)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:509 +#: ../Doc/library/asyncio-eventloop.rst:512 msgid "" "On Windows with :class:`ProactorEventLoop`, these methods are not supported." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:513 +#: ../Doc/library/asyncio-eventloop.rst:516 msgid "" "Start watching the file descriptor for read availability and then call the " "*callback* with specified arguments." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:521 +#: ../Doc/library/asyncio-eventloop.rst:524 msgid "Stop watching the file descriptor for read availability." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:525 +#: ../Doc/library/asyncio-eventloop.rst:528 msgid "" "Start watching the file descriptor for write availability and then call the " "*callback* with specified arguments." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:533 +#: ../Doc/library/asyncio-eventloop.rst:536 msgid "Stop watching the file descriptor for write availability." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:535 +#: ../Doc/library/asyncio-eventloop.rst:538 msgid "" "The :ref:`watch a file descriptor for read events ` example uses the low-level :meth:`AbstractEventLoop.add_reader` " "method to register the file descriptor of a socket." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:541 +#: ../Doc/library/asyncio-eventloop.rst:544 msgid "Low-level socket operations" msgstr "Opérations bas niveau sur les *socket*" -#: ../Doc/library/asyncio-eventloop.rst:545 +#: ../Doc/library/asyncio-eventloop.rst:548 msgid "" "Receive data from the socket. Modeled after blocking :meth:`socket.socket." "recv` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:548 +#: ../Doc/library/asyncio-eventloop.rst:551 msgid "" "The return value is a bytes object representing the data received. The " "maximum amount of data to be received at once is specified by *nbytes*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:552 -#: ../Doc/library/asyncio-eventloop.rst:568 -#: ../Doc/library/asyncio-eventloop.rst:578 +#: ../Doc/library/asyncio-eventloop.rst:555 +#: ../Doc/library/asyncio-eventloop.rst:571 +#: ../Doc/library/asyncio-eventloop.rst:581 msgid "" "With :class:`SelectorEventLoop` event loop, the socket *sock* must be non-" "blocking." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:559 +#: ../Doc/library/asyncio-eventloop.rst:562 msgid "" "Send data to the socket. Modeled after blocking :meth:`socket.socket." "sendall` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:562 +#: ../Doc/library/asyncio-eventloop.rst:565 msgid "" "The socket must be connected to a remote socket. This method continues to " "send data from *data* until either all data has been sent or an error " @@ -751,13 +751,13 @@ msgid "" "processed by the receiving end of the connection." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:575 +#: ../Doc/library/asyncio-eventloop.rst:578 msgid "" "Connect to a remote socket at *address*. Modeled after blocking :meth:" "`socket.socket.connect` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:583 +#: ../Doc/library/asyncio-eventloop.rst:586 msgid "" "``address`` no longer needs to be resolved. ``sock_connect`` will try to " "check if the *address* is already resolved by calling :func:`socket." @@ -765,18 +765,18 @@ msgid "" "resolve the *address*." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:592 +#: ../Doc/library/asyncio-eventloop.rst:595 msgid "" ":meth:`AbstractEventLoop.create_connection` and :func:`asyncio." "open_connection() `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:598 +#: ../Doc/library/asyncio-eventloop.rst:601 msgid "" "Accept a connection. Modeled after blocking :meth:`socket.socket.accept`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:601 +#: ../Doc/library/asyncio-eventloop.rst:604 msgid "" "The socket must be bound to an address and listening for connections. The " "return value is a pair ``(conn, address)`` where *conn* is a *new* socket " @@ -784,45 +784,45 @@ msgid "" "the address bound to the socket on the other end of the connection." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:607 +#: ../Doc/library/asyncio-eventloop.rst:610 msgid "The socket *sock* must be non-blocking." msgstr "La *socket* *sock* ne soit pas être bloquante." -#: ../Doc/library/asyncio-eventloop.rst:613 +#: ../Doc/library/asyncio-eventloop.rst:616 msgid ":meth:`AbstractEventLoop.create_server` and :func:`start_server`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:617 +#: ../Doc/library/asyncio-eventloop.rst:620 msgid "Resolve host name" msgstr "Résout le nom d'hôte" -#: ../Doc/library/asyncio-eventloop.rst:621 +#: ../Doc/library/asyncio-eventloop.rst:624 msgid "" "This method is a :ref:`coroutine `, similar to :meth:`socket." "getaddrinfo` function but non-blocking." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:626 +#: ../Doc/library/asyncio-eventloop.rst:629 msgid "" "This method is a :ref:`coroutine `, similar to :meth:`socket." "getnameinfo` function but non-blocking." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:631 +#: ../Doc/library/asyncio-eventloop.rst:634 msgid "Connect pipes" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:633 +#: ../Doc/library/asyncio-eventloop.rst:636 msgid "" "On Windows with :class:`SelectorEventLoop`, these methods are not supported. " "Use :class:`ProactorEventLoop` to support pipes on Windows." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:638 +#: ../Doc/library/asyncio-eventloop.rst:641 msgid "Register read pipe in eventloop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:640 +#: ../Doc/library/asyncio-eventloop.rst:643 msgid "" "*protocol_factory* should instantiate object with :class:`Protocol` " "interface. *pipe* is a :term:`file-like object `. Return pair " @@ -830,18 +830,18 @@ msgid "" "`ReadTransport` interface." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:645 -#: ../Doc/library/asyncio-eventloop.rst:659 +#: ../Doc/library/asyncio-eventloop.rst:648 +#: ../Doc/library/asyncio-eventloop.rst:662 msgid "" "With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-" "blocking mode." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:652 +#: ../Doc/library/asyncio-eventloop.rst:655 msgid "Register write pipe in eventloop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:654 +#: ../Doc/library/asyncio-eventloop.rst:657 msgid "" "*protocol_factory* should instantiate object with :class:`BaseProtocol` " "interface. *pipe* is :term:`file-like object `. Return pair " @@ -849,70 +849,70 @@ msgid "" "`WriteTransport` interface." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:666 +#: ../Doc/library/asyncio-eventloop.rst:669 msgid "" "The :meth:`AbstractEventLoop.subprocess_exec` and :meth:`AbstractEventLoop." "subprocess_shell` methods." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:671 +#: ../Doc/library/asyncio-eventloop.rst:674 msgid "UNIX signals" msgstr "Signaux UNIX" -#: ../Doc/library/asyncio-eventloop.rst:673 +#: ../Doc/library/asyncio-eventloop.rst:676 msgid "Availability: UNIX only." msgstr "Disponibilité : UNIX seulement." -#: ../Doc/library/asyncio-eventloop.rst:677 +#: ../Doc/library/asyncio-eventloop.rst:680 msgid "Add a handler for a signal." msgstr "Ajouter un gestionnaire (*handler*) pour un signal." -#: ../Doc/library/asyncio-eventloop.rst:679 +#: ../Doc/library/asyncio-eventloop.rst:682 msgid "" "Raise :exc:`ValueError` if the signal number is invalid or uncatchable. " "Raise :exc:`RuntimeError` if there is a problem setting up the handler." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:687 +#: ../Doc/library/asyncio-eventloop.rst:690 msgid "Remove a handler for a signal." msgstr "Supprimer un *handler* pour un signal." -#: ../Doc/library/asyncio-eventloop.rst:689 +#: ../Doc/library/asyncio-eventloop.rst:692 msgid "Return ``True`` if a signal handler was removed, ``False`` if not." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:693 +#: ../Doc/library/asyncio-eventloop.rst:696 msgid "The :mod:`signal` module." msgstr "Le module :mod:`signal`." -#: ../Doc/library/asyncio-eventloop.rst:697 +#: ../Doc/library/asyncio-eventloop.rst:700 msgid "Executor" msgstr "Exécuteur" -#: ../Doc/library/asyncio-eventloop.rst:699 +#: ../Doc/library/asyncio-eventloop.rst:702 msgid "" "Call a function in an :class:`~concurrent.futures.Executor` (pool of threads " "or pool of processes). By default, an event loop uses a thread pool executor " "(:class:`~concurrent.futures.ThreadPoolExecutor`)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:705 +#: ../Doc/library/asyncio-eventloop.rst:708 msgid "Arrange for a *func* to be called in the specified executor." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:707 +#: ../Doc/library/asyncio-eventloop.rst:710 msgid "" "The *executor* argument should be an :class:`~concurrent.futures.Executor` " "instance. The default executor is used if *executor* is ``None``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:710 +#: ../Doc/library/asyncio-eventloop.rst:713 msgid "" ":ref:`Use functools.partial to pass keywords to the *func* `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:715 +#: ../Doc/library/asyncio-eventloop.rst:718 msgid "" ":meth:`BaseEventLoop.run_in_executor` no longer configures the " "``max_workers`` of the thread pool executor it creates, instead leaving it " @@ -920,27 +920,27 @@ msgid "" "ThreadPoolExecutor`) to set the default." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:724 +#: ../Doc/library/asyncio-eventloop.rst:727 msgid "Set the default executor used by :meth:`run_in_executor`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:728 +#: ../Doc/library/asyncio-eventloop.rst:731 msgid "Error Handling API" msgstr "API de gestion d'erreur" -#: ../Doc/library/asyncio-eventloop.rst:730 +#: ../Doc/library/asyncio-eventloop.rst:733 msgid "Allows customizing how exceptions are handled in the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:734 +#: ../Doc/library/asyncio-eventloop.rst:737 msgid "Set *handler* as the new event loop exception handler." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:736 +#: ../Doc/library/asyncio-eventloop.rst:739 msgid "If *handler* is ``None``, the default exception handler will be set." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:739 +#: ../Doc/library/asyncio-eventloop.rst:742 msgid "" "If *handler* is a callable object, it should have a matching signature to " "``(loop, context)``, where ``loop`` will be a reference to the active event " @@ -948,225 +948,225 @@ msgid "" "`call_exception_handler` documentation for details about context)." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:747 +#: ../Doc/library/asyncio-eventloop.rst:750 msgid "Return the exception handler, or ``None`` if the default one is in use." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:754 +#: ../Doc/library/asyncio-eventloop.rst:757 msgid "Default exception handler." msgstr "Gestionnaire d'exception par défaut." -#: ../Doc/library/asyncio-eventloop.rst:756 +#: ../Doc/library/asyncio-eventloop.rst:759 msgid "" "This is called when an exception occurs and no exception handler is set, and " "can be called by a custom exception handler that wants to defer to the " "default behavior." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:760 +#: ../Doc/library/asyncio-eventloop.rst:763 msgid "" "*context* parameter has the same meaning as in :meth:" "`call_exception_handler`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:765 +#: ../Doc/library/asyncio-eventloop.rst:768 msgid "Call the current event loop exception handler." msgstr "" "Appelle le gestionnaire d'exception de la boucle d'évènements actuelle." -#: ../Doc/library/asyncio-eventloop.rst:767 +#: ../Doc/library/asyncio-eventloop.rst:770 msgid "" "*context* is a ``dict`` object containing the following keys (new keys may " "be introduced later):" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:770 +#: ../Doc/library/asyncio-eventloop.rst:773 msgid "'message': Error message;" msgstr "``message`` : Message d'erreur ;" -#: ../Doc/library/asyncio-eventloop.rst:771 +#: ../Doc/library/asyncio-eventloop.rst:774 msgid "'exception' (optional): Exception object;" msgstr "``exception`` (optionnel): Un objet exception ;" -#: ../Doc/library/asyncio-eventloop.rst:772 +#: ../Doc/library/asyncio-eventloop.rst:775 msgid "'future' (optional): :class:`asyncio.Future` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:773 +#: ../Doc/library/asyncio-eventloop.rst:776 msgid "'handle' (optional): :class:`asyncio.Handle` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:774 +#: ../Doc/library/asyncio-eventloop.rst:777 msgid "'protocol' (optional): :ref:`Protocol ` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:775 +#: ../Doc/library/asyncio-eventloop.rst:778 msgid "'transport' (optional): :ref:`Transport ` instance;" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:776 +#: ../Doc/library/asyncio-eventloop.rst:779 msgid "'socket' (optional): :class:`socket.socket` instance." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:780 +#: ../Doc/library/asyncio-eventloop.rst:783 msgid "" "Note: this method should not be overloaded in subclassed event loops. For " "any custom exception handling, use :meth:`set_exception_handler()` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:785 +#: ../Doc/library/asyncio-eventloop.rst:788 msgid "Debug mode" msgstr "Mode débug" -#: ../Doc/library/asyncio-eventloop.rst:789 +#: ../Doc/library/asyncio-eventloop.rst:792 msgid "Get the debug mode (:class:`bool`) of the event loop." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:791 +#: ../Doc/library/asyncio-eventloop.rst:794 msgid "" "The default value is ``True`` if the environment variable :envvar:" "`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False`` otherwise." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:799 +#: ../Doc/library/asyncio-eventloop.rst:802 msgid "Set the debug mode of the event loop." msgstr "Active le mode débug pour la boucle d'évènements." -#: ../Doc/library/asyncio-eventloop.rst:805 +#: ../Doc/library/asyncio-eventloop.rst:808 msgid "The :ref:`debug mode of asyncio `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:808 +#: ../Doc/library/asyncio-eventloop.rst:811 msgid "Server" msgstr "Serveur" -#: ../Doc/library/asyncio-eventloop.rst:812 +#: ../Doc/library/asyncio-eventloop.rst:815 msgid "Server listening on sockets." msgstr "Serveur écoutant sur des *sockets*." -#: ../Doc/library/asyncio-eventloop.rst:814 +#: ../Doc/library/asyncio-eventloop.rst:817 msgid "" "Object created by the :meth:`AbstractEventLoop.create_server` method and " "the :func:`start_server` function. Don't instantiate the class directly." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:819 +#: ../Doc/library/asyncio-eventloop.rst:822 msgid "" "Stop serving: close listening sockets and set the :attr:`sockets` attribute " "to ``None``." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:822 +#: ../Doc/library/asyncio-eventloop.rst:825 msgid "" "The sockets that represent existing incoming client connections are left " "open." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:825 +#: ../Doc/library/asyncio-eventloop.rst:828 msgid "" "The server is closed asynchronously, use the :meth:`wait_closed` coroutine " "to wait until the server is closed." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:830 +#: ../Doc/library/asyncio-eventloop.rst:833 msgid "Wait until the :meth:`close` method completes." msgstr "Attends que la méthode :meth:`close` se termine." -#: ../Doc/library/asyncio-eventloop.rst:836 +#: ../Doc/library/asyncio-eventloop.rst:839 msgid "" "List of :class:`socket.socket` objects the server is listening to, or " "``None`` if the server is closed." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:841 +#: ../Doc/library/asyncio-eventloop.rst:844 msgid "Handle" msgstr "Handle" -#: ../Doc/library/asyncio-eventloop.rst:845 +#: ../Doc/library/asyncio-eventloop.rst:848 msgid "" "A callback wrapper object returned by :func:`AbstractEventLoop.call_soon`, :" "func:`AbstractEventLoop.call_soon_threadsafe`, :func:`AbstractEventLoop." "call_later`, and :func:`AbstractEventLoop.call_at`." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:851 +#: ../Doc/library/asyncio-eventloop.rst:854 msgid "" "Cancel the call. If the callback is already canceled or executed, this " "method has no effect." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:856 +#: ../Doc/library/asyncio-eventloop.rst:859 msgid "Event loop examples" msgstr "Exemples de boucles d'évènements" -#: ../Doc/library/asyncio-eventloop.rst:861 +#: ../Doc/library/asyncio-eventloop.rst:864 msgid "Hello World with call_soon()" msgstr "\"Hello World\" avec ``call_soon()``" -#: ../Doc/library/asyncio-eventloop.rst:863 +#: ../Doc/library/asyncio-eventloop.rst:866 msgid "" "Example using the :meth:`AbstractEventLoop.call_soon` method to schedule a " "callback. The callback displays ``\"Hello World\"`` and then stops the event " "loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:884 +#: ../Doc/library/asyncio-eventloop.rst:887 msgid "" "The :ref:`Hello World coroutine ` example " "uses a :ref:`coroutine `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:891 +#: ../Doc/library/asyncio-eventloop.rst:894 msgid "Display the current date with call_later()" msgstr "Afficher la date actuelle avec ``call_later()``" -#: ../Doc/library/asyncio-eventloop.rst:893 +#: ../Doc/library/asyncio-eventloop.rst:896 msgid "" "Example of callback displaying the current date every second. The callback " "uses the :meth:`AbstractEventLoop.call_later` method to reschedule itself " "during 5 seconds, and then stops the event loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:919 +#: ../Doc/library/asyncio-eventloop.rst:922 msgid "" "The :ref:`coroutine displaying the current date ` " "example uses a :ref:`coroutine `." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:927 +#: ../Doc/library/asyncio-eventloop.rst:930 msgid "Watch a file descriptor for read events" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:929 +#: ../Doc/library/asyncio-eventloop.rst:932 msgid "" "Wait until a file descriptor received some data using the :meth:" "`AbstractEventLoop.add_reader` method and then close the event loop::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:966 +#: ../Doc/library/asyncio-eventloop.rst:969 msgid "" "The :ref:`register an open socket to wait for data using a protocol ` example uses a low-level protocol created by the :meth:" "`AbstractEventLoop.create_connection` method." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:970 +#: ../Doc/library/asyncio-eventloop.rst:973 msgid "" "The :ref:`register an open socket to wait for data using streams ` example uses high-level streams created by the :" "func:`open_connection` function in a coroutine." msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:976 +#: ../Doc/library/asyncio-eventloop.rst:979 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "Définit les gestionnaires de signaux pour *SIGINT* et *SIGTERM*" -#: ../Doc/library/asyncio-eventloop.rst:978 +#: ../Doc/library/asyncio-eventloop.rst:981 msgid "" "Register handlers for signals :py:data:`SIGINT` and :py:data:`SIGTERM` using " "the :meth:`AbstractEventLoop.add_signal_handler` method::" msgstr "" -#: ../Doc/library/asyncio-eventloop.rst:1002 +#: ../Doc/library/asyncio-eventloop.rst:1005 msgid "This example only works on UNIX." msgstr "Cet exemple fonctionne seulement sur UNIX." diff --git a/library/asyncio-eventloops.po b/library/asyncio-eventloops.po index 32254107..909180ee 100644 --- a/library/asyncio-eventloops.po +++ b/library/asyncio-eventloops.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -228,71 +228,89 @@ msgstr "" #: ../Doc/library/asyncio-eventloops.rst:150 msgid "" "For most users of :mod:`asyncio`, policies never have to be dealt with " -"explicitly, since the default global policy is sufficient." +"explicitly, since the default global policy is sufficient (see below)." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:153 msgid "" -"The default policy defines context as the current thread, and manages an " -"event loop per thread that interacts with :mod:`asyncio`. The module-level " -"functions :func:`get_event_loop` and :func:`set_event_loop` provide " -"convenient access to event loops managed by the default policy." +"The module-level functions :func:`get_event_loop` and :func:`set_event_loop` " +"provide convenient access to event loops managed by the default policy." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:160 +#: ../Doc/library/asyncio-eventloops.rst:159 msgid "Event loop policy interface" msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:162 +#: ../Doc/library/asyncio-eventloops.rst:161 msgid "An event loop policy must implement the following interface:" msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:166 +#: ../Doc/library/asyncio-eventloops.rst:165 msgid "Event loop policy." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:170 +#: ../Doc/library/asyncio-eventloops.rst:169 msgid "Get the event loop for the current context." msgstr "Récupére la boucle d'évènements pour le contexte actuel." -#: ../Doc/library/asyncio-eventloops.rst:172 +#: ../Doc/library/asyncio-eventloops.rst:171 msgid "" "Returns an event loop object implementing the :class:`AbstractEventLoop` " "interface." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:175 +#: ../Doc/library/asyncio-eventloops.rst:174 msgid "" "Raises an exception in case no event loop has been set for the current " "context and the current policy does not specify to create one. It must never " "return ``None``." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:181 +#: ../Doc/library/asyncio-eventloops.rst:180 msgid "Set the event loop for the current context to *loop*." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:185 +#: ../Doc/library/asyncio-eventloops.rst:184 msgid "" "Create and return a new event loop object according to this policy's rules." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:188 +#: ../Doc/library/asyncio-eventloops.rst:187 msgid "" "If there's need to set this loop as the event loop for the current context, :" "meth:`set_event_loop` must be called explicitly." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:193 +#: ../Doc/library/asyncio-eventloops.rst:191 +msgid "" +"The default policy defines context as the current thread, and manages an " +"event loop per thread that interacts with :mod:`asyncio`. If the current " +"thread doesn't already have an event loop associated with it, the default " +"policy's :meth:`~AbstractEventLoopPolicy.get_event_loop` method creates one " +"when called from the main thread, but raises :exc:`RuntimeError` otherwise." +msgstr "" + +#: ../Doc/library/asyncio-eventloops.rst:199 msgid "Access to the global loop policy" msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:197 +#: ../Doc/library/asyncio-eventloops.rst:203 msgid "Get the current event loop policy." msgstr "" -#: ../Doc/library/asyncio-eventloops.rst:201 +#: ../Doc/library/asyncio-eventloops.rst:207 msgid "" "Set the current event loop policy. If *policy* is ``None``, the default " "policy is restored." msgstr "" + +#: ../Doc/library/asyncio-eventloops.rst:212 +msgid "Customizing the event loop policy" +msgstr "" + +#: ../Doc/library/asyncio-eventloops.rst:214 +msgid "" +"To implement a new event loop policy, it is recommended you subclass the " +"concrete default event loop policy :class:`DefaultEventLoopPolicy` and " +"override the methods for which you want to change behavior, for example::" +msgstr "" diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 866615bd..cfe6292c 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -256,7 +256,7 @@ msgstr "" #: ../Doc/library/asyncio-task.rst:218 msgid "" "Callbacks registered with :meth:`add_done_callback` are always called via " -"the event loop's :meth:`~AbstractEventLoop.call_soon_threadsafe`." +"the event loop's :meth:`~AbstractEventLoop.call_soon`." msgstr "" #: ../Doc/library/asyncio-task.rst:221 diff --git a/library/cmath.po b/library/cmath.po index b55889e1..856f79b0 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 11:03+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/library/cmath.rst:2 diff --git a/library/cmd.po b/library/cmd.po index d56d7039..51cb471f 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-24 23:10+0200\n" +"Last-Translator: Luka Peschke \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Luka Peschke \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.3\n" #: ../Doc/library/cmd.rst:2 diff --git a/library/collections.abc.po b/library/collections.abc.po index 314373d2..668b65ac 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-05-27 14:00+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -321,27 +321,34 @@ msgid "" msgstr "" #: ../Doc/library/collections.abc.rst:109 -msgid "" -"ABC for classes that provide the :meth:`__iter__` method. See also the " -"definition of :term:`iterable`." +msgid "ABC for classes that provide the :meth:`__iter__` method." msgstr "" -#: ../Doc/library/collections.abc.rst:114 +#: ../Doc/library/collections.abc.rst:111 +msgid "" +"Checking ``isinstance(obj, Iterable)`` detects classes that are registered " +"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does " +"not detect classes that iterate with the :meth:`__getitem__` method. The " +"only reliable way to determine whether an object is :term:`iterable` is to " +"call ``iter(obj)``." +msgstr "" + +#: ../Doc/library/collections.abc.rst:119 msgid "ABC for sized iterable container classes." msgstr "" -#: ../Doc/library/collections.abc.rst:120 +#: ../Doc/library/collections.abc.rst:125 msgid "" "ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:" "`~iterator.__next__` methods. See also the definition of :term:`iterator`." msgstr "" -#: ../Doc/library/collections.abc.rst:126 +#: ../Doc/library/collections.abc.rst:131 msgid "" "ABC for iterable classes that also provide the :meth:`__reversed__` method." msgstr "" -#: ../Doc/library/collections.abc.rst:133 +#: ../Doc/library/collections.abc.rst:138 msgid "" "ABC for generator classes that implement the protocol defined in :pep:`342` " "that extends iterators with the :meth:`~generator.send`, :meth:`~generator." @@ -349,11 +356,11 @@ msgid "" "term:`generator`." msgstr "" -#: ../Doc/library/collections.abc.rst:144 +#: ../Doc/library/collections.abc.rst:149 msgid "ABCs for read-only and mutable :term:`sequences `." msgstr "" -#: ../Doc/library/collections.abc.rst:146 +#: ../Doc/library/collections.abc.rst:151 msgid "" "Implementation note: Some of the mixin methods, such as :meth:`__iter__`, :" "meth:`__reversed__` and :meth:`index`, make repeated calls to the " @@ -364,37 +371,37 @@ msgid "" "likely need to be overridden." msgstr "" -#: ../Doc/library/collections.abc.rst:155 +#: ../Doc/library/collections.abc.rst:160 msgid "The index() method added support for *stop* and *start* arguments." msgstr "" -#: ../Doc/library/collections.abc.rst:162 +#: ../Doc/library/collections.abc.rst:167 msgid "ABCs for read-only and mutable sets." msgstr "" -#: ../Doc/library/collections.abc.rst:167 +#: ../Doc/library/collections.abc.rst:172 msgid "ABCs for read-only and mutable :term:`mappings `." msgstr "" -#: ../Doc/library/collections.abc.rst:174 +#: ../Doc/library/collections.abc.rst:179 msgid "" "ABCs for mapping, items, keys, and values :term:`views `." msgstr "" -#: ../Doc/library/collections.abc.rst:178 +#: ../Doc/library/collections.abc.rst:183 msgid "" "ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " "expressions. Custom implementations must provide the :meth:`__await__` " "method." msgstr "" -#: ../Doc/library/collections.abc.rst:182 +#: ../Doc/library/collections.abc.rst:187 msgid "" ":term:`Coroutine` objects and instances of the :class:`~collections.abc." "Coroutine` ABC are all instances of this ABC." msgstr "" -#: ../Doc/library/collections.abc.rst:186 +#: ../Doc/library/collections.abc.rst:191 msgid "" "In CPython, generator-based coroutines (generators decorated with :func:" "`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " @@ -403,7 +410,7 @@ msgid "" "`inspect.isawaitable` to detect them." msgstr "" -#: ../Doc/library/collections.abc.rst:196 +#: ../Doc/library/collections.abc.rst:201 msgid "" "ABC for coroutine compatible classes. These implement the following " "methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:" @@ -413,7 +420,7 @@ msgid "" "`coroutine`." msgstr "" -#: ../Doc/library/collections.abc.rst:204 +#: ../Doc/library/collections.abc.rst:209 msgid "" "In CPython, generator-based coroutines (generators decorated with :func:" "`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " @@ -422,31 +429,31 @@ msgid "" "`inspect.isawaitable` to detect them." msgstr "" -#: ../Doc/library/collections.abc.rst:214 +#: ../Doc/library/collections.abc.rst:219 msgid "" "ABC for classes that provide ``__aiter__`` method. See also the definition " "of :term:`asynchronous iterable`." msgstr "" -#: ../Doc/library/collections.abc.rst:221 +#: ../Doc/library/collections.abc.rst:226 msgid "" "ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " "also the definition of :term:`asynchronous iterator`." msgstr "" -#: ../Doc/library/collections.abc.rst:228 +#: ../Doc/library/collections.abc.rst:233 msgid "" "ABC for asynchronous generator classes that implement the protocol defined " "in :pep:`525` and :pep:`492`." msgstr "" -#: ../Doc/library/collections.abc.rst:234 +#: ../Doc/library/collections.abc.rst:239 msgid "" "These ABCs allow us to ask classes or instances if they provide particular " "functionality, for example::" msgstr "" -#: ../Doc/library/collections.abc.rst:241 +#: ../Doc/library/collections.abc.rst:246 msgid "" "Several of the ABCs are also useful as mixins that make it easier to develop " "classes supporting container APIs. For example, to write a class supporting " @@ -456,11 +463,11 @@ msgid "" "`__and__` and :meth:`isdisjoint`::" msgstr "" -#: ../Doc/library/collections.abc.rst:270 +#: ../Doc/library/collections.abc.rst:275 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" msgstr "" -#: ../Doc/library/collections.abc.rst:273 +#: ../Doc/library/collections.abc.rst:278 msgid "" "Since some set operations create new sets, the default mixin methods need a " "way to create new instances from an iterable. The class constructor is " @@ -472,14 +479,14 @@ msgid "" "classmethod that can construct new instances from an iterable argument." msgstr "" -#: ../Doc/library/collections.abc.rst:284 +#: ../Doc/library/collections.abc.rst:289 msgid "" "To override the comparisons (presumably for speed, as the semantics are " "fixed), redefine :meth:`__le__` and :meth:`__ge__`, then the other " "operations will automatically follow suit." msgstr "" -#: ../Doc/library/collections.abc.rst:289 +#: ../Doc/library/collections.abc.rst:294 msgid "" "The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash " "value for the set; however, :meth:`__hash__` is not defined because not all " @@ -488,12 +495,12 @@ msgid "" "Set._hash``." msgstr "" -#: ../Doc/library/collections.abc.rst:297 +#: ../Doc/library/collections.abc.rst:302 msgid "" "`OrderedSet recipe `_ for an " "example built on :class:`MutableSet`." msgstr "" -#: ../Doc/library/collections.abc.rst:300 +#: ../Doc/library/collections.abc.rst:305 msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." msgstr "" diff --git a/library/constants.po b/library/constants.po index 10e11d9f..922fbd8f 100644 --- a/library/constants.po +++ b/library/constants.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-24 23:11+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 1.8.7.1\n" #: ../Doc/library/constants.rst:4 diff --git a/library/csv.po b/library/csv.po index bc11781a..60659532 100644 --- a/library/csv.po +++ b/library/csv.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 10:33+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/library/csv.rst:2 diff --git a/library/curses.ascii.po b/library/curses.ascii.po index 61e24f18..0fa2f7e9 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -408,48 +408,47 @@ msgstr "" #: ../Doc/library/curses.ascii.rst:179 msgid "" -"These functions accept either integers or strings; when the argument is a " -"string, it is first converted using the built-in function :func:`ord`." +"These functions accept either integers or single-character strings; when the " +"argument is a string, it is first converted using the built-in function :" +"func:`ord`." msgstr "" #: ../Doc/library/curses.ascii.rst:182 msgid "" -"Note that all these functions check ordinal bit values derived from the " -"first character of the string you pass in; they do not actually know " -"anything about the host machine's character encoding. For functions that " -"know about the character encoding (and handle internationalization properly) " -"see the :mod:`string` module." +"Note that all these functions check ordinal bit values derived from the " +"character of the string you pass in; they do not actually know anything " +"about the host machine's character encoding." msgstr "" -#: ../Doc/library/curses.ascii.rst:188 +#: ../Doc/library/curses.ascii.rst:186 msgid "" "The following two functions take either a single-character string or integer " "byte value; they return a value of the same type." msgstr "" -#: ../Doc/library/curses.ascii.rst:194 +#: ../Doc/library/curses.ascii.rst:192 msgid "Return the ASCII value corresponding to the low 7 bits of *c*." msgstr "" -#: ../Doc/library/curses.ascii.rst:199 +#: ../Doc/library/curses.ascii.rst:197 msgid "" "Return the control character corresponding to the given character (the " "character bit value is bitwise-anded with 0x1f)." msgstr "" -#: ../Doc/library/curses.ascii.rst:205 +#: ../Doc/library/curses.ascii.rst:203 msgid "" "Return the 8-bit character corresponding to the given ASCII character (the " "character bit value is bitwise-ored with 0x80)." msgstr "" -#: ../Doc/library/curses.ascii.rst:208 +#: ../Doc/library/curses.ascii.rst:206 msgid "" "The following function takes either a single-character string or integer " "value; it returns a string." msgstr "" -#: ../Doc/library/curses.ascii.rst:214 +#: ../Doc/library/curses.ascii.rst:212 msgid "" "Return a string representation of the ASCII character *c*. If *c* is " "printable, this string is the character itself. If the character is a " @@ -460,7 +459,7 @@ msgid "" "``'!'`` prepended to the result." msgstr "" -#: ../Doc/library/curses.ascii.rst:224 +#: ../Doc/library/curses.ascii.rst:222 msgid "" "A 33-element string array that contains the ASCII mnemonics for the thirty-" "two ASCII control characters from 0 (NUL) to 0x1f (US), in order, plus the " diff --git a/library/curses.panel.po b/library/curses.panel.po index b81a0c7d..224a038c 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -87,7 +87,8 @@ msgid "Push the panel to the bottom of the stack." msgstr "" #: ../Doc/library/curses.panel.rst:77 -msgid "Returns true if the panel is hidden (not visible), false otherwise." +msgid "" +"Returns ``True`` if the panel is hidden (not visible), ``False`` otherwise." msgstr "" #: ../Doc/library/curses.panel.rst:82 diff --git a/library/curses.po b/library/curses.po index 51476601..98b8bfbc 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:59+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -37,6 +37,18 @@ msgstr "" #: ../Doc/library/curses.rst:24 msgid "" +"Whenever the documentation mentions a *character* it can be specified as an " +"integer, a one-character Unicode string or a one-byte byte string." +msgstr "" + +#: ../Doc/library/curses.rst:27 +msgid "" +"Whenever the documentation mentions a *character string* it can be specified " +"as a Unicode string or a byte string." +msgstr "" + +#: ../Doc/library/curses.rst:32 +msgid "" "Since version 5.4, the ncurses library decides how to interpret non-ASCII " "data using the ``nl_langinfo`` function. That means that you have to call :" "func:`locale.setlocale` in the application and encode Unicode strings using " @@ -44,79 +56,79 @@ msgid "" "default encoding::" msgstr "" -#: ../Doc/library/curses.rst:34 +#: ../Doc/library/curses.rst:42 msgid "Then use *code* as the encoding for :meth:`str.encode` calls." msgstr "" -#: ../Doc/library/curses.rst:39 +#: ../Doc/library/curses.rst:47 msgid "Module :mod:`curses.ascii`" msgstr "Module :mod:`curses.ascii`" -#: ../Doc/library/curses.rst:39 +#: ../Doc/library/curses.rst:47 msgid "" "Utilities for working with ASCII characters, regardless of your locale " "settings." msgstr "" -#: ../Doc/library/curses.rst:42 +#: ../Doc/library/curses.rst:50 msgid "Module :mod:`curses.panel`" msgstr "Module :mod:`curses.panel`" -#: ../Doc/library/curses.rst:42 +#: ../Doc/library/curses.rst:50 msgid "A panel stack extension that adds depth to curses windows." msgstr "" -#: ../Doc/library/curses.rst:45 +#: ../Doc/library/curses.rst:53 msgid "Module :mod:`curses.textpad`" msgstr "Module :mod:`curses.textpad`" -#: ../Doc/library/curses.rst:45 +#: ../Doc/library/curses.rst:53 msgid "" "Editable text widget for curses supporting :program:`Emacs`\\ -like " "bindings." msgstr "" -#: ../Doc/library/curses.rst:49 +#: ../Doc/library/curses.rst:57 msgid ":ref:`curses-howto`" msgstr ":ref:`curses-howto`" -#: ../Doc/library/curses.rst:48 +#: ../Doc/library/curses.rst:56 msgid "" "Tutorial material on using curses with Python, by Andrew Kuchling and Eric " "Raymond." msgstr "" -#: ../Doc/library/curses.rst:51 +#: ../Doc/library/curses.rst:59 msgid "" "The :source:`Tools/demo/` directory in the Python source distribution " "contains some example programs using the curses bindings provided by this " "module." msgstr "" -#: ../Doc/library/curses.rst:58 +#: ../Doc/library/curses.rst:66 msgid "Functions" msgstr "Fonctions" -#: ../Doc/library/curses.rst:60 +#: ../Doc/library/curses.rst:68 msgid "The module :mod:`curses` defines the following exception:" msgstr "" -#: ../Doc/library/curses.rst:65 +#: ../Doc/library/curses.rst:73 msgid "Exception raised when a curses library function returns an error." msgstr "" -#: ../Doc/library/curses.rst:69 +#: ../Doc/library/curses.rst:77 msgid "" "Whenever *x* or *y* arguments to a function or a method are optional, they " "default to the current cursor location. Whenever *attr* is optional, it " "defaults to :const:`A_NORMAL`." msgstr "" -#: ../Doc/library/curses.rst:73 +#: ../Doc/library/curses.rst:81 msgid "The module :mod:`curses` defines the following functions:" msgstr "" -#: ../Doc/library/curses.rst:78 +#: ../Doc/library/curses.rst:86 msgid "" "Return the output speed of the terminal in bits per second. On software " "terminal emulators it will have a fixed high value. Included for historical " @@ -124,17 +136,17 @@ msgid "" "and occasionally to change interfaces depending on the line speed." msgstr "" -#: ../Doc/library/curses.rst:86 +#: ../Doc/library/curses.rst:94 msgid "Emit a short attention sound." msgstr "" -#: ../Doc/library/curses.rst:91 +#: ../Doc/library/curses.rst:99 msgid "" "Return ``True`` or ``False``, depending on whether the programmer can change " "the colors displayed by the terminal." msgstr "" -#: ../Doc/library/curses.rst:97 +#: ../Doc/library/curses.rst:105 msgid "" "Enter cbreak mode. In cbreak mode (sometimes called \"rare\" mode) normal " "tty line buffering is turned off and characters are available to be read one " @@ -144,16 +156,16 @@ msgid "" "terminal in cbreak mode." msgstr "" -#: ../Doc/library/curses.rst:106 +#: ../Doc/library/curses.rst:114 msgid "" "Return the intensity of the red, green, and blue (RGB) components in the " -"color *color_number*, which must be between ``0`` and :const:`COLORS`. A 3-" -"tuple is returned, containing the R,G,B values for the given color, which " +"color *color_number*, which must be between ``0`` and :const:`COLORS`. " +"Return a 3-tuple, containing the R,G,B values for the given color, which " "will be between ``0`` (no component) and ``1000`` (maximum amount of " "component)." msgstr "" -#: ../Doc/library/curses.rst:114 +#: ../Doc/library/curses.rst:122 msgid "" "Return the attribute value for displaying text in the specified color. This " "attribute value can be combined with :const:`A_STANDOUT`, :const:" @@ -161,16 +173,16 @@ msgid "" "is the counterpart to this function." msgstr "" -#: ../Doc/library/curses.rst:122 +#: ../Doc/library/curses.rst:130 msgid "" -"Set the cursor state. *visibility* can be set to 0, 1, or 2, for invisible, " -"normal, or very visible. If the terminal supports the visibility requested, " -"the previous cursor state is returned; otherwise, an exception is raised. " -"On many terminals, the \"visible\" mode is an underline cursor and the " -"\"very visible\" mode is a block cursor." +"Set the cursor state. *visibility* can be set to ``0``, ``1``, or ``2``, " +"for invisible, normal, or very visible. If the terminal supports the " +"visibility requested, return the previous cursor state; otherwise raise an " +"exception. On many terminals, the \"visible\" mode is an underline cursor " +"and the \"very visible\" mode is a block cursor." msgstr "" -#: ../Doc/library/curses.rst:131 +#: ../Doc/library/curses.rst:139 msgid "" "Save the current terminal mode as the \"program\" mode, the mode when the " "running program is using curses. (Its counterpart is the \"shell\" mode, " @@ -178,7 +190,7 @@ msgid "" "`reset_prog_mode` will restore this mode." msgstr "" -#: ../Doc/library/curses.rst:139 +#: ../Doc/library/curses.rst:147 msgid "" "Save the current terminal mode as the \"shell\" mode, the mode when the " "running program is not using curses. (Its counterpart is the \"program\" " @@ -186,11 +198,11 @@ msgid "" "func:`reset_shell_mode` will restore this mode." msgstr "" -#: ../Doc/library/curses.rst:147 +#: ../Doc/library/curses.rst:155 msgid "Insert an *ms* millisecond pause in output." msgstr "" -#: ../Doc/library/curses.rst:152 +#: ../Doc/library/curses.rst:160 msgid "" "Update the physical screen. The curses library keeps two data structures, " "one representing the current physical screen contents and a virtual screen " @@ -198,98 +210,101 @@ msgid "" "the physical screen to match the virtual screen." msgstr "" -#: ../Doc/library/curses.rst:157 +#: ../Doc/library/curses.rst:165 msgid "" -"The virtual screen may be updated by a :meth:`noutrefresh` call after write " -"operations such as :meth:`addstr` have been performed on a window. The " -"normal :meth:`refresh` call is simply :meth:`noutrefresh` followed by :func:" -"`doupdate`; if you have to update multiple windows, you can speed " -"performance and perhaps reduce screen flicker by issuing :meth:`noutrefresh` " -"calls on all windows, followed by a single :func:`doupdate`." +"The virtual screen may be updated by a :meth:`~window.noutrefresh` call " +"after write operations such as :meth:`~window.addstr` have been performed on " +"a window. The normal :meth:`~window.refresh` call is simply :meth:`!" +"noutrefresh` followed by :func:`!doupdate`; if you have to update multiple " +"windows, you can speed performance and perhaps reduce screen flicker by " +"issuing :meth:`!noutrefresh` calls on all windows, followed by a single :" +"func:`!doupdate`." msgstr "" -#: ../Doc/library/curses.rst:167 +#: ../Doc/library/curses.rst:175 msgid "" "Enter echo mode. In echo mode, each character input is echoed to the screen " "as it is entered." msgstr "" -#: ../Doc/library/curses.rst:173 +#: ../Doc/library/curses.rst:181 msgid "De-initialize the library, and return terminal to normal status." msgstr "" -#: ../Doc/library/curses.rst:178 +#: ../Doc/library/curses.rst:186 msgid "" -"Return the user's current erase character. Under Unix operating systems " -"this is a property of the controlling tty of the curses program, and is not " -"set by the curses library itself." +"Return the user's current erase character as a one-byte bytes object. Under " +"Unix operating systems this is a property of the controlling tty of the " +"curses program, and is not set by the curses library itself." msgstr "" -#: ../Doc/library/curses.rst:185 +#: ../Doc/library/curses.rst:193 msgid "" "The :func:`.filter` routine, if used, must be called before :func:`initscr` " "is called. The effect is that, during those calls, :envvar:`LINES` is set " -"to 1; the capabilities clear, cup, cud, cud1, cuu1, cuu, vpa are disabled; " -"and the home string is set to the value of cr. The effect is that the cursor " -"is confined to the current line, and so are screen updates. This may be " -"used for enabling character-at-a-time line editing without touching the " -"rest of the screen." +"to ``1``; the capabilities ``clear``, ``cup``, ``cud``, ``cud1``, ``cuu1``, " +"``cuu``, ``vpa`` are disabled; and the ``home`` string is set to the value " +"of ``cr``. The effect is that the cursor is confined to the current line, " +"and so are screen updates. This may be used for enabling character-at-a-" +"time line editing without touching the rest of the screen." msgstr "" -#: ../Doc/library/curses.rst:195 +#: ../Doc/library/curses.rst:203 msgid "" "Flash the screen. That is, change it to reverse-video and then change it " "back in a short interval. Some people prefer such as 'visible bell' to the " "audible attention signal produced by :func:`beep`." msgstr "" -#: ../Doc/library/curses.rst:202 +#: ../Doc/library/curses.rst:210 msgid "" "Flush all input buffers. This throws away any typeahead that has been " "typed by the user and has not yet been processed by the program." msgstr "" -#: ../Doc/library/curses.rst:208 +#: ../Doc/library/curses.rst:216 msgid "" -"After :meth:`getch` returns :const:`KEY_MOUSE` to signal a mouse event, this " -"method should be call to retrieve the queued mouse event, represented as a 5-" -"tuple ``(id, x, y, z, bstate)``. *id* is an ID value used to distinguish " -"multiple devices, and *x*, *y*, *z* are the event's coordinates. (*z* is " -"currently unused.) *bstate* is an integer value whose bits will be set to " -"indicate the type of event, and will be the bitwise OR of one or more of the " -"following constants, where *n* is the button number from 1 to 4: :const:" -"`BUTTONn_PRESSED`, :const:`BUTTONn_RELEASED`, :const:`BUTTONn_CLICKED`, :" -"const:`BUTTONn_DOUBLE_CLICKED`, :const:`BUTTONn_TRIPLE_CLICKED`, :const:" -"`BUTTON_SHIFT`, :const:`BUTTON_CTRL`, :const:`BUTTON_ALT`." +"After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse " +"event, this method should be call to retrieve the queued mouse event, " +"represented as a 5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used " +"to distinguish multiple devices, and *x*, *y*, *z* are the event's " +"coordinates. (*z* is currently unused.) *bstate* is an integer value whose " +"bits will be set to indicate the type of event, and will be the bitwise OR " +"of one or more of the following constants, where *n* is the button number " +"from 1 to 4: :const:`BUTTONn_PRESSED`, :const:`BUTTONn_RELEASED`, :const:" +"`BUTTONn_CLICKED`, :const:`BUTTONn_DOUBLE_CLICKED`, :const:" +"`BUTTONn_TRIPLE_CLICKED`, :const:`BUTTON_SHIFT`, :const:`BUTTON_CTRL`, :" +"const:`BUTTON_ALT`." msgstr "" -#: ../Doc/library/curses.rst:222 +#: ../Doc/library/curses.rst:230 msgid "" -"Return the current coordinates of the virtual screen cursor in y and x. If " -"leaveok is currently true, then -1,-1 is returned." +"Return the current coordinates of the virtual screen cursor as a tuple ``(y, " +"x)``. If :meth:`leaveok ` is currently ``True``, then " +"return ``(-1, -1)``." msgstr "" -#: ../Doc/library/curses.rst:228 +#: ../Doc/library/curses.rst:236 msgid "" "Read window related data stored in the file by an earlier :func:`putwin` " "call. The routine then creates and initializes a new window using that data, " "returning the new window object." msgstr "" -#: ../Doc/library/curses.rst:235 +#: ../Doc/library/curses.rst:243 msgid "" "Return ``True`` if the terminal can display colors; otherwise, return " "``False``." msgstr "" -#: ../Doc/library/curses.rst:240 +#: ../Doc/library/curses.rst:248 msgid "" "Return ``True`` if the terminal has insert- and delete-character " "capabilities. This function is included for historical reasons only, as all " "modern software terminal emulators have such capabilities." msgstr "" -#: ../Doc/library/curses.rst:247 +#: ../Doc/library/curses.rst:255 msgid "" "Return ``True`` if the terminal has insert- and delete-line capabilities, or " "can simulate them using scrolling regions. This function is included for " @@ -297,22 +312,22 @@ msgid "" "capabilities." msgstr "" -#: ../Doc/library/curses.rst:255 +#: ../Doc/library/curses.rst:263 msgid "" "Take a key value *ch*, and return ``True`` if the current terminal type " "recognizes a key with that value." msgstr "" -#: ../Doc/library/curses.rst:261 +#: ../Doc/library/curses.rst:269 msgid "" "Used for half-delay mode, which is similar to cbreak mode in that characters " "typed by the user are immediately available to the program. However, after " -"blocking for *tenths* tenths of seconds, an exception is raised if nothing " -"has been typed. The value of *tenths* must be a number between ``1`` and " +"blocking for *tenths* tenths of seconds, raise an exception if nothing has " +"been typed. The value of *tenths* must be a number between ``1`` and " "``255``. Use :func:`nocbreak` to leave half-delay mode." msgstr "" -#: ../Doc/library/curses.rst:270 +#: ../Doc/library/curses.rst:278 msgid "" "Change the definition of a color, taking the number of the color to be " "changed followed by three RGB values (for the amounts of red, green, and " @@ -321,10 +336,10 @@ msgid "" "``1000``. When :func:`init_color` is used, all occurrences of that color on " "the screen immediately change to the new definition. This function is a no-" "op on most terminals; it is active only if :func:`can_change_color` returns " -"``1``." +"``True``." msgstr "" -#: ../Doc/library/curses.rst:281 +#: ../Doc/library/curses.rst:289 msgid "" "Change the definition of a color-pair. It takes three arguments: the number " "of the color-pair to be changed, the foreground color number, and the " @@ -336,61 +351,62 @@ msgid "" "to the new definition." msgstr "" -#: ../Doc/library/curses.rst:293 +#: ../Doc/library/curses.rst:301 msgid "" "Initialize the library. Return a :ref:`window ` " "object which represents the whole screen." msgstr "" -#: ../Doc/library/curses.rst:298 +#: ../Doc/library/curses.rst:306 msgid "" "If there is an error opening the terminal, the underlying curses library may " "cause the interpreter to exit." msgstr "" -#: ../Doc/library/curses.rst:304 +#: ../Doc/library/curses.rst:312 msgid "" "Return ``True`` if :func:`resize_term` would modify the window structure, " "``False`` otherwise." msgstr "" -#: ../Doc/library/curses.rst:310 +#: ../Doc/library/curses.rst:318 msgid "" "Return ``True`` if :func:`endwin` has been called (that is, the curses " "library has been deinitialized)." msgstr "" -#: ../Doc/library/curses.rst:316 +#: ../Doc/library/curses.rst:324 msgid "" -"Return the name of the key numbered *k*. The name of a key generating " -"printable ASCII character is the key's character. The name of a control-key " -"combination is a two-character string consisting of a caret followed by the " -"corresponding printable ASCII character. The name of an alt-key combination " -"(128--255) is a string consisting of the prefix 'M-' followed by the name of " -"the corresponding ASCII character." +"Return the name of the key numbered *k* as a bytes object. The name of a " +"key generating printable ASCII character is the key's character. The name " +"of a control-key combination is a two-byte bytes object consisting of a " +"caret (``b'^'``) followed by the corresponding printable ASCII character. " +"The name of an alt-key combination (128--255) is a bytes object consisting " +"of the prefix ``b'M-'`` followed by the name of the corresponding ASCII " +"character." msgstr "" -#: ../Doc/library/curses.rst:326 +#: ../Doc/library/curses.rst:334 msgid "" -"Return the user's current line kill character. Under Unix operating systems " -"this is a property of the controlling tty of the curses program, and is not " -"set by the curses library itself." +"Return the user's current line kill character as a one-byte bytes object. " +"Under Unix operating systems this is a property of the controlling tty of " +"the curses program, and is not set by the curses library itself." msgstr "" -#: ../Doc/library/curses.rst:333 +#: ../Doc/library/curses.rst:341 msgid "" -"Return a string containing the terminfo long name field describing the " +"Return a bytes object containing the terminfo long name field describing the " "current terminal. The maximum length of a verbose description is 128 " "characters. It is defined only after the call to :func:`initscr`." msgstr "" -#: ../Doc/library/curses.rst:340 +#: ../Doc/library/curses.rst:348 msgid "" -"If *yes* is 1, allow 8-bit characters to be input. If *yes* is 0, allow " -"only 7-bit chars." +"If *flag* is ``True``, allow 8-bit characters to be input. If *flag* is " +"``False``, allow only 7-bit chars." msgstr "" -#: ../Doc/library/curses.rst:346 +#: ../Doc/library/curses.rst:354 msgid "" "Set the maximum time in milliseconds that can elapse between press and " "release events in order for them to be recognized as a click, and return the " @@ -398,69 +414,70 @@ msgid "" "second." msgstr "" -#: ../Doc/library/curses.rst:353 +#: ../Doc/library/curses.rst:361 msgid "" "Set the mouse events to be reported, and return a tuple ``(availmask, " "oldmask)``. *availmask* indicates which of the specified mouse events can " -"be reported; on complete failure it returns 0. *oldmask* is the previous " -"value of the given window's mouse event mask. If this function is never " -"called, no mouse events are ever reported." -msgstr "" - -#: ../Doc/library/curses.rst:362 -msgid "Sleep for *ms* milliseconds." -msgstr "" - -#: ../Doc/library/curses.rst:367 -msgid "" -"Create and return a pointer to a new pad data structure with the given " -"number of lines and columns. A pad is returned as a window object." +"be reported; on complete failure it returns ``0``. *oldmask* is the " +"previous value of the given window's mouse event mask. If this function is " +"never called, no mouse events are ever reported." msgstr "" #: ../Doc/library/curses.rst:370 +msgid "Sleep for *ms* milliseconds." +msgstr "" + +#: ../Doc/library/curses.rst:375 +msgid "" +"Create and return a pointer to a new pad data structure with the given " +"number of lines and columns. Return a pad as a window object." +msgstr "" + +#: ../Doc/library/curses.rst:378 msgid "" "A pad is like a window, except that it is not restricted by the screen size, " "and is not necessarily associated with a particular part of the screen. " "Pads can be used when a large window is needed, and only a part of the " "window will be on the screen at one time. Automatic refreshes of pads (such " -"as from scrolling or echoing of input) do not occur. The :meth:`refresh` " -"and :meth:`noutrefresh` methods of a pad require 6 arguments to specify the " -"part of the pad to be displayed and the location on the screen to be used " -"for the display. The arguments are *pminrow*, *pmincol*, *sminrow*, " -"*smincol*, *smaxrow*, *smaxcol*; the *p* arguments refer to the upper left " -"corner of the pad region to be displayed and the *s* arguments define a " -"clipping box on the screen within which the pad region is to be displayed." +"as from scrolling or echoing of input) do not occur. The :meth:`~window." +"refresh` and :meth:`~window.noutrefresh` methods of a pad require 6 " +"arguments to specify the part of the pad to be displayed and the location on " +"the screen to be used for the display. The arguments are *pminrow*, " +"*pmincol*, *sminrow*, *smincol*, *smaxrow*, *smaxcol*; the *p* arguments " +"refer to the upper left corner of the pad region to be displayed and the *s* " +"arguments define a clipping box on the screen within which the pad region is " +"to be displayed." msgstr "" -#: ../Doc/library/curses.rst:386 +#: ../Doc/library/curses.rst:394 msgid "" "Return a new :ref:`window `, whose left-upper corner " "is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*." msgstr "" -#: ../Doc/library/curses.rst:389 +#: ../Doc/library/curses.rst:397 msgid "" "By default, the window will extend from the specified position to the lower " "right corner of the screen." msgstr "" -#: ../Doc/library/curses.rst:395 +#: ../Doc/library/curses.rst:403 msgid "" "Enter newline mode. This mode translates the return key into newline on " "input, and translates newline into return and line-feed on output. Newline " "mode is initially on." msgstr "" -#: ../Doc/library/curses.rst:402 +#: ../Doc/library/curses.rst:410 msgid "" "Leave cbreak mode. Return to normal \"cooked\" mode with line buffering." msgstr "" -#: ../Doc/library/curses.rst:407 +#: ../Doc/library/curses.rst:415 msgid "Leave echo mode. Echoing of input characters is turned off." msgstr "" -#: ../Doc/library/curses.rst:412 +#: ../Doc/library/curses.rst:420 msgid "" "Leave newline mode. Disable translation of return into newline on input, " "and disable low-level translation of newline into newline/return on output " @@ -470,116 +487,117 @@ msgid "" "also, it will be able to detect the return key on input." msgstr "" -#: ../Doc/library/curses.rst:422 +#: ../Doc/library/curses.rst:430 msgid "" -"When the :func:`noqiflush` routine is used, normal flush of input and output " -"queues associated with the INTR, QUIT and SUSP characters will not be done. " -"You may want to call :func:`noqiflush` in a signal handler if you want " -"output to continue as though the interrupt had not occurred, after the " -"handler exits." +"When the :func:`!noqiflush` routine is used, normal flush of input and " +"output queues associated with the ``INTR``, ``QUIT`` and ``SUSP`` characters " +"will not be done. You may want to call :func:`!noqiflush` in a signal " +"handler if you want output to continue as though the interrupt had not " +"occurred, after the handler exits." msgstr "" -#: ../Doc/library/curses.rst:430 +#: ../Doc/library/curses.rst:438 msgid "Leave raw mode. Return to normal \"cooked\" mode with line buffering." msgstr "" -#: ../Doc/library/curses.rst:435 +#: ../Doc/library/curses.rst:443 msgid "" "Return a tuple ``(fg, bg)`` containing the colors for the requested color " "pair. The value of *pair_number* must be between ``1`` and ``COLOR_PAIRS - " "1``." msgstr "" -#: ../Doc/library/curses.rst:441 +#: ../Doc/library/curses.rst:449 msgid "" "Return the number of the color-pair set by the attribute value *attr*. :func:" "`color_pair` is the counterpart to this function." msgstr "" -#: ../Doc/library/curses.rst:447 +#: ../Doc/library/curses.rst:455 msgid "" "Equivalent to ``tputs(str, 1, putchar)``; emit the value of a specified " "terminfo capability for the current terminal. Note that the output of :func:" "`putp` always goes to standard output." msgstr "" -#: ../Doc/library/curses.rst:454 +#: ../Doc/library/curses.rst:462 msgid "" "If *flag* is ``False``, the effect is the same as calling :func:`noqiflush`. " "If *flag* is ``True``, or no argument is provided, the queues will be " "flushed when these control characters are read." msgstr "" -#: ../Doc/library/curses.rst:461 +#: ../Doc/library/curses.rst:469 msgid "" "Enter raw mode. In raw mode, normal line buffering and processing of " "interrupt, quit, suspend, and flow control keys are turned off; characters " "are presented to curses input functions one by one." msgstr "" -#: ../Doc/library/curses.rst:468 +#: ../Doc/library/curses.rst:476 msgid "" "Restore the terminal to \"program\" mode, as previously saved by :func:" "`def_prog_mode`." msgstr "" -#: ../Doc/library/curses.rst:474 +#: ../Doc/library/curses.rst:482 msgid "" "Restore the terminal to \"shell\" mode, as previously saved by :func:" "`def_shell_mode`." msgstr "" -#: ../Doc/library/curses.rst:480 +#: ../Doc/library/curses.rst:488 msgid "" "Restore the state of the terminal modes to what it was at the last call to :" "func:`savetty`." msgstr "" -#: ../Doc/library/curses.rst:486 +#: ../Doc/library/curses.rst:494 msgid "" "Backend function used by :func:`resizeterm`, performing most of the work; " "when resizing the windows, :func:`resize_term` blank-fills the areas that " "are extended. The calling application should fill in these areas with " -"appropriate data. The :func:`resize_term` function attempts to resize all " +"appropriate data. The :func:`!resize_term` function attempts to resize all " "windows. However, due to the calling convention of pads, it is not possible " "to resize these without additional interaction with the application." msgstr "" -#: ../Doc/library/curses.rst:496 +#: ../Doc/library/curses.rst:504 msgid "" "Resize the standard and current windows to the specified dimensions, and " "adjusts other bookkeeping data used by the curses library that record the " "window dimensions (in particular the SIGWINCH handler)." msgstr "" -#: ../Doc/library/curses.rst:503 +#: ../Doc/library/curses.rst:511 msgid "" "Save the current state of the terminal modes in a buffer, usable by :func:" "`resetty`." msgstr "" -#: ../Doc/library/curses.rst:509 +#: ../Doc/library/curses.rst:517 msgid "" -"Set the virtual screen cursor to *y*, *x*. If *y* and *x* are both -1, then " -"leaveok is set." -msgstr "" - -#: ../Doc/library/curses.rst:515 -msgid "" -"Initialize the terminal. *termstr* is a string giving the terminal name; if " -"omitted, the value of the :envvar:`TERM` environment variable will be used. " -"*fd* is the file descriptor to which any initialization sequences will be " -"sent; if not supplied, the file descriptor for ``sys.stdout`` will be used." +"Set the virtual screen cursor to *y*, *x*. If *y* and *x* are both ``-1``, " +"then :meth:`leaveok ` is set ``True``." msgstr "" #: ../Doc/library/curses.rst:523 msgid "" +"Initialize the terminal. *term* is a string giving the terminal name, or " +"``None``; if omitted or ``None``, the value of the :envvar:`TERM` " +"environment variable will be used. *fd* is the file descriptor to which any " +"initialization sequences will be sent; if not supplied or ``-1``, the file " +"descriptor for ``sys.stdout`` will be used." +msgstr "" + +#: ../Doc/library/curses.rst:532 +msgid "" "Must be called if the programmer wants to use colors, and before any other " "color manipulation routine is called. It is good practice to call this " "routine right after :func:`initscr`." msgstr "" -#: ../Doc/library/curses.rst:527 +#: ../Doc/library/curses.rst:536 msgid "" ":func:`start_color` initializes eight basic colors (black, red, green, " "yellow, blue, magenta, cyan, and white), and two global variables in the :" @@ -589,57 +607,58 @@ msgid "" "terminal was just turned on." msgstr "" -#: ../Doc/library/curses.rst:536 +#: ../Doc/library/curses.rst:545 msgid "" "Return a logical OR of all video attributes supported by the terminal. This " "information is useful when a curses program needs complete control over the " "appearance of the screen." msgstr "" -#: ../Doc/library/curses.rst:543 +#: ../Doc/library/curses.rst:552 msgid "" -"Return the value of the environment variable :envvar:`TERM`, truncated to 14 " -"characters." +"Return the value of the environment variable :envvar:`TERM`, as a bytes " +"object, truncated to 14 characters." msgstr "" -#: ../Doc/library/curses.rst:548 +#: ../Doc/library/curses.rst:558 msgid "" "Return the value of the Boolean capability corresponding to the terminfo " -"capability name *capname*. The value ``-1`` is returned if *capname* is not " -"a Boolean capability, or ``0`` if it is canceled or absent from the terminal " -"description." +"capability name *capname* as an integer. Return the value ``-1`` if " +"*capname* is not a Boolean capability, or ``0`` if it is canceled or absent " +"from the terminal description." msgstr "" -#: ../Doc/library/curses.rst:556 +#: ../Doc/library/curses.rst:566 msgid "" "Return the value of the numeric capability corresponding to the terminfo " -"capability name *capname*. The value ``-2`` is returned if *capname* is not " -"a numeric capability, or ``-1`` if it is canceled or absent from the " +"capability name *capname* as an integer. Return the value ``-2`` if " +"*capname* is not a numeric capability, or ``-1`` if it is canceled or absent " +"from the terminal description." +msgstr "" + +#: ../Doc/library/curses.rst:574 +msgid "" +"Return the value of the string capability corresponding to the terminfo " +"capability name *capname* as a bytes object. Return ``None`` if *capname* " +"is not a terminfo \"string capability\", or is canceled or absent from the " "terminal description." msgstr "" -#: ../Doc/library/curses.rst:564 +#: ../Doc/library/curses.rst:582 msgid "" -"Return the value of the string capability corresponding to the terminfo " -"capability name *capname*. ``None`` is returned if *capname* is not a " -"string capability, or is canceled or absent from the terminal description." -msgstr "" - -#: ../Doc/library/curses.rst:571 -msgid "" -"Instantiate the string *str* with the supplied parameters, where *str* " +"Instantiate the bytes object *str* with the supplied parameters, where *str* " "should be a parameterized string obtained from the terminfo database. E.g. " "``tparm(tigetstr(\"cup\"), 5, 3)`` could result in ``b'\\033[6;4H'``, the " "exact result depending on terminal type." msgstr "" -#: ../Doc/library/curses.rst:579 +#: ../Doc/library/curses.rst:590 msgid "" "Specify that the file descriptor *fd* be used for typeahead checking. If " "*fd* is ``-1``, then no typeahead checking is done." msgstr "" -#: ../Doc/library/curses.rst:582 +#: ../Doc/library/curses.rst:593 msgid "" "The curses library does \"line-breakout optimization\" by looking for " "typeahead periodically while updating the screen. If input is found, and it " @@ -649,42 +668,43 @@ msgid "" "typeahead checking." msgstr "" -#: ../Doc/library/curses.rst:591 -msgid "" -"Return a string which is a printable representation of the character *ch*. " -"Control characters are displayed as a caret followed by the character, for " -"example as ``^C``. Printing characters are left as they are." -msgstr "" - -#: ../Doc/library/curses.rst:598 -msgid "Push *ch* so the next :meth:`getch` will return it." -msgstr "" - #: ../Doc/library/curses.rst:602 -msgid "Only one *ch* can be pushed before :meth:`getch` is called." +msgid "" +"Return a bytes object which is a printable representation of the character " +"*ch*. Control characters are represented as a caret followed by the " +"character, for example as ``b'^C'``. Printing characters are left as they " +"are." msgstr "" -#: ../Doc/library/curses.rst:607 +#: ../Doc/library/curses.rst:609 +msgid "Push *ch* so the next :meth:`~window.getch` will return it." +msgstr "" + +#: ../Doc/library/curses.rst:613 +msgid "Only one *ch* can be pushed before :meth:`!getch` is called." +msgstr "" + +#: ../Doc/library/curses.rst:618 msgid "" "Update :envvar:`LINES` and :envvar:`COLS`. Useful for detecting manual " "screen resize." msgstr "" -#: ../Doc/library/curses.rst:614 -msgid "Push *ch* so the next :meth:`get_wch` will return it." -msgstr "" - -#: ../Doc/library/curses.rst:618 -msgid "Only one *ch* can be pushed before :meth:`get_wch` is called." -msgstr "" - #: ../Doc/library/curses.rst:625 +msgid "Push *ch* so the next :meth:`~window.get_wch` will return it." +msgstr "" + +#: ../Doc/library/curses.rst:629 +msgid "Only one *ch* can be pushed before :meth:`!get_wch` is called." +msgstr "" + +#: ../Doc/library/curses.rst:636 msgid "" "Push a :const:`KEY_MOUSE` event onto the input queue, associating the given " "state data with it." msgstr "" -#: ../Doc/library/curses.rst:631 +#: ../Doc/library/curses.rst:642 msgid "" "If used, this function should be called before :func:`initscr` or newterm " "are called. When *flag* is ``False``, the values of lines and columns " @@ -694,104 +714,96 @@ msgid "" "to use the window size if :envvar:`LINES` and :envvar:`COLUMNS` are not set)." msgstr "" -#: ../Doc/library/curses.rst:641 +#: ../Doc/library/curses.rst:652 msgid "" "Allow use of default values for colors on terminals supporting this feature. " "Use this to support transparency in your application. The default color is " -"assigned to the color number -1. After calling this function, " +"assigned to the color number ``-1``. After calling this function, " "``init_pair(x, curses.COLOR_RED, -1)`` initializes, for instance, color pair " "*x* to a red foreground color on the default background." msgstr "" -#: ../Doc/library/curses.rst:650 +#: ../Doc/library/curses.rst:661 msgid "" "Initialize curses and call another callable object, *func*, which should be " "the rest of your curses-using application. If the application raises an " "exception, this function will restore the terminal to a sane state before re-" "raising the exception and generating a traceback. The callable object " "*func* is then passed the main window 'stdscr' as its first argument, " -"followed by any other arguments passed to :func:`wrapper`. Before calling " -"*func*, :func:`wrapper` turns on cbreak mode, turns off echo, enables the " +"followed by any other arguments passed to :func:`!wrapper`. Before calling " +"*func*, :func:`!wrapper` turns on cbreak mode, turns off echo, enables the " "terminal keypad, and initializes colors if the terminal has color support. " "On exit (whether normally or by exception) it restores cooked mode, turns on " "echo, and disables the terminal keypad." msgstr "" -#: ../Doc/library/curses.rst:664 +#: ../Doc/library/curses.rst:675 msgid "Window Objects" msgstr "" -#: ../Doc/library/curses.rst:666 +#: ../Doc/library/curses.rst:677 msgid "" "Window objects, as returned by :func:`initscr` and :func:`newwin` above, " "have the following methods and attributes:" msgstr "" -#: ../Doc/library/curses.rst:675 -msgid "" -"A *character* means a C character (an ASCII code), rather than a Python " -"character (a string of length 1). (This note is true whenever the " -"documentation mentions a character.) The built-in :func:`ord` is handy for " -"conveying strings to codes." -msgstr "" - -#: ../Doc/library/curses.rst:680 +#: ../Doc/library/curses.rst:684 msgid "" "Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any " "character previously painter at that location. By default, the character " "position and attributes are the current settings for the window object." msgstr "" -#: ../Doc/library/curses.rst:688 +#: ../Doc/library/curses.rst:692 msgid "" -"Paint at most *n* characters of the string *str* at ``(y, x)`` with " -"attributes *attr*, overwriting anything previously on the display." +"Paint at most *n* characters of the character string *str* at ``(y, x)`` " +"with attributes *attr*, overwriting anything previously on the display." msgstr "" -#: ../Doc/library/curses.rst:695 +#: ../Doc/library/curses.rst:700 msgid "" -"Paint the string *str* at ``(y, x)`` with attributes *attr*, overwriting " -"anything previously on the display." +"Paint the character string *str* at ``(y, x)`` with attributes *attr*, " +"overwriting anything previously on the display." msgstr "" -#: ../Doc/library/curses.rst:701 +#: ../Doc/library/curses.rst:706 msgid "" "Remove attribute *attr* from the \"background\" set applied to all writes to " "the current window." msgstr "" -#: ../Doc/library/curses.rst:707 +#: ../Doc/library/curses.rst:712 msgid "" "Add attribute *attr* from the \"background\" set applied to all writes to " "the current window." msgstr "" -#: ../Doc/library/curses.rst:713 +#: ../Doc/library/curses.rst:718 msgid "" -"Set the \"background\" set of attributes to *attr*. This set is initially 0 " -"(no attributes)." +"Set the \"background\" set of attributes to *attr*. This set is initially " +"``0`` (no attributes)." msgstr "" -#: ../Doc/library/curses.rst:719 +#: ../Doc/library/curses.rst:724 msgid "" "Set the background property of the window to the character *ch*, with " "attributes *attr*. The change is then applied to every character position " "in that window:" msgstr "" -#: ../Doc/library/curses.rst:723 +#: ../Doc/library/curses.rst:728 msgid "" "The attribute of every character in the window is changed to the new " "background attribute." msgstr "" -#: ../Doc/library/curses.rst:726 +#: ../Doc/library/curses.rst:731 msgid "" "Wherever the former background character appears, it is changed to the new " "background character." msgstr "" -#: ../Doc/library/curses.rst:732 +#: ../Doc/library/curses.rst:737 msgid "" "Set the window's background. A window's background consists of a character " "and any combination of attributes. The attribute part of the background is " @@ -802,177 +814,176 @@ msgid "" "delete line/character operations." msgstr "" -#: ../Doc/library/curses.rst:742 +#: ../Doc/library/curses.rst:747 msgid "" "Draw a border around the edges of the window. Each parameter specifies the " "character to use for a specific part of the border; see the table below for " -"more details. The characters can be specified as integers or as one-" -"character strings." +"more details." msgstr "" -#: ../Doc/library/curses.rst:749 +#: ../Doc/library/curses.rst:753 msgid "" "A ``0`` value for any parameter will cause the default character to be used " "for that parameter. Keyword parameters can *not* be used. The defaults are " "listed in this table:" msgstr "" -#: ../Doc/library/curses.rst:754 +#: ../Doc/library/curses.rst:758 msgid "Parameter" msgstr "Paramètre" -#: ../Doc/library/curses.rst:754 +#: ../Doc/library/curses.rst:758 msgid "Description" msgstr "Description" -#: ../Doc/library/curses.rst:754 +#: ../Doc/library/curses.rst:758 msgid "Default value" msgstr "Valeur par défaut" -#: ../Doc/library/curses.rst:756 +#: ../Doc/library/curses.rst:760 msgid "*ls*" msgstr "*ls*" -#: ../Doc/library/curses.rst:756 +#: ../Doc/library/curses.rst:760 msgid "Left side" msgstr "" -#: ../Doc/library/curses.rst:756 ../Doc/library/curses.rst:758 +#: ../Doc/library/curses.rst:760 ../Doc/library/curses.rst:762 msgid ":const:`ACS_VLINE`" msgstr ":const:`ACS_VLINE`" -#: ../Doc/library/curses.rst:758 +#: ../Doc/library/curses.rst:762 msgid "*rs*" msgstr "*rs*" -#: ../Doc/library/curses.rst:758 +#: ../Doc/library/curses.rst:762 msgid "Right side" msgstr "" -#: ../Doc/library/curses.rst:760 +#: ../Doc/library/curses.rst:764 msgid "*ts*" msgstr "*ts*" -#: ../Doc/library/curses.rst:760 +#: ../Doc/library/curses.rst:764 msgid "Top" msgstr "" -#: ../Doc/library/curses.rst:760 ../Doc/library/curses.rst:762 +#: ../Doc/library/curses.rst:764 ../Doc/library/curses.rst:766 msgid ":const:`ACS_HLINE`" msgstr ":const:`ACS_HLINE`" -#: ../Doc/library/curses.rst:762 +#: ../Doc/library/curses.rst:766 msgid "*bs*" msgstr "*bs*" -#: ../Doc/library/curses.rst:762 +#: ../Doc/library/curses.rst:766 msgid "Bottom" msgstr "" -#: ../Doc/library/curses.rst:764 +#: ../Doc/library/curses.rst:768 msgid "*tl*" msgstr "*tl*" -#: ../Doc/library/curses.rst:764 +#: ../Doc/library/curses.rst:768 msgid "Upper-left corner" msgstr "" -#: ../Doc/library/curses.rst:764 +#: ../Doc/library/curses.rst:768 msgid ":const:`ACS_ULCORNER`" msgstr ":const:`ACS_ULCORNER`" -#: ../Doc/library/curses.rst:766 +#: ../Doc/library/curses.rst:770 msgid "*tr*" msgstr "" -#: ../Doc/library/curses.rst:766 +#: ../Doc/library/curses.rst:770 msgid "Upper-right corner" msgstr "" -#: ../Doc/library/curses.rst:766 +#: ../Doc/library/curses.rst:770 msgid ":const:`ACS_URCORNER`" msgstr ":const:`ACS_URCORNER`" -#: ../Doc/library/curses.rst:768 +#: ../Doc/library/curses.rst:772 msgid "*bl*" msgstr "" -#: ../Doc/library/curses.rst:768 +#: ../Doc/library/curses.rst:772 msgid "Bottom-left corner" msgstr "" -#: ../Doc/library/curses.rst:768 +#: ../Doc/library/curses.rst:772 msgid ":const:`ACS_LLCORNER`" msgstr ":const:`ACS_LLCORNER`" -#: ../Doc/library/curses.rst:770 +#: ../Doc/library/curses.rst:774 msgid "*br*" msgstr "" -#: ../Doc/library/curses.rst:770 +#: ../Doc/library/curses.rst:774 msgid "Bottom-right corner" msgstr "" -#: ../Doc/library/curses.rst:770 +#: ../Doc/library/curses.rst:774 msgid ":const:`ACS_LRCORNER`" msgstr ":const:`ACS_LRCORNER`" -#: ../Doc/library/curses.rst:776 +#: ../Doc/library/curses.rst:780 msgid "" "Similar to :meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* " "and *bs* are *horch*. The default corner characters are always used by this " "function." msgstr "" -#: ../Doc/library/curses.rst:785 +#: ../Doc/library/curses.rst:789 msgid "" "Set the attributes of *num* characters at the current cursor position, or at " -"position ``(y, x)`` if supplied. If no value of *num* is given or *num* = " -"-1, the attribute will be set on all the characters to the end of the " -"line. This function does not move the cursor. The changed line will be " -"touched using the :meth:`touchline` method so that the contents will be " -"redisplayed by the next window refresh." +"position ``(y, x)`` if supplied. If *num* is not given or is ``-1``, the " +"attribute will be set on all the characters to the end of the line. This " +"function moves cursor to position ``(y, x)`` if supplied. The changed line " +"will be touched using the :meth:`touchline` method so that the contents will " +"be redisplayed by the next window refresh." msgstr "" -#: ../Doc/library/curses.rst:795 +#: ../Doc/library/curses.rst:799 msgid "" "Like :meth:`erase`, but also cause the whole window to be repainted upon " "next call to :meth:`refresh`." msgstr "" -#: ../Doc/library/curses.rst:801 +#: ../Doc/library/curses.rst:805 msgid "" -"If *yes* is 1, the next call to :meth:`refresh` will clear the window " -"completely." +"If *flag* is ``True``, the next call to :meth:`refresh` will clear the " +"window completely." msgstr "" -#: ../Doc/library/curses.rst:807 +#: ../Doc/library/curses.rst:811 msgid "" "Erase from cursor to the end of the window: all lines below the cursor are " "deleted, and then the equivalent of :meth:`clrtoeol` is performed." msgstr "" -#: ../Doc/library/curses.rst:813 +#: ../Doc/library/curses.rst:817 msgid "Erase from cursor to the end of the line." msgstr "" -#: ../Doc/library/curses.rst:818 +#: ../Doc/library/curses.rst:822 msgid "" "Update the current cursor position of all the ancestors of the window to " "reflect the current cursor position of the window." msgstr "" -#: ../Doc/library/curses.rst:824 +#: ../Doc/library/curses.rst:828 msgid "Delete any character at ``(y, x)``." msgstr "" -#: ../Doc/library/curses.rst:829 +#: ../Doc/library/curses.rst:833 msgid "" "Delete the line under the cursor. All following lines are moved up by one " "line." msgstr "" -#: ../Doc/library/curses.rst:835 +#: ../Doc/library/curses.rst:839 msgid "" "An abbreviation for \"derive window\", :meth:`derwin` is the same as " "calling :meth:`subwin`, except that *begin_y* and *begin_x* are relative to " @@ -980,13 +991,13 @@ msgid "" "a window object for the derived window." msgstr "" -#: ../Doc/library/curses.rst:843 +#: ../Doc/library/curses.rst:847 msgid "" "Add character *ch* with attribute *attr*, and immediately call :meth:" "`refresh` on the window." msgstr "" -#: ../Doc/library/curses.rst:849 +#: ../Doc/library/curses.rst:853 msgid "" "Test whether the given pair of screen-relative character-cell coordinates " "are enclosed by the given window, returning ``True`` or ``False``. It is " @@ -994,7 +1005,7 @@ msgid "" "location of a mouse event." msgstr "" -#: ../Doc/library/curses.rst:857 +#: ../Doc/library/curses.rst:861 msgid "" "Encoding used to encode method arguments (Unicode strings and characters). " "The encoding attribute is inherited from the parent window when a subwindow " @@ -1002,68 +1013,70 @@ msgid "" "encoding is used (see :func:`locale.getpreferredencoding`)." msgstr "" -#: ../Doc/library/curses.rst:867 +#: ../Doc/library/curses.rst:871 msgid "Clear the window." msgstr "" -#: ../Doc/library/curses.rst:872 +#: ../Doc/library/curses.rst:876 msgid "Return a tuple ``(y, x)`` of co-ordinates of upper-left corner." msgstr "" -#: ../Doc/library/curses.rst:877 +#: ../Doc/library/curses.rst:881 msgid "Return the given window's current background character/attribute pair." msgstr "" -#: ../Doc/library/curses.rst:882 +#: ../Doc/library/curses.rst:886 msgid "" "Get a character. Note that the integer returned does *not* have to be in " -"ASCII range: function keys, keypad keys and so on return numbers higher than " -"256. In no-delay mode, -1 is returned if there is no input, else :func:" -"`getch` waits until a key is pressed." +"ASCII range: function keys, keypad keys and so on are represented by numbers " +"higher than 255. In no-delay mode, return ``-1`` if there is no input, " +"otherwise wait until a key is pressed." msgstr "" -#: ../Doc/library/curses.rst:890 +#: ../Doc/library/curses.rst:894 msgid "" "Get a wide character. Return a character for most keys, or an integer for " -"function keys, keypad keys, and other special keys." +"function keys, keypad keys, and other special keys. In no-delay mode, raise " +"an exception if there is no input." msgstr "" -#: ../Doc/library/curses.rst:898 +#: ../Doc/library/curses.rst:903 msgid "" "Get a character, returning a string instead of an integer, as :meth:`getch` " "does. Function keys, keypad keys and other special keys return a multibyte " -"string containing the key name. In no-delay mode, an exception is raised if " +"string containing the key name. In no-delay mode, raise an exception if " "there is no input." msgstr "" -#: ../Doc/library/curses.rst:906 +#: ../Doc/library/curses.rst:911 msgid "Return a tuple ``(y, x)`` of the height and width of the window." msgstr "" -#: ../Doc/library/curses.rst:911 +#: ../Doc/library/curses.rst:916 msgid "" "Return the beginning coordinates of this window relative to its parent " -"window into two integer variables y and x. Return ``-1, -1`` if this window " -"has no parent." +"window as a tuple ``(y, x)``. Return ``(-1, -1)`` if this window has no " +"parent." msgstr "" -#: ../Doc/library/curses.rst:918 -msgid "Read a string from the user, with primitive line editing capacity." +#: ../Doc/library/curses.rst:926 +msgid "" +"Read a bytes object from the user, with primitive line editing capacity." msgstr "" -#: ../Doc/library/curses.rst:923 +#: ../Doc/library/curses.rst:931 msgid "" "Return a tuple ``(y, x)`` of current cursor position relative to the " "window's upper-left corner." msgstr "" -#: ../Doc/library/curses.rst:930 +#: ../Doc/library/curses.rst:938 msgid "" "Display a horizontal line starting at ``(y, x)`` with length *n* consisting " "of the character *ch*." msgstr "" -#: ../Doc/library/curses.rst:936 +#: ../Doc/library/curses.rst:944 msgid "" "If *flag* is ``False``, curses no longer considers using the hardware insert/" "delete character feature of the terminal; if *flag* is ``True``, use of " @@ -1071,13 +1084,13 @@ msgid "" "initialized, use of character insert/delete is enabled by default." msgstr "" -#: ../Doc/library/curses.rst:944 +#: ../Doc/library/curses.rst:952 msgid "" -"If called with *yes* equal to 1, :mod:`curses` will try and use hardware " -"line editing facilities. Otherwise, line insertion/deletion are disabled." +"If *flag* is ``True``, :mod:`curses` will try and use hardware line editing " +"facilities. Otherwise, line insertion/deletion are disabled." msgstr "" -#: ../Doc/library/curses.rst:950 +#: ../Doc/library/curses.rst:958 msgid "" "If *flag* is ``True``, any change in the window image automatically causes " "the window to be refreshed; you no longer have to call :meth:`refresh` " @@ -1085,19 +1098,19 @@ msgid "" "calls to wrefresh. This option is disabled by default." msgstr "" -#: ../Doc/library/curses.rst:958 +#: ../Doc/library/curses.rst:966 msgid "" "Return the character at the given position in the window. The bottom 8 bits " "are the character proper, and upper bits are the attributes." msgstr "" -#: ../Doc/library/curses.rst:965 +#: ../Doc/library/curses.rst:973 msgid "" "Paint character *ch* at ``(y, x)`` with attributes *attr*, moving the line " "from position *x* right by one character." msgstr "" -#: ../Doc/library/curses.rst:971 +#: ../Doc/library/curses.rst:979 msgid "" "Insert *nlines* lines into the specified window above the current line. The " "*nlines* bottom lines are lost. For negative *nlines*, delete *nlines* " @@ -1106,13 +1119,13 @@ msgid "" "remains the same." msgstr "" -#: ../Doc/library/curses.rst:980 +#: ../Doc/library/curses.rst:988 msgid "" "Insert a blank line under the cursor. All following lines are moved down by " "one line." msgstr "" -#: ../Doc/library/curses.rst:987 +#: ../Doc/library/curses.rst:995 msgid "" "Insert a character string (as many characters as will fit on the line) " "before the character under the cursor, up to *n* characters. If *n* is " @@ -1122,7 +1135,7 @@ msgid "" "if specified)." msgstr "" -#: ../Doc/library/curses.rst:997 +#: ../Doc/library/curses.rst:1005 msgid "" "Insert a character string (as many characters as will fit on the line) " "before the character under the cursor. All characters to the right of the " @@ -1131,83 +1144,84 @@ msgid "" "specified)." msgstr "" -#: ../Doc/library/curses.rst:1006 +#: ../Doc/library/curses.rst:1014 msgid "" -"Return a string of characters, extracted from the window starting at the " -"current cursor position, or at *y*, *x* if specified. Attributes are " +"Return a bytes object of characters, extracted from the window starting at " +"the current cursor position, or at *y*, *x* if specified. Attributes are " "stripped from the characters. If *n* is specified, :meth:`instr` returns a " "string at most *n* characters long (exclusive of the trailing NUL)." msgstr "" -#: ../Doc/library/curses.rst:1014 +#: ../Doc/library/curses.rst:1022 msgid "" "Return ``True`` if the specified line was modified since the last call to :" "meth:`refresh`; otherwise return ``False``. Raise a :exc:`curses.error` " "exception if *line* is not valid for the given window." msgstr "" -#: ../Doc/library/curses.rst:1021 +#: ../Doc/library/curses.rst:1029 msgid "" "Return ``True`` if the specified window was modified since the last call to :" "meth:`refresh`; otherwise return ``False``." msgstr "" -#: ../Doc/library/curses.rst:1027 +#: ../Doc/library/curses.rst:1035 msgid "" -"If *yes* is 1, escape sequences generated by some keys (keypad, function " -"keys) will be interpreted by :mod:`curses`. If *yes* is 0, escape sequences " -"will be left as is in the input stream." +"If *flag* is ``True``, escape sequences generated by some keys (keypad, " +"function keys) will be interpreted by :mod:`curses`. If *flag* is ``False``, " +"escape sequences will be left as is in the input stream." msgstr "" -#: ../Doc/library/curses.rst:1034 +#: ../Doc/library/curses.rst:1042 msgid "" -"If *yes* is 1, cursor is left where it is on update, instead of being at " -"\"cursor position.\" This reduces cursor movement where possible. If " -"possible the cursor will be made invisible." +"If *flag* is ``True``, cursor is left where it is on update, instead of " +"being at \"cursor position.\" This reduces cursor movement where possible. " +"If possible the cursor will be made invisible." msgstr "" -#: ../Doc/library/curses.rst:1038 +#: ../Doc/library/curses.rst:1046 msgid "" -"If *yes* is 0, cursor will always be at \"cursor position\" after an update." +"If *flag* is ``False``, cursor will always be at \"cursor position\" after " +"an update." msgstr "" -#: ../Doc/library/curses.rst:1043 +#: ../Doc/library/curses.rst:1051 msgid "Move cursor to ``(new_y, new_x)``." msgstr "" -#: ../Doc/library/curses.rst:1048 +#: ../Doc/library/curses.rst:1056 msgid "" "Move the window inside its parent window. The screen-relative parameters of " "the window are not changed. This routine is used to display different parts " "of the parent window at the same physical position on the screen." msgstr "" -#: ../Doc/library/curses.rst:1055 +#: ../Doc/library/curses.rst:1063 msgid "Move the window so its upper-left corner is at ``(new_y, new_x)``." msgstr "" -#: ../Doc/library/curses.rst:1060 -msgid "If *yes* is ``1``, :meth:`getch` will be non-blocking." -msgstr "" - -#: ../Doc/library/curses.rst:1065 -msgid "If *yes* is ``1``, escape sequences will not be timed out." -msgstr "" - -#: ../Doc/library/curses.rst:1067 -msgid "" -"If *yes* is ``0``, after a few milliseconds, an escape sequence will not be " -"interpreted, and will be left in the input stream as is." +#: ../Doc/library/curses.rst:1068 +msgid "If *flag* is ``True``, :meth:`getch` will be non-blocking." msgstr "" #: ../Doc/library/curses.rst:1073 +msgid "If *flag* is ``True``, escape sequences will not be timed out." +msgstr "" + +#: ../Doc/library/curses.rst:1075 +msgid "" +"If *flag* is ``False``, after a few milliseconds, an escape sequence will " +"not be interpreted, and will be left in the input stream as is." +msgstr "" + +#: ../Doc/library/curses.rst:1081 msgid "" "Mark for refresh but wait. This function updates the data structure " "representing the desired state of the window, but does not force an update " "of the physical screen. To accomplish that, call :func:`doupdate`." msgstr "" -#: ../Doc/library/curses.rst:1080 +#: ../Doc/library/curses.rst:1088 msgid "" "Overlay the window on top of *destwin*. The windows need not be the same " "size, only the overlapping region is copied. This copy is non-destructive, " @@ -1215,7 +1229,7 @@ msgid "" "contents of *destwin*." msgstr "" -#: ../Doc/library/curses.rst:1085 +#: ../Doc/library/curses.rst:1093 msgid "" "To get fine-grained control over the copied region, the second form of :meth:" "`overlay` can be used. *sminrow* and *smincol* are the upper-left " @@ -1223,7 +1237,7 @@ msgid "" "in the destination window." msgstr "" -#: ../Doc/library/curses.rst:1093 +#: ../Doc/library/curses.rst:1101 msgid "" "Overwrite the window on top of *destwin*. The windows need not be the same " "size, in which case only the overlapping region is copied. This copy is " @@ -1231,7 +1245,7 @@ msgid "" "the old contents of *destwin*." msgstr "" -#: ../Doc/library/curses.rst:1098 +#: ../Doc/library/curses.rst:1106 msgid "" "To get fine-grained control over the copied region, the second form of :meth:" "`overwrite` can be used. *sminrow* and *smincol* are the upper-left " @@ -1239,31 +1253,31 @@ msgid "" "the destination window." msgstr "" -#: ../Doc/library/curses.rst:1106 +#: ../Doc/library/curses.rst:1114 msgid "" "Write all data associated with the window into the provided file object. " "This information can be later retrieved using the :func:`getwin` function." msgstr "" -#: ../Doc/library/curses.rst:1112 +#: ../Doc/library/curses.rst:1120 msgid "" "Indicate that the *num* screen lines, starting at line *beg*, are corrupted " "and should be completely redrawn on the next :meth:`refresh` call." msgstr "" -#: ../Doc/library/curses.rst:1118 +#: ../Doc/library/curses.rst:1126 msgid "" "Touch the entire window, causing it to be completely redrawn on the next :" "meth:`refresh` call." msgstr "" -#: ../Doc/library/curses.rst:1124 +#: ../Doc/library/curses.rst:1132 msgid "" "Update the display immediately (sync actual screen with previous drawing/" "deleting methods)." msgstr "" -#: ../Doc/library/curses.rst:1127 +#: ../Doc/library/curses.rst:1135 msgid "" "The 6 optional arguments can only be specified when the window is a pad " "created with :func:`newpad`. The additional parameters are needed to " @@ -1278,7 +1292,7 @@ msgid "" "*smincol* are treated as if they were zero." msgstr "" -#: ../Doc/library/curses.rst:1141 +#: ../Doc/library/curses.rst:1149 msgid "" "Reallocate storage for a curses window to adjust its dimensions to the " "specified values. If either dimension is larger than the current values, " @@ -1286,1072 +1300,1073 @@ msgid "" "rendition (as set by :meth:`bkgdset`) merged into them." msgstr "" -#: ../Doc/library/curses.rst:1149 +#: ../Doc/library/curses.rst:1157 msgid "Scroll the screen or scrolling region upward by *lines* lines." msgstr "" -#: ../Doc/library/curses.rst:1154 +#: ../Doc/library/curses.rst:1162 msgid "" "Control what happens when the cursor of a window is moved off the edge of " "the window or scrolling region, either as a result of a newline action on " "the bottom line, or typing the last character of the last line. If *flag* " -"is false, the cursor is left on the bottom line. If *flag* is true, the " -"window is scrolled up one line. Note that in order to get the physical " +"is ``False``, the cursor is left on the bottom line. If *flag* is ``True``, " +"the window is scrolled up one line. Note that in order to get the physical " "scrolling effect on the terminal, it is also necessary to call :meth:`idlok`." msgstr "" -#: ../Doc/library/curses.rst:1164 +#: ../Doc/library/curses.rst:1172 msgid "" "Set the scrolling region from line *top* to line *bottom*. All scrolling " "actions will take place in this region." msgstr "" -#: ../Doc/library/curses.rst:1170 +#: ../Doc/library/curses.rst:1178 msgid "" "Turn off the standout attribute. On some terminals this has the side effect " "of turning off all attributes." msgstr "" -#: ../Doc/library/curses.rst:1176 +#: ../Doc/library/curses.rst:1184 msgid "Turn on attribute *A_STANDOUT*." msgstr "" -#: ../Doc/library/curses.rst:1182 ../Doc/library/curses.rst:1189 +#: ../Doc/library/curses.rst:1190 ../Doc/library/curses.rst:1197 msgid "" "Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, " "and whose width/height is *ncols*/*nlines*." msgstr "" -#: ../Doc/library/curses.rst:1192 +#: ../Doc/library/curses.rst:1200 msgid "" "By default, the sub-window will extend from the specified position to the " "lower right corner of the window." msgstr "" -#: ../Doc/library/curses.rst:1198 +#: ../Doc/library/curses.rst:1206 msgid "" "Touch each location in the window that has been touched in any of its " "ancestor windows. This routine is called by :meth:`refresh`, so it should " "almost never be necessary to call it manually." msgstr "" -#: ../Doc/library/curses.rst:1205 +#: ../Doc/library/curses.rst:1213 msgid "" -"If called with *flag* set to ``True``, then :meth:`syncup` is called " -"automatically whenever there is a change in the window." +"If *flag* is ``True``, then :meth:`syncup` is called automatically whenever " +"there is a change in the window." msgstr "" -#: ../Doc/library/curses.rst:1211 +#: ../Doc/library/curses.rst:1219 msgid "" "Touch all locations in ancestors of the window that have been changed in " "the window." msgstr "" -#: ../Doc/library/curses.rst:1217 +#: ../Doc/library/curses.rst:1225 msgid "" "Set blocking or non-blocking read behavior for the window. If *delay* is " "negative, blocking read is used (which will wait indefinitely for input). " -"If *delay* is zero, then non-blocking read is used, and -1 will be returned " -"by :meth:`getch` if no input is waiting. If *delay* is positive, then :meth:" -"`getch` will block for *delay* milliseconds, and return -1 if there is still " -"no input at the end of that time." +"If *delay* is zero, then non-blocking read is used, and :meth:`getch` will " +"return ``-1`` if no input is waiting. If *delay* is positive, then :meth:" +"`getch` will block for *delay* milliseconds, and return ``-1`` if there is " +"still no input at the end of that time." msgstr "" -#: ../Doc/library/curses.rst:1227 +#: ../Doc/library/curses.rst:1235 msgid "" "Pretend *count* lines have been changed, starting with line *start*. If " "*changed* is supplied, it specifies whether the affected lines are marked as " -"having been changed (*changed*\\ =1) or unchanged (*changed*\\ =0)." +"having been changed (*changed*\\ ``=True``) or unchanged (*changed*\\ " +"``=False``)." msgstr "" -#: ../Doc/library/curses.rst:1234 +#: ../Doc/library/curses.rst:1242 msgid "" "Pretend the whole window has been changed, for purposes of drawing " "optimizations." msgstr "" -#: ../Doc/library/curses.rst:1240 +#: ../Doc/library/curses.rst:1248 msgid "" "Mark all lines in the window as unchanged since the last call to :meth:" "`refresh`." msgstr "" -#: ../Doc/library/curses.rst:1247 +#: ../Doc/library/curses.rst:1255 msgid "" "Display a vertical line starting at ``(y, x)`` with length *n* consisting of " "the character *ch*." msgstr "" -#: ../Doc/library/curses.rst:1252 +#: ../Doc/library/curses.rst:1260 msgid "Constants" msgstr "Constantes" -#: ../Doc/library/curses.rst:1254 +#: ../Doc/library/curses.rst:1262 msgid "The :mod:`curses` module defines the following data members:" msgstr "" -#: ../Doc/library/curses.rst:1259 +#: ../Doc/library/curses.rst:1267 msgid "" "Some curses routines that return an integer, such as :func:`getch`, " "return :const:`ERR` upon failure." msgstr "" -#: ../Doc/library/curses.rst:1265 +#: ../Doc/library/curses.rst:1273 msgid "" "Some curses routines that return an integer, such as :func:`napms`, " "return :const:`OK` upon success." msgstr "" -#: ../Doc/library/curses.rst:1271 +#: ../Doc/library/curses.rst:1279 msgid "" -"A string representing the current version of the module. Also available as :" -"const:`__version__`." +"A bytes object representing the current version of the module. Also " +"available as :const:`__version__`." msgstr "" -#: ../Doc/library/curses.rst:1274 +#: ../Doc/library/curses.rst:1282 msgid "" "Some constants are available to specify character cell attributes. The exact " "constants available are system dependent." msgstr "" -#: ../Doc/library/curses.rst:1278 +#: ../Doc/library/curses.rst:1286 msgid "Attribute" msgstr "Attribut" -#: ../Doc/library/curses.rst:1278 ../Doc/library/curses.rst:1321 -#: ../Doc/library/curses.rst:1565 +#: ../Doc/library/curses.rst:1286 ../Doc/library/curses.rst:1329 +#: ../Doc/library/curses.rst:1573 msgid "Meaning" msgstr "Signification" -#: ../Doc/library/curses.rst:1280 +#: ../Doc/library/curses.rst:1288 msgid "``A_ALTCHARSET``" msgstr "``A_ALTCHARSET``" -#: ../Doc/library/curses.rst:1280 +#: ../Doc/library/curses.rst:1288 msgid "Alternate character set mode" msgstr "" -#: ../Doc/library/curses.rst:1282 +#: ../Doc/library/curses.rst:1290 msgid "``A_BLINK``" msgstr "``A_BLINK``" -#: ../Doc/library/curses.rst:1282 +#: ../Doc/library/curses.rst:1290 msgid "Blink mode" msgstr "" -#: ../Doc/library/curses.rst:1284 +#: ../Doc/library/curses.rst:1292 msgid "``A_BOLD``" msgstr "``A_BOLD``" -#: ../Doc/library/curses.rst:1284 +#: ../Doc/library/curses.rst:1292 msgid "Bold mode" msgstr "" -#: ../Doc/library/curses.rst:1286 +#: ../Doc/library/curses.rst:1294 msgid "``A_DIM``" msgstr "``A_DIM``" -#: ../Doc/library/curses.rst:1286 +#: ../Doc/library/curses.rst:1294 msgid "Dim mode" msgstr "" -#: ../Doc/library/curses.rst:1288 +#: ../Doc/library/curses.rst:1296 msgid "``A_INVIS``" msgstr "``A_INVIS``" -#: ../Doc/library/curses.rst:1288 +#: ../Doc/library/curses.rst:1296 msgid "Invisible or blank mode" msgstr "" -#: ../Doc/library/curses.rst:1290 +#: ../Doc/library/curses.rst:1298 msgid "``A_NORMAL``" msgstr "``A_NORMAL``" -#: ../Doc/library/curses.rst:1290 +#: ../Doc/library/curses.rst:1298 msgid "Normal attribute" msgstr "Attribut normal" -#: ../Doc/library/curses.rst:1292 +#: ../Doc/library/curses.rst:1300 msgid "``A_PROTECT``" msgstr "``A_PROTECT``" -#: ../Doc/library/curses.rst:1292 +#: ../Doc/library/curses.rst:1300 msgid "Protected mode" msgstr "" -#: ../Doc/library/curses.rst:1294 +#: ../Doc/library/curses.rst:1302 msgid "``A_REVERSE``" msgstr "``A_REVERSE``" -#: ../Doc/library/curses.rst:1294 +#: ../Doc/library/curses.rst:1302 msgid "Reverse background and foreground colors" msgstr "" -#: ../Doc/library/curses.rst:1297 +#: ../Doc/library/curses.rst:1305 msgid "``A_STANDOUT``" msgstr "``A_STANDOUT``" -#: ../Doc/library/curses.rst:1297 +#: ../Doc/library/curses.rst:1305 msgid "Standout mode" msgstr "" -#: ../Doc/library/curses.rst:1299 +#: ../Doc/library/curses.rst:1307 msgid "``A_UNDERLINE``" msgstr "``A_UNDERLINE``" -#: ../Doc/library/curses.rst:1299 +#: ../Doc/library/curses.rst:1307 msgid "Underline mode" msgstr "" -#: ../Doc/library/curses.rst:1301 +#: ../Doc/library/curses.rst:1309 msgid "``A_HORIZONTAL``" msgstr "``A_HORIZONTAL``" -#: ../Doc/library/curses.rst:1301 +#: ../Doc/library/curses.rst:1309 msgid "Horizontal highlight" msgstr "" -#: ../Doc/library/curses.rst:1303 +#: ../Doc/library/curses.rst:1311 msgid "``A_LEFT``" msgstr "``A_LEFT``" -#: ../Doc/library/curses.rst:1303 +#: ../Doc/library/curses.rst:1311 msgid "Left highlight" msgstr "" -#: ../Doc/library/curses.rst:1305 +#: ../Doc/library/curses.rst:1313 msgid "``A_LOW``" msgstr "``A_LOW``" -#: ../Doc/library/curses.rst:1305 +#: ../Doc/library/curses.rst:1313 msgid "Low highlight" msgstr "" -#: ../Doc/library/curses.rst:1307 +#: ../Doc/library/curses.rst:1315 msgid "``A_RIGHT``" msgstr "``A_RIGHT``" -#: ../Doc/library/curses.rst:1307 +#: ../Doc/library/curses.rst:1315 msgid "Right highlight" msgstr "" -#: ../Doc/library/curses.rst:1309 +#: ../Doc/library/curses.rst:1317 msgid "``A_TOP``" msgstr "``A_TOP``" -#: ../Doc/library/curses.rst:1309 +#: ../Doc/library/curses.rst:1317 msgid "Top highlight" msgstr "" -#: ../Doc/library/curses.rst:1311 +#: ../Doc/library/curses.rst:1319 msgid "``A_VERTICAL``" msgstr "``A_VERTICAL``" -#: ../Doc/library/curses.rst:1311 +#: ../Doc/library/curses.rst:1319 msgid "Vertical highlight" msgstr "" -#: ../Doc/library/curses.rst:1313 ../Doc/library/curses.rst:1326 +#: ../Doc/library/curses.rst:1321 ../Doc/library/curses.rst:1334 msgid "``A_CHARTEXT``" msgstr "``A_CHARTEXT``" -#: ../Doc/library/curses.rst:1313 ../Doc/library/curses.rst:1326 +#: ../Doc/library/curses.rst:1321 ../Doc/library/curses.rst:1334 msgid "Bit-mask to extract a character" msgstr "" -#: ../Doc/library/curses.rst:1317 +#: ../Doc/library/curses.rst:1325 msgid "" "Several constants are available to extract corresponding attributes returned " "by some methods." msgstr "" -#: ../Doc/library/curses.rst:1321 +#: ../Doc/library/curses.rst:1329 msgid "Bit-mask" msgstr "" -#: ../Doc/library/curses.rst:1323 +#: ../Doc/library/curses.rst:1331 msgid "``A_ATTRIBUTES``" msgstr "``A_ATTRIBUTES``" -#: ../Doc/library/curses.rst:1323 +#: ../Doc/library/curses.rst:1331 msgid "Bit-mask to extract attributes" msgstr "" -#: ../Doc/library/curses.rst:1329 +#: ../Doc/library/curses.rst:1337 msgid "``A_COLOR``" msgstr "``A_COLOR``" -#: ../Doc/library/curses.rst:1329 +#: ../Doc/library/curses.rst:1337 msgid "Bit-mask to extract color-pair field information" msgstr "" -#: ../Doc/library/curses.rst:1333 +#: ../Doc/library/curses.rst:1341 msgid "" "Keys are referred to by integer constants with names starting with " "``KEY_``. The exact keycaps available are system dependent." msgstr "" -#: ../Doc/library/curses.rst:1339 +#: ../Doc/library/curses.rst:1347 msgid "Key constant" msgstr "" -#: ../Doc/library/curses.rst:1339 +#: ../Doc/library/curses.rst:1347 msgid "Key" msgstr "" -#: ../Doc/library/curses.rst:1341 +#: ../Doc/library/curses.rst:1349 msgid "``KEY_MIN``" msgstr "``KEY_MIN``" -#: ../Doc/library/curses.rst:1341 +#: ../Doc/library/curses.rst:1349 msgid "Minimum key value" msgstr "" -#: ../Doc/library/curses.rst:1343 +#: ../Doc/library/curses.rst:1351 msgid "``KEY_BREAK``" msgstr "``KEY_BREAK``" -#: ../Doc/library/curses.rst:1343 +#: ../Doc/library/curses.rst:1351 msgid "Break key (unreliable)" msgstr "" -#: ../Doc/library/curses.rst:1345 +#: ../Doc/library/curses.rst:1353 msgid "``KEY_DOWN``" msgstr "``KEY_DOWN``" -#: ../Doc/library/curses.rst:1345 +#: ../Doc/library/curses.rst:1353 msgid "Down-arrow" msgstr "" -#: ../Doc/library/curses.rst:1347 +#: ../Doc/library/curses.rst:1355 msgid "``KEY_UP``" msgstr "``KEY_UP``" -#: ../Doc/library/curses.rst:1347 +#: ../Doc/library/curses.rst:1355 msgid "Up-arrow" msgstr "" -#: ../Doc/library/curses.rst:1349 +#: ../Doc/library/curses.rst:1357 msgid "``KEY_LEFT``" msgstr "``KEY_LEFT``" -#: ../Doc/library/curses.rst:1349 +#: ../Doc/library/curses.rst:1357 msgid "Left-arrow" msgstr "" -#: ../Doc/library/curses.rst:1351 +#: ../Doc/library/curses.rst:1359 msgid "``KEY_RIGHT``" msgstr "``KEY_RIGHT``" -#: ../Doc/library/curses.rst:1351 +#: ../Doc/library/curses.rst:1359 msgid "Right-arrow" msgstr "" -#: ../Doc/library/curses.rst:1353 +#: ../Doc/library/curses.rst:1361 msgid "``KEY_HOME``" msgstr "``KEY_HOME``" -#: ../Doc/library/curses.rst:1353 +#: ../Doc/library/curses.rst:1361 msgid "Home key (upward+left arrow)" msgstr "" -#: ../Doc/library/curses.rst:1355 +#: ../Doc/library/curses.rst:1363 msgid "``KEY_BACKSPACE``" msgstr "``KEY_BACKSPACE``" -#: ../Doc/library/curses.rst:1355 +#: ../Doc/library/curses.rst:1363 msgid "Backspace (unreliable)" msgstr "" -#: ../Doc/library/curses.rst:1357 +#: ../Doc/library/curses.rst:1365 msgid "``KEY_F0``" msgstr "``KEY_F0``" -#: ../Doc/library/curses.rst:1357 +#: ../Doc/library/curses.rst:1365 msgid "Function keys. Up to 64 function keys are supported." msgstr "" -#: ../Doc/library/curses.rst:1360 +#: ../Doc/library/curses.rst:1368 msgid "``KEY_Fn``" msgstr "``KEY_Fn``" -#: ../Doc/library/curses.rst:1360 +#: ../Doc/library/curses.rst:1368 msgid "Value of function key *n*" msgstr "" -#: ../Doc/library/curses.rst:1362 +#: ../Doc/library/curses.rst:1370 msgid "``KEY_DL``" msgstr "``KEY_DL``" -#: ../Doc/library/curses.rst:1362 +#: ../Doc/library/curses.rst:1370 msgid "Delete line" msgstr "" -#: ../Doc/library/curses.rst:1364 +#: ../Doc/library/curses.rst:1372 msgid "``KEY_IL``" msgstr "``KEY_IL``" -#: ../Doc/library/curses.rst:1364 +#: ../Doc/library/curses.rst:1372 msgid "Insert line" msgstr "" -#: ../Doc/library/curses.rst:1366 +#: ../Doc/library/curses.rst:1374 msgid "``KEY_DC``" msgstr "``KEY_DC``" -#: ../Doc/library/curses.rst:1366 +#: ../Doc/library/curses.rst:1374 msgid "Delete character" msgstr "" -#: ../Doc/library/curses.rst:1368 +#: ../Doc/library/curses.rst:1376 msgid "``KEY_IC``" msgstr "``KEY_IC``" -#: ../Doc/library/curses.rst:1368 +#: ../Doc/library/curses.rst:1376 msgid "Insert char or enter insert mode" msgstr "" -#: ../Doc/library/curses.rst:1370 +#: ../Doc/library/curses.rst:1378 msgid "``KEY_EIC``" msgstr "``KEY_EIC``" -#: ../Doc/library/curses.rst:1370 +#: ../Doc/library/curses.rst:1378 msgid "Exit insert char mode" msgstr "" -#: ../Doc/library/curses.rst:1372 +#: ../Doc/library/curses.rst:1380 msgid "``KEY_CLEAR``" msgstr "``KEY_CLEAR``" -#: ../Doc/library/curses.rst:1372 +#: ../Doc/library/curses.rst:1380 msgid "Clear screen" msgstr "" -#: ../Doc/library/curses.rst:1374 +#: ../Doc/library/curses.rst:1382 msgid "``KEY_EOS``" msgstr "``KEY_EOS``" -#: ../Doc/library/curses.rst:1374 +#: ../Doc/library/curses.rst:1382 msgid "Clear to end of screen" msgstr "" -#: ../Doc/library/curses.rst:1376 +#: ../Doc/library/curses.rst:1384 msgid "``KEY_EOL``" msgstr "``KEY_EOL``" -#: ../Doc/library/curses.rst:1376 +#: ../Doc/library/curses.rst:1384 msgid "Clear to end of line" msgstr "" -#: ../Doc/library/curses.rst:1378 +#: ../Doc/library/curses.rst:1386 msgid "``KEY_SF``" msgstr "``KEY_SF``" -#: ../Doc/library/curses.rst:1378 +#: ../Doc/library/curses.rst:1386 msgid "Scroll 1 line forward" msgstr "" -#: ../Doc/library/curses.rst:1380 +#: ../Doc/library/curses.rst:1388 msgid "``KEY_SR``" msgstr "``KEY_SR``" -#: ../Doc/library/curses.rst:1380 +#: ../Doc/library/curses.rst:1388 msgid "Scroll 1 line backward (reverse)" msgstr "" -#: ../Doc/library/curses.rst:1382 +#: ../Doc/library/curses.rst:1390 msgid "``KEY_NPAGE``" msgstr "``KEY_NPAGE``" -#: ../Doc/library/curses.rst:1382 +#: ../Doc/library/curses.rst:1390 msgid "Next page" msgstr "" -#: ../Doc/library/curses.rst:1384 +#: ../Doc/library/curses.rst:1392 msgid "``KEY_PPAGE``" msgstr "``KEY_PPAGE``" -#: ../Doc/library/curses.rst:1384 +#: ../Doc/library/curses.rst:1392 msgid "Previous page" msgstr "" -#: ../Doc/library/curses.rst:1386 +#: ../Doc/library/curses.rst:1394 msgid "``KEY_STAB``" msgstr "``KEY_STAB``" -#: ../Doc/library/curses.rst:1386 +#: ../Doc/library/curses.rst:1394 msgid "Set tab" msgstr "" -#: ../Doc/library/curses.rst:1388 +#: ../Doc/library/curses.rst:1396 msgid "``KEY_CTAB``" msgstr "``KEY_CTAB``" -#: ../Doc/library/curses.rst:1388 +#: ../Doc/library/curses.rst:1396 msgid "Clear tab" msgstr "" -#: ../Doc/library/curses.rst:1390 +#: ../Doc/library/curses.rst:1398 msgid "``KEY_CATAB``" msgstr "``KEY_CATAB``" -#: ../Doc/library/curses.rst:1390 +#: ../Doc/library/curses.rst:1398 msgid "Clear all tabs" msgstr "" -#: ../Doc/library/curses.rst:1392 +#: ../Doc/library/curses.rst:1400 msgid "``KEY_ENTER``" msgstr "``KEY_ENTER``" -#: ../Doc/library/curses.rst:1392 +#: ../Doc/library/curses.rst:1400 msgid "Enter or send (unreliable)" msgstr "" -#: ../Doc/library/curses.rst:1394 +#: ../Doc/library/curses.rst:1402 msgid "``KEY_SRESET``" msgstr "``KEY_SRESET``" -#: ../Doc/library/curses.rst:1394 +#: ../Doc/library/curses.rst:1402 msgid "Soft (partial) reset (unreliable)" msgstr "" -#: ../Doc/library/curses.rst:1396 +#: ../Doc/library/curses.rst:1404 msgid "``KEY_RESET``" msgstr "``KEY_RESET``" -#: ../Doc/library/curses.rst:1396 +#: ../Doc/library/curses.rst:1404 msgid "Reset or hard reset (unreliable)" msgstr "" -#: ../Doc/library/curses.rst:1398 +#: ../Doc/library/curses.rst:1406 msgid "``KEY_PRINT``" msgstr "``KEY_PRINT``" -#: ../Doc/library/curses.rst:1398 +#: ../Doc/library/curses.rst:1406 msgid "Print" msgstr "" -#: ../Doc/library/curses.rst:1400 +#: ../Doc/library/curses.rst:1408 msgid "``KEY_LL``" msgstr "``KEY_LL``" -#: ../Doc/library/curses.rst:1400 +#: ../Doc/library/curses.rst:1408 msgid "Home down or bottom (lower left)" msgstr "" -#: ../Doc/library/curses.rst:1402 +#: ../Doc/library/curses.rst:1410 msgid "``KEY_A1``" msgstr "``KEY_A1``" -#: ../Doc/library/curses.rst:1402 +#: ../Doc/library/curses.rst:1410 msgid "Upper left of keypad" msgstr "" -#: ../Doc/library/curses.rst:1404 +#: ../Doc/library/curses.rst:1412 msgid "``KEY_A3``" msgstr "``KEY_A3``" -#: ../Doc/library/curses.rst:1404 +#: ../Doc/library/curses.rst:1412 msgid "Upper right of keypad" msgstr "" -#: ../Doc/library/curses.rst:1406 +#: ../Doc/library/curses.rst:1414 msgid "``KEY_B2``" msgstr "``KEY_B2``" -#: ../Doc/library/curses.rst:1406 +#: ../Doc/library/curses.rst:1414 msgid "Center of keypad" msgstr "" -#: ../Doc/library/curses.rst:1408 +#: ../Doc/library/curses.rst:1416 msgid "``KEY_C1``" msgstr "``KEY_C1``" -#: ../Doc/library/curses.rst:1408 +#: ../Doc/library/curses.rst:1416 msgid "Lower left of keypad" msgstr "" -#: ../Doc/library/curses.rst:1410 +#: ../Doc/library/curses.rst:1418 msgid "``KEY_C3``" msgstr "``KEY_C3``" -#: ../Doc/library/curses.rst:1410 +#: ../Doc/library/curses.rst:1418 msgid "Lower right of keypad" msgstr "" -#: ../Doc/library/curses.rst:1412 +#: ../Doc/library/curses.rst:1420 msgid "``KEY_BTAB``" msgstr "``KEY_BTAB``" -#: ../Doc/library/curses.rst:1412 +#: ../Doc/library/curses.rst:1420 msgid "Back tab" msgstr "" -#: ../Doc/library/curses.rst:1414 +#: ../Doc/library/curses.rst:1422 msgid "``KEY_BEG``" msgstr "``KEY_BEG``" -#: ../Doc/library/curses.rst:1414 +#: ../Doc/library/curses.rst:1422 msgid "Beg (beginning)" msgstr "" -#: ../Doc/library/curses.rst:1416 +#: ../Doc/library/curses.rst:1424 msgid "``KEY_CANCEL``" msgstr "``KEY_CANCEL``" -#: ../Doc/library/curses.rst:1416 +#: ../Doc/library/curses.rst:1424 msgid "Cancel" msgstr "" -#: ../Doc/library/curses.rst:1418 +#: ../Doc/library/curses.rst:1426 msgid "``KEY_CLOSE``" msgstr "``KEY_CLOSE``" -#: ../Doc/library/curses.rst:1418 +#: ../Doc/library/curses.rst:1426 msgid "Close" msgstr "" -#: ../Doc/library/curses.rst:1420 +#: ../Doc/library/curses.rst:1428 msgid "``KEY_COMMAND``" msgstr "``KEY_COMMAND``" -#: ../Doc/library/curses.rst:1420 +#: ../Doc/library/curses.rst:1428 msgid "Cmd (command)" msgstr "" -#: ../Doc/library/curses.rst:1422 +#: ../Doc/library/curses.rst:1430 msgid "``KEY_COPY``" msgstr "``KEY_COPY``" -#: ../Doc/library/curses.rst:1422 +#: ../Doc/library/curses.rst:1430 msgid "Copy" msgstr "" -#: ../Doc/library/curses.rst:1424 +#: ../Doc/library/curses.rst:1432 msgid "``KEY_CREATE``" msgstr "``KEY_CREATE``" -#: ../Doc/library/curses.rst:1424 +#: ../Doc/library/curses.rst:1432 msgid "Create" msgstr "" -#: ../Doc/library/curses.rst:1426 +#: ../Doc/library/curses.rst:1434 msgid "``KEY_END``" msgstr "``KEY_END``" -#: ../Doc/library/curses.rst:1426 +#: ../Doc/library/curses.rst:1434 msgid "End" msgstr "" -#: ../Doc/library/curses.rst:1428 +#: ../Doc/library/curses.rst:1436 msgid "``KEY_EXIT``" msgstr "``KEY_EXIT``" -#: ../Doc/library/curses.rst:1428 +#: ../Doc/library/curses.rst:1436 msgid "Exit" msgstr "" -#: ../Doc/library/curses.rst:1430 +#: ../Doc/library/curses.rst:1438 msgid "``KEY_FIND``" msgstr "``KEY_FIND``" -#: ../Doc/library/curses.rst:1430 +#: ../Doc/library/curses.rst:1438 msgid "Find" msgstr "" -#: ../Doc/library/curses.rst:1432 +#: ../Doc/library/curses.rst:1440 msgid "``KEY_HELP``" msgstr "``KEY_HELP``" -#: ../Doc/library/curses.rst:1432 +#: ../Doc/library/curses.rst:1440 msgid "Help" msgstr "" -#: ../Doc/library/curses.rst:1434 +#: ../Doc/library/curses.rst:1442 msgid "``KEY_MARK``" msgstr "``KEY_MARK``" -#: ../Doc/library/curses.rst:1434 +#: ../Doc/library/curses.rst:1442 msgid "Mark" msgstr "" -#: ../Doc/library/curses.rst:1436 +#: ../Doc/library/curses.rst:1444 msgid "``KEY_MESSAGE``" msgstr "``KEY_MESSAGE``" -#: ../Doc/library/curses.rst:1436 +#: ../Doc/library/curses.rst:1444 msgid "Message" msgstr "" -#: ../Doc/library/curses.rst:1438 +#: ../Doc/library/curses.rst:1446 msgid "``KEY_MOVE``" msgstr "``KEY_MOVE``" -#: ../Doc/library/curses.rst:1438 +#: ../Doc/library/curses.rst:1446 msgid "Move" msgstr "" -#: ../Doc/library/curses.rst:1440 +#: ../Doc/library/curses.rst:1448 msgid "``KEY_NEXT``" msgstr "``KEY_NEXT``" -#: ../Doc/library/curses.rst:1440 +#: ../Doc/library/curses.rst:1448 msgid "Next" msgstr "" -#: ../Doc/library/curses.rst:1442 +#: ../Doc/library/curses.rst:1450 msgid "``KEY_OPEN``" msgstr "``KEY_OPEN``" -#: ../Doc/library/curses.rst:1442 +#: ../Doc/library/curses.rst:1450 msgid "Open" msgstr "" -#: ../Doc/library/curses.rst:1444 +#: ../Doc/library/curses.rst:1452 msgid "``KEY_OPTIONS``" msgstr "``KEY_OPTIONS``" -#: ../Doc/library/curses.rst:1444 +#: ../Doc/library/curses.rst:1452 msgid "Options" msgstr "Options" -#: ../Doc/library/curses.rst:1446 +#: ../Doc/library/curses.rst:1454 msgid "``KEY_PREVIOUS``" msgstr "``KEY_PREVIOUS``" -#: ../Doc/library/curses.rst:1446 +#: ../Doc/library/curses.rst:1454 msgid "Prev (previous)" msgstr "" -#: ../Doc/library/curses.rst:1448 +#: ../Doc/library/curses.rst:1456 msgid "``KEY_REDO``" msgstr "``KEY_REDO``" -#: ../Doc/library/curses.rst:1448 +#: ../Doc/library/curses.rst:1456 msgid "Redo" msgstr "" -#: ../Doc/library/curses.rst:1450 +#: ../Doc/library/curses.rst:1458 msgid "``KEY_REFERENCE``" msgstr "``KEY_REFERENCE``" -#: ../Doc/library/curses.rst:1450 +#: ../Doc/library/curses.rst:1458 msgid "Ref (reference)" msgstr "" -#: ../Doc/library/curses.rst:1452 +#: ../Doc/library/curses.rst:1460 msgid "``KEY_REFRESH``" msgstr "``KEY_REFRESH``" -#: ../Doc/library/curses.rst:1452 +#: ../Doc/library/curses.rst:1460 msgid "Refresh" msgstr "" -#: ../Doc/library/curses.rst:1454 +#: ../Doc/library/curses.rst:1462 msgid "``KEY_REPLACE``" msgstr "``KEY_REPLACE``" -#: ../Doc/library/curses.rst:1454 +#: ../Doc/library/curses.rst:1462 msgid "Replace" msgstr "" -#: ../Doc/library/curses.rst:1456 +#: ../Doc/library/curses.rst:1464 msgid "``KEY_RESTART``" msgstr "``KEY_RESTART``" -#: ../Doc/library/curses.rst:1456 +#: ../Doc/library/curses.rst:1464 msgid "Restart" msgstr "" -#: ../Doc/library/curses.rst:1458 +#: ../Doc/library/curses.rst:1466 msgid "``KEY_RESUME``" msgstr "``KEY_RESUME``" -#: ../Doc/library/curses.rst:1458 +#: ../Doc/library/curses.rst:1466 msgid "Resume" msgstr "" -#: ../Doc/library/curses.rst:1460 +#: ../Doc/library/curses.rst:1468 msgid "``KEY_SAVE``" msgstr "``KEY_SAVE``" -#: ../Doc/library/curses.rst:1460 +#: ../Doc/library/curses.rst:1468 msgid "Save" msgstr "" -#: ../Doc/library/curses.rst:1462 +#: ../Doc/library/curses.rst:1470 msgid "``KEY_SBEG``" msgstr "``KEY_SBEG``" -#: ../Doc/library/curses.rst:1462 +#: ../Doc/library/curses.rst:1470 msgid "Shifted Beg (beginning)" msgstr "" -#: ../Doc/library/curses.rst:1464 +#: ../Doc/library/curses.rst:1472 msgid "``KEY_SCANCEL``" msgstr "``KEY_SCANCEL``" -#: ../Doc/library/curses.rst:1464 +#: ../Doc/library/curses.rst:1472 msgid "Shifted Cancel" msgstr "" -#: ../Doc/library/curses.rst:1466 +#: ../Doc/library/curses.rst:1474 msgid "``KEY_SCOMMAND``" msgstr "``KEY_SCOMMAND``" -#: ../Doc/library/curses.rst:1466 +#: ../Doc/library/curses.rst:1474 msgid "Shifted Command" msgstr "" -#: ../Doc/library/curses.rst:1468 +#: ../Doc/library/curses.rst:1476 msgid "``KEY_SCOPY``" msgstr "``KEY_SCOPY``" -#: ../Doc/library/curses.rst:1468 +#: ../Doc/library/curses.rst:1476 msgid "Shifted Copy" msgstr "" -#: ../Doc/library/curses.rst:1470 +#: ../Doc/library/curses.rst:1478 msgid "``KEY_SCREATE``" msgstr "``KEY_SCREATE``" -#: ../Doc/library/curses.rst:1470 +#: ../Doc/library/curses.rst:1478 msgid "Shifted Create" msgstr "" -#: ../Doc/library/curses.rst:1472 +#: ../Doc/library/curses.rst:1480 msgid "``KEY_SDC``" msgstr "``KEY_SDC``" -#: ../Doc/library/curses.rst:1472 +#: ../Doc/library/curses.rst:1480 msgid "Shifted Delete char" msgstr "" -#: ../Doc/library/curses.rst:1474 +#: ../Doc/library/curses.rst:1482 msgid "``KEY_SDL``" msgstr "``KEY_SDL``" -#: ../Doc/library/curses.rst:1474 +#: ../Doc/library/curses.rst:1482 msgid "Shifted Delete line" msgstr "" -#: ../Doc/library/curses.rst:1476 +#: ../Doc/library/curses.rst:1484 msgid "``KEY_SELECT``" msgstr "``KEY_SELECT``" -#: ../Doc/library/curses.rst:1476 +#: ../Doc/library/curses.rst:1484 msgid "Select" msgstr "" -#: ../Doc/library/curses.rst:1478 +#: ../Doc/library/curses.rst:1486 msgid "``KEY_SEND``" msgstr "``KEY_SEND``" -#: ../Doc/library/curses.rst:1478 +#: ../Doc/library/curses.rst:1486 msgid "Shifted End" msgstr "" -#: ../Doc/library/curses.rst:1480 +#: ../Doc/library/curses.rst:1488 msgid "``KEY_SEOL``" msgstr "``KEY_SEOL``" -#: ../Doc/library/curses.rst:1480 +#: ../Doc/library/curses.rst:1488 msgid "Shifted Clear line" msgstr "" -#: ../Doc/library/curses.rst:1482 +#: ../Doc/library/curses.rst:1490 msgid "``KEY_SEXIT``" msgstr "``KEY_SEXIT``" -#: ../Doc/library/curses.rst:1482 +#: ../Doc/library/curses.rst:1490 msgid "Shifted Exit" msgstr "" -#: ../Doc/library/curses.rst:1484 +#: ../Doc/library/curses.rst:1492 msgid "``KEY_SFIND``" msgstr "``KEY_SFIND``" -#: ../Doc/library/curses.rst:1484 +#: ../Doc/library/curses.rst:1492 msgid "Shifted Find" msgstr "" -#: ../Doc/library/curses.rst:1486 +#: ../Doc/library/curses.rst:1494 msgid "``KEY_SHELP``" msgstr "``KEY_SHELP``" -#: ../Doc/library/curses.rst:1486 +#: ../Doc/library/curses.rst:1494 msgid "Shifted Help" msgstr "" -#: ../Doc/library/curses.rst:1488 +#: ../Doc/library/curses.rst:1496 msgid "``KEY_SHOME``" msgstr "``KEY_SHOME``" -#: ../Doc/library/curses.rst:1488 +#: ../Doc/library/curses.rst:1496 msgid "Shifted Home" msgstr "" -#: ../Doc/library/curses.rst:1490 +#: ../Doc/library/curses.rst:1498 msgid "``KEY_SIC``" msgstr "``KEY_SIC``" -#: ../Doc/library/curses.rst:1490 +#: ../Doc/library/curses.rst:1498 msgid "Shifted Input" msgstr "" -#: ../Doc/library/curses.rst:1492 +#: ../Doc/library/curses.rst:1500 msgid "``KEY_SLEFT``" msgstr "``KEY_SLEFT``" -#: ../Doc/library/curses.rst:1492 +#: ../Doc/library/curses.rst:1500 msgid "Shifted Left arrow" msgstr "" -#: ../Doc/library/curses.rst:1494 +#: ../Doc/library/curses.rst:1502 msgid "``KEY_SMESSAGE``" msgstr "``KEY_SMESSAGE``" -#: ../Doc/library/curses.rst:1494 +#: ../Doc/library/curses.rst:1502 msgid "Shifted Message" msgstr "" -#: ../Doc/library/curses.rst:1496 +#: ../Doc/library/curses.rst:1504 msgid "``KEY_SMOVE``" msgstr "``KEY_SMOVE``" -#: ../Doc/library/curses.rst:1496 +#: ../Doc/library/curses.rst:1504 msgid "Shifted Move" msgstr "" -#: ../Doc/library/curses.rst:1498 +#: ../Doc/library/curses.rst:1506 msgid "``KEY_SNEXT``" msgstr "``KEY_SNEXT``" -#: ../Doc/library/curses.rst:1498 +#: ../Doc/library/curses.rst:1506 msgid "Shifted Next" msgstr "" -#: ../Doc/library/curses.rst:1500 +#: ../Doc/library/curses.rst:1508 msgid "``KEY_SOPTIONS``" msgstr "``KEY_SOPTIONS``" -#: ../Doc/library/curses.rst:1500 +#: ../Doc/library/curses.rst:1508 msgid "Shifted Options" msgstr "" -#: ../Doc/library/curses.rst:1502 +#: ../Doc/library/curses.rst:1510 msgid "``KEY_SPREVIOUS``" msgstr "``KEY_SPREVIOUS``" -#: ../Doc/library/curses.rst:1502 +#: ../Doc/library/curses.rst:1510 msgid "Shifted Prev" msgstr "" -#: ../Doc/library/curses.rst:1504 +#: ../Doc/library/curses.rst:1512 msgid "``KEY_SPRINT``" msgstr "``KEY_SPRINT``" -#: ../Doc/library/curses.rst:1504 +#: ../Doc/library/curses.rst:1512 msgid "Shifted Print" msgstr "" -#: ../Doc/library/curses.rst:1506 +#: ../Doc/library/curses.rst:1514 msgid "``KEY_SREDO``" msgstr "``KEY_SREDO``" -#: ../Doc/library/curses.rst:1506 +#: ../Doc/library/curses.rst:1514 msgid "Shifted Redo" msgstr "" -#: ../Doc/library/curses.rst:1508 +#: ../Doc/library/curses.rst:1516 msgid "``KEY_SREPLACE``" msgstr "``KEY_SREPLACE``" -#: ../Doc/library/curses.rst:1508 +#: ../Doc/library/curses.rst:1516 msgid "Shifted Replace" msgstr "" -#: ../Doc/library/curses.rst:1510 +#: ../Doc/library/curses.rst:1518 msgid "``KEY_SRIGHT``" msgstr "``KEY_SRIGHT``" -#: ../Doc/library/curses.rst:1510 +#: ../Doc/library/curses.rst:1518 msgid "Shifted Right arrow" msgstr "" -#: ../Doc/library/curses.rst:1512 +#: ../Doc/library/curses.rst:1520 msgid "``KEY_SRSUME``" msgstr "``KEY_SRSUME``" -#: ../Doc/library/curses.rst:1512 +#: ../Doc/library/curses.rst:1520 msgid "Shifted Resume" msgstr "" -#: ../Doc/library/curses.rst:1514 +#: ../Doc/library/curses.rst:1522 msgid "``KEY_SSAVE``" msgstr "``KEY_SSAVE``" -#: ../Doc/library/curses.rst:1514 +#: ../Doc/library/curses.rst:1522 msgid "Shifted Save" msgstr "" -#: ../Doc/library/curses.rst:1516 +#: ../Doc/library/curses.rst:1524 msgid "``KEY_SSUSPEND``" msgstr "``KEY_SSUSPEND``" -#: ../Doc/library/curses.rst:1516 +#: ../Doc/library/curses.rst:1524 msgid "Shifted Suspend" msgstr "" -#: ../Doc/library/curses.rst:1518 +#: ../Doc/library/curses.rst:1526 msgid "``KEY_SUNDO``" msgstr "``KEY_SUNDO``" -#: ../Doc/library/curses.rst:1518 +#: ../Doc/library/curses.rst:1526 msgid "Shifted Undo" msgstr "" -#: ../Doc/library/curses.rst:1520 +#: ../Doc/library/curses.rst:1528 msgid "``KEY_SUSPEND``" msgstr "``KEY_SUSPEND``" -#: ../Doc/library/curses.rst:1520 +#: ../Doc/library/curses.rst:1528 msgid "Suspend" msgstr "" -#: ../Doc/library/curses.rst:1522 +#: ../Doc/library/curses.rst:1530 msgid "``KEY_UNDO``" msgstr "``KEY_UNDO``" -#: ../Doc/library/curses.rst:1522 +#: ../Doc/library/curses.rst:1530 msgid "Undo" msgstr "" -#: ../Doc/library/curses.rst:1524 +#: ../Doc/library/curses.rst:1532 msgid "``KEY_MOUSE``" msgstr "``KEY_MOUSE``" -#: ../Doc/library/curses.rst:1524 +#: ../Doc/library/curses.rst:1532 msgid "Mouse event has occurred" msgstr "" -#: ../Doc/library/curses.rst:1526 +#: ../Doc/library/curses.rst:1534 msgid "``KEY_RESIZE``" msgstr "``KEY_RESIZE``" -#: ../Doc/library/curses.rst:1526 +#: ../Doc/library/curses.rst:1534 msgid "Terminal resize event" msgstr "" -#: ../Doc/library/curses.rst:1528 +#: ../Doc/library/curses.rst:1536 msgid "``KEY_MAX``" msgstr "``KEY_MAX``" -#: ../Doc/library/curses.rst:1528 +#: ../Doc/library/curses.rst:1536 msgid "Maximum key value" msgstr "" -#: ../Doc/library/curses.rst:1531 +#: ../Doc/library/curses.rst:1539 msgid "" "On VT100s and their software emulations, such as X terminal emulators, there " "are normally at least four function keys (:const:`KEY_F1`, :const:`KEY_F2`, :" @@ -2362,64 +2377,64 @@ msgid "" "function keys); also, the following keypad mappings are standard:" msgstr "" -#: ../Doc/library/curses.rst:1540 +#: ../Doc/library/curses.rst:1548 msgid "Keycap" msgstr "" -#: ../Doc/library/curses.rst:1540 ../Doc/library/curses.rst:1657 -#: ../Doc/library/curses.rst:1781 +#: ../Doc/library/curses.rst:1548 ../Doc/library/curses.rst:1665 +#: ../Doc/library/curses.rst:1789 msgid "Constant" msgstr "" -#: ../Doc/library/curses.rst:1542 +#: ../Doc/library/curses.rst:1550 msgid ":kbd:`Insert`" msgstr ":kbd:`Insert`" -#: ../Doc/library/curses.rst:1542 +#: ../Doc/library/curses.rst:1550 msgid "KEY_IC" msgstr "" -#: ../Doc/library/curses.rst:1544 +#: ../Doc/library/curses.rst:1552 msgid ":kbd:`Delete`" msgstr ":kbd:`Delete`" -#: ../Doc/library/curses.rst:1544 +#: ../Doc/library/curses.rst:1552 msgid "KEY_DC" msgstr "" -#: ../Doc/library/curses.rst:1546 +#: ../Doc/library/curses.rst:1554 msgid ":kbd:`Home`" msgstr ":kbd:`Home`" -#: ../Doc/library/curses.rst:1546 +#: ../Doc/library/curses.rst:1554 msgid "KEY_HOME" msgstr "KEY_HOME" -#: ../Doc/library/curses.rst:1548 +#: ../Doc/library/curses.rst:1556 msgid ":kbd:`End`" msgstr ":kbd:`End`" -#: ../Doc/library/curses.rst:1548 +#: ../Doc/library/curses.rst:1556 msgid "KEY_END" msgstr "KEY_END" -#: ../Doc/library/curses.rst:1550 +#: ../Doc/library/curses.rst:1558 msgid ":kbd:`Page Up`" msgstr ":kbd:`Page Up`" -#: ../Doc/library/curses.rst:1550 +#: ../Doc/library/curses.rst:1558 msgid "KEY_PPAGE" msgstr "KEY_PPAGE" -#: ../Doc/library/curses.rst:1552 +#: ../Doc/library/curses.rst:1560 msgid ":kbd:`Page Down`" msgstr ":kbd:`Page Down`" -#: ../Doc/library/curses.rst:1552 +#: ../Doc/library/curses.rst:1560 msgid "KEY_NPAGE" msgstr "KEY_NPAGE" -#: ../Doc/library/curses.rst:1555 +#: ../Doc/library/curses.rst:1563 msgid "" "The following table lists characters from the alternate character set. These " "are inherited from the VT100 terminal, and will generally be available on " @@ -2427,435 +2442,435 @@ msgid "" "available, curses falls back on a crude printable ASCII approximation." msgstr "" -#: ../Doc/library/curses.rst:1562 +#: ../Doc/library/curses.rst:1570 msgid "These are available only after :func:`initscr` has been called." msgstr "" -#: ../Doc/library/curses.rst:1565 +#: ../Doc/library/curses.rst:1573 msgid "ACS code" msgstr "" -#: ../Doc/library/curses.rst:1567 +#: ../Doc/library/curses.rst:1575 msgid "``ACS_BBSS``" msgstr "``ACS_BBSS``" -#: ../Doc/library/curses.rst:1567 +#: ../Doc/library/curses.rst:1575 msgid "alternate name for upper right corner" msgstr "" -#: ../Doc/library/curses.rst:1569 +#: ../Doc/library/curses.rst:1577 msgid "``ACS_BLOCK``" msgstr "``ACS_BLOCK``" -#: ../Doc/library/curses.rst:1569 +#: ../Doc/library/curses.rst:1577 msgid "solid square block" msgstr "" -#: ../Doc/library/curses.rst:1571 +#: ../Doc/library/curses.rst:1579 msgid "``ACS_BOARD``" msgstr "``ACS_BOARD``" -#: ../Doc/library/curses.rst:1571 +#: ../Doc/library/curses.rst:1579 msgid "board of squares" msgstr "" -#: ../Doc/library/curses.rst:1573 +#: ../Doc/library/curses.rst:1581 msgid "``ACS_BSBS``" msgstr "``ACS_BSBS``" -#: ../Doc/library/curses.rst:1573 +#: ../Doc/library/curses.rst:1581 msgid "alternate name for horizontal line" msgstr "" -#: ../Doc/library/curses.rst:1575 +#: ../Doc/library/curses.rst:1583 msgid "``ACS_BSSB``" msgstr "``ACS_BSSB``" -#: ../Doc/library/curses.rst:1575 +#: ../Doc/library/curses.rst:1583 msgid "alternate name for upper left corner" msgstr "" -#: ../Doc/library/curses.rst:1577 +#: ../Doc/library/curses.rst:1585 msgid "``ACS_BSSS``" msgstr "``ACS_BSSS``" -#: ../Doc/library/curses.rst:1577 +#: ../Doc/library/curses.rst:1585 msgid "alternate name for top tee" msgstr "" -#: ../Doc/library/curses.rst:1579 +#: ../Doc/library/curses.rst:1587 msgid "``ACS_BTEE``" msgstr "``ACS_BTEE``" -#: ../Doc/library/curses.rst:1579 +#: ../Doc/library/curses.rst:1587 msgid "bottom tee" msgstr "" -#: ../Doc/library/curses.rst:1581 +#: ../Doc/library/curses.rst:1589 msgid "``ACS_BULLET``" msgstr "``ACS_BULLET``" -#: ../Doc/library/curses.rst:1581 +#: ../Doc/library/curses.rst:1589 msgid "bullet" msgstr "" -#: ../Doc/library/curses.rst:1583 +#: ../Doc/library/curses.rst:1591 msgid "``ACS_CKBOARD``" msgstr "``ACS_CKBOARD``" -#: ../Doc/library/curses.rst:1583 +#: ../Doc/library/curses.rst:1591 msgid "checker board (stipple)" msgstr "" -#: ../Doc/library/curses.rst:1585 +#: ../Doc/library/curses.rst:1593 msgid "``ACS_DARROW``" msgstr "``ACS_DARROW``" -#: ../Doc/library/curses.rst:1585 +#: ../Doc/library/curses.rst:1593 msgid "arrow pointing down" msgstr "" -#: ../Doc/library/curses.rst:1587 +#: ../Doc/library/curses.rst:1595 msgid "``ACS_DEGREE``" msgstr "``ACS_DEGREE``" -#: ../Doc/library/curses.rst:1587 +#: ../Doc/library/curses.rst:1595 msgid "degree symbol" msgstr "" -#: ../Doc/library/curses.rst:1589 +#: ../Doc/library/curses.rst:1597 msgid "``ACS_DIAMOND``" msgstr "``ACS_DIAMOND``" -#: ../Doc/library/curses.rst:1589 +#: ../Doc/library/curses.rst:1597 msgid "diamond" msgstr "" -#: ../Doc/library/curses.rst:1591 +#: ../Doc/library/curses.rst:1599 msgid "``ACS_GEQUAL``" msgstr "``ACS_GEQUAL``" -#: ../Doc/library/curses.rst:1591 +#: ../Doc/library/curses.rst:1599 msgid "greater-than-or-equal-to" msgstr "" -#: ../Doc/library/curses.rst:1593 +#: ../Doc/library/curses.rst:1601 msgid "``ACS_HLINE``" msgstr "``ACS_HLINE``" -#: ../Doc/library/curses.rst:1593 +#: ../Doc/library/curses.rst:1601 msgid "horizontal line" msgstr "" -#: ../Doc/library/curses.rst:1595 +#: ../Doc/library/curses.rst:1603 msgid "``ACS_LANTERN``" msgstr "``ACS_LANTERN``" -#: ../Doc/library/curses.rst:1595 +#: ../Doc/library/curses.rst:1603 msgid "lantern symbol" msgstr "" -#: ../Doc/library/curses.rst:1597 +#: ../Doc/library/curses.rst:1605 msgid "``ACS_LARROW``" msgstr "``ACS_LARROW``" -#: ../Doc/library/curses.rst:1597 +#: ../Doc/library/curses.rst:1605 msgid "left arrow" msgstr "" -#: ../Doc/library/curses.rst:1599 +#: ../Doc/library/curses.rst:1607 msgid "``ACS_LEQUAL``" msgstr "``ACS_LEQUAL``" -#: ../Doc/library/curses.rst:1599 +#: ../Doc/library/curses.rst:1607 msgid "less-than-or-equal-to" msgstr "" -#: ../Doc/library/curses.rst:1601 +#: ../Doc/library/curses.rst:1609 msgid "``ACS_LLCORNER``" msgstr "``ACS_LLCORNER``" -#: ../Doc/library/curses.rst:1601 +#: ../Doc/library/curses.rst:1609 msgid "lower left-hand corner" msgstr "" -#: ../Doc/library/curses.rst:1603 +#: ../Doc/library/curses.rst:1611 msgid "``ACS_LRCORNER``" msgstr "``ACS_LRCORNER``" -#: ../Doc/library/curses.rst:1603 +#: ../Doc/library/curses.rst:1611 msgid "lower right-hand corner" msgstr "" -#: ../Doc/library/curses.rst:1605 +#: ../Doc/library/curses.rst:1613 msgid "``ACS_LTEE``" msgstr "``ACS_LTEE``" -#: ../Doc/library/curses.rst:1605 +#: ../Doc/library/curses.rst:1613 msgid "left tee" msgstr "" -#: ../Doc/library/curses.rst:1607 +#: ../Doc/library/curses.rst:1615 msgid "``ACS_NEQUAL``" msgstr "``ACS_NEQUAL``" -#: ../Doc/library/curses.rst:1607 +#: ../Doc/library/curses.rst:1615 msgid "not-equal sign" msgstr "" -#: ../Doc/library/curses.rst:1609 +#: ../Doc/library/curses.rst:1617 msgid "``ACS_PI``" msgstr "``ACS_PI``" -#: ../Doc/library/curses.rst:1609 +#: ../Doc/library/curses.rst:1617 msgid "letter pi" msgstr "" -#: ../Doc/library/curses.rst:1611 +#: ../Doc/library/curses.rst:1619 msgid "``ACS_PLMINUS``" msgstr "``ACS_PLMINUS``" -#: ../Doc/library/curses.rst:1611 +#: ../Doc/library/curses.rst:1619 msgid "plus-or-minus sign" msgstr "" -#: ../Doc/library/curses.rst:1613 +#: ../Doc/library/curses.rst:1621 msgid "``ACS_PLUS``" msgstr "``ACS_PLUS``" -#: ../Doc/library/curses.rst:1613 +#: ../Doc/library/curses.rst:1621 msgid "big plus sign" msgstr "" -#: ../Doc/library/curses.rst:1615 +#: ../Doc/library/curses.rst:1623 msgid "``ACS_RARROW``" msgstr "``ACS_RARROW``" -#: ../Doc/library/curses.rst:1615 +#: ../Doc/library/curses.rst:1623 msgid "right arrow" msgstr "" -#: ../Doc/library/curses.rst:1617 +#: ../Doc/library/curses.rst:1625 msgid "``ACS_RTEE``" msgstr "``ACS_RTEE``" -#: ../Doc/library/curses.rst:1617 +#: ../Doc/library/curses.rst:1625 msgid "right tee" msgstr "" -#: ../Doc/library/curses.rst:1619 +#: ../Doc/library/curses.rst:1627 msgid "``ACS_S1``" msgstr "``ACS_S1``" -#: ../Doc/library/curses.rst:1619 +#: ../Doc/library/curses.rst:1627 msgid "scan line 1" msgstr "" -#: ../Doc/library/curses.rst:1621 +#: ../Doc/library/curses.rst:1629 msgid "``ACS_S3``" msgstr "``ACS_S3``" -#: ../Doc/library/curses.rst:1621 +#: ../Doc/library/curses.rst:1629 msgid "scan line 3" msgstr "" -#: ../Doc/library/curses.rst:1623 +#: ../Doc/library/curses.rst:1631 msgid "``ACS_S7``" msgstr "``ACS_S7``" -#: ../Doc/library/curses.rst:1623 +#: ../Doc/library/curses.rst:1631 msgid "scan line 7" msgstr "" -#: ../Doc/library/curses.rst:1625 +#: ../Doc/library/curses.rst:1633 msgid "``ACS_S9``" msgstr "``ACS_S9``" -#: ../Doc/library/curses.rst:1625 +#: ../Doc/library/curses.rst:1633 msgid "scan line 9" msgstr "" -#: ../Doc/library/curses.rst:1627 +#: ../Doc/library/curses.rst:1635 msgid "``ACS_SBBS``" msgstr "``ACS_SBBS``" -#: ../Doc/library/curses.rst:1627 +#: ../Doc/library/curses.rst:1635 msgid "alternate name for lower right corner" msgstr "" -#: ../Doc/library/curses.rst:1629 +#: ../Doc/library/curses.rst:1637 msgid "``ACS_SBSB``" msgstr "``ACS_SBSB``" -#: ../Doc/library/curses.rst:1629 +#: ../Doc/library/curses.rst:1637 msgid "alternate name for vertical line" msgstr "" -#: ../Doc/library/curses.rst:1631 +#: ../Doc/library/curses.rst:1639 msgid "``ACS_SBSS``" msgstr "``ACS_SBSS``" -#: ../Doc/library/curses.rst:1631 +#: ../Doc/library/curses.rst:1639 msgid "alternate name for right tee" msgstr "" -#: ../Doc/library/curses.rst:1633 +#: ../Doc/library/curses.rst:1641 msgid "``ACS_SSBB``" msgstr "``ACS_SSBB``" -#: ../Doc/library/curses.rst:1633 +#: ../Doc/library/curses.rst:1641 msgid "alternate name for lower left corner" msgstr "" -#: ../Doc/library/curses.rst:1635 +#: ../Doc/library/curses.rst:1643 msgid "``ACS_SSBS``" msgstr "``ACS_SSBS``" -#: ../Doc/library/curses.rst:1635 +#: ../Doc/library/curses.rst:1643 msgid "alternate name for bottom tee" msgstr "" -#: ../Doc/library/curses.rst:1637 +#: ../Doc/library/curses.rst:1645 msgid "``ACS_SSSB``" msgstr "``ACS_SSSB``" -#: ../Doc/library/curses.rst:1637 +#: ../Doc/library/curses.rst:1645 msgid "alternate name for left tee" msgstr "" -#: ../Doc/library/curses.rst:1639 +#: ../Doc/library/curses.rst:1647 msgid "``ACS_SSSS``" msgstr "``ACS_SSSS``" -#: ../Doc/library/curses.rst:1639 +#: ../Doc/library/curses.rst:1647 msgid "alternate name for crossover or big plus" msgstr "" -#: ../Doc/library/curses.rst:1641 +#: ../Doc/library/curses.rst:1649 msgid "``ACS_STERLING``" msgstr "``ACS_STERLING``" -#: ../Doc/library/curses.rst:1641 +#: ../Doc/library/curses.rst:1649 msgid "pound sterling" msgstr "" -#: ../Doc/library/curses.rst:1643 +#: ../Doc/library/curses.rst:1651 msgid "``ACS_TTEE``" msgstr "``ACS_TTEE``" -#: ../Doc/library/curses.rst:1643 +#: ../Doc/library/curses.rst:1651 msgid "top tee" msgstr "" -#: ../Doc/library/curses.rst:1645 +#: ../Doc/library/curses.rst:1653 msgid "``ACS_UARROW``" msgstr "``ACS_UARROW``" -#: ../Doc/library/curses.rst:1645 +#: ../Doc/library/curses.rst:1653 msgid "up arrow" msgstr "" -#: ../Doc/library/curses.rst:1647 +#: ../Doc/library/curses.rst:1655 msgid "``ACS_ULCORNER``" msgstr "``ACS_ULCORNER``" -#: ../Doc/library/curses.rst:1647 +#: ../Doc/library/curses.rst:1655 msgid "upper left corner" msgstr "" -#: ../Doc/library/curses.rst:1649 +#: ../Doc/library/curses.rst:1657 msgid "``ACS_URCORNER``" msgstr "``ACS_URCORNER``" -#: ../Doc/library/curses.rst:1649 +#: ../Doc/library/curses.rst:1657 msgid "upper right corner" msgstr "" -#: ../Doc/library/curses.rst:1651 +#: ../Doc/library/curses.rst:1659 msgid "``ACS_VLINE``" msgstr "``ACS_VLINE``" -#: ../Doc/library/curses.rst:1651 +#: ../Doc/library/curses.rst:1659 msgid "vertical line" msgstr "" -#: ../Doc/library/curses.rst:1654 +#: ../Doc/library/curses.rst:1662 msgid "The following table lists the predefined colors:" msgstr "" -#: ../Doc/library/curses.rst:1657 +#: ../Doc/library/curses.rst:1665 msgid "Color" msgstr "" -#: ../Doc/library/curses.rst:1659 +#: ../Doc/library/curses.rst:1667 msgid "``COLOR_BLACK``" msgstr "``COLOR_BLACK``" -#: ../Doc/library/curses.rst:1659 +#: ../Doc/library/curses.rst:1667 msgid "Black" msgstr "" -#: ../Doc/library/curses.rst:1661 +#: ../Doc/library/curses.rst:1669 msgid "``COLOR_BLUE``" msgstr "``COLOR_BLUE``" -#: ../Doc/library/curses.rst:1661 +#: ../Doc/library/curses.rst:1669 msgid "Blue" msgstr "" -#: ../Doc/library/curses.rst:1663 +#: ../Doc/library/curses.rst:1671 msgid "``COLOR_CYAN``" msgstr "``COLOR_CYAN``" -#: ../Doc/library/curses.rst:1663 +#: ../Doc/library/curses.rst:1671 msgid "Cyan (light greenish blue)" msgstr "" -#: ../Doc/library/curses.rst:1665 +#: ../Doc/library/curses.rst:1673 msgid "``COLOR_GREEN``" msgstr "``COLOR_GREEN``" -#: ../Doc/library/curses.rst:1665 +#: ../Doc/library/curses.rst:1673 msgid "Green" msgstr "" -#: ../Doc/library/curses.rst:1667 +#: ../Doc/library/curses.rst:1675 msgid "``COLOR_MAGENTA``" msgstr "``COLOR_MAGENTA``" -#: ../Doc/library/curses.rst:1667 +#: ../Doc/library/curses.rst:1675 msgid "Magenta (purplish red)" msgstr "" -#: ../Doc/library/curses.rst:1669 +#: ../Doc/library/curses.rst:1677 msgid "``COLOR_RED``" msgstr "``COLOR_RED``" -#: ../Doc/library/curses.rst:1669 +#: ../Doc/library/curses.rst:1677 msgid "Red" msgstr "" -#: ../Doc/library/curses.rst:1671 +#: ../Doc/library/curses.rst:1679 msgid "``COLOR_WHITE``" msgstr "``COLOR_WHITE``" -#: ../Doc/library/curses.rst:1671 +#: ../Doc/library/curses.rst:1679 msgid "White" msgstr "" -#: ../Doc/library/curses.rst:1673 +#: ../Doc/library/curses.rst:1681 msgid "``COLOR_YELLOW``" msgstr "``COLOR_YELLOW``" -#: ../Doc/library/curses.rst:1673 +#: ../Doc/library/curses.rst:1681 msgid "Yellow" msgstr "" -#: ../Doc/library/curses.rst:1678 +#: ../Doc/library/curses.rst:1686 msgid ":mod:`curses.textpad` --- Text input widget for curses programs" msgstr "" -#: ../Doc/library/curses.rst:1686 +#: ../Doc/library/curses.rst:1694 msgid "" "The :mod:`curses.textpad` module provides a :class:`Textbox` class that " "handles elementary text editing in a curses window, supporting a set of " @@ -2865,11 +2880,11 @@ msgid "" "purposes." msgstr "" -#: ../Doc/library/curses.rst:1692 +#: ../Doc/library/curses.rst:1700 msgid "The module :mod:`curses.textpad` defines the following function:" msgstr "" -#: ../Doc/library/curses.rst:1697 +#: ../Doc/library/curses.rst:1705 msgid "" "Draw a rectangle. The first argument must be a window object; the remaining " "arguments are coordinates relative to that window. The second and third " @@ -2881,15 +2896,15 @@ msgid "" "will be drawn with ASCII dashes, vertical bars, and plus signs." msgstr "" -#: ../Doc/library/curses.rst:1710 +#: ../Doc/library/curses.rst:1718 msgid "Textbox objects" msgstr "" -#: ../Doc/library/curses.rst:1712 +#: ../Doc/library/curses.rst:1720 msgid "You can instantiate a :class:`Textbox` object as follows:" msgstr "" -#: ../Doc/library/curses.rst:1717 +#: ../Doc/library/curses.rst:1725 msgid "" "Return a textbox widget object. The *win* argument should be a curses :ref:" "`window ` object in which the textbox is to be " @@ -2898,11 +2913,11 @@ msgid "" "instance's :attr:`stripspaces` flag is initially on." msgstr "" -#: ../Doc/library/curses.rst:1723 +#: ../Doc/library/curses.rst:1731 msgid ":class:`Textbox` objects have the following methods:" msgstr "" -#: ../Doc/library/curses.rst:1728 +#: ../Doc/library/curses.rst:1736 msgid "" "This is the entry point you will normally use. It accepts editing " "keystrokes until one of the termination keystrokes is entered. If " @@ -2913,167 +2928,167 @@ msgid "" "`stripspaces` attribute." msgstr "" -#: ../Doc/library/curses.rst:1739 +#: ../Doc/library/curses.rst:1747 msgid "" "Process a single command keystroke. Here are the supported special " "keystrokes:" msgstr "" -#: ../Doc/library/curses.rst:1743 ../Doc/library/curses.rst:1781 +#: ../Doc/library/curses.rst:1751 ../Doc/library/curses.rst:1789 msgid "Keystroke" msgstr "" -#: ../Doc/library/curses.rst:1743 +#: ../Doc/library/curses.rst:1751 msgid "Action" msgstr "" -#: ../Doc/library/curses.rst:1745 +#: ../Doc/library/curses.rst:1753 msgid ":kbd:`Control-A`" msgstr ":kbd:`Control-A`" -#: ../Doc/library/curses.rst:1745 +#: ../Doc/library/curses.rst:1753 msgid "Go to left edge of window." msgstr "" -#: ../Doc/library/curses.rst:1747 ../Doc/library/curses.rst:1783 +#: ../Doc/library/curses.rst:1755 ../Doc/library/curses.rst:1791 msgid ":kbd:`Control-B`" msgstr ":kbd:`Control-B`" -#: ../Doc/library/curses.rst:1747 +#: ../Doc/library/curses.rst:1755 msgid "Cursor left, wrapping to previous line if appropriate." msgstr "" -#: ../Doc/library/curses.rst:1750 +#: ../Doc/library/curses.rst:1758 msgid ":kbd:`Control-D`" msgstr ":kbd:`Control-D`" -#: ../Doc/library/curses.rst:1750 +#: ../Doc/library/curses.rst:1758 msgid "Delete character under cursor." msgstr "" -#: ../Doc/library/curses.rst:1752 +#: ../Doc/library/curses.rst:1760 msgid ":kbd:`Control-E`" msgstr ":kbd:`Control-E`" -#: ../Doc/library/curses.rst:1752 +#: ../Doc/library/curses.rst:1760 msgid "Go to right edge (stripspaces off) or end of line (stripspaces on)." msgstr "" -#: ../Doc/library/curses.rst:1755 ../Doc/library/curses.rst:1785 +#: ../Doc/library/curses.rst:1763 ../Doc/library/curses.rst:1793 msgid ":kbd:`Control-F`" msgstr ":kbd:`Control-F`" -#: ../Doc/library/curses.rst:1755 +#: ../Doc/library/curses.rst:1763 msgid "Cursor right, wrapping to next line when appropriate." msgstr "" -#: ../Doc/library/curses.rst:1758 +#: ../Doc/library/curses.rst:1766 msgid ":kbd:`Control-G`" msgstr ":kbd:`Control-G`" -#: ../Doc/library/curses.rst:1758 +#: ../Doc/library/curses.rst:1766 msgid "Terminate, returning the window contents." msgstr "" -#: ../Doc/library/curses.rst:1760 +#: ../Doc/library/curses.rst:1768 msgid ":kbd:`Control-H`" msgstr ":kbd:`Control-H`" -#: ../Doc/library/curses.rst:1760 +#: ../Doc/library/curses.rst:1768 msgid "Delete character backward." msgstr "" -#: ../Doc/library/curses.rst:1762 +#: ../Doc/library/curses.rst:1770 msgid ":kbd:`Control-J`" msgstr ":kbd:`Control-J`" -#: ../Doc/library/curses.rst:1762 +#: ../Doc/library/curses.rst:1770 msgid "Terminate if the window is 1 line, otherwise insert newline." msgstr "" -#: ../Doc/library/curses.rst:1765 +#: ../Doc/library/curses.rst:1773 msgid ":kbd:`Control-K`" msgstr ":kbd:`Control-K`" -#: ../Doc/library/curses.rst:1765 +#: ../Doc/library/curses.rst:1773 msgid "If line is blank, delete it, otherwise clear to end of line." msgstr "" -#: ../Doc/library/curses.rst:1768 +#: ../Doc/library/curses.rst:1776 msgid ":kbd:`Control-L`" msgstr ":kbd:`Control-L`" -#: ../Doc/library/curses.rst:1768 +#: ../Doc/library/curses.rst:1776 msgid "Refresh screen." msgstr "" -#: ../Doc/library/curses.rst:1770 ../Doc/library/curses.rst:1789 +#: ../Doc/library/curses.rst:1778 ../Doc/library/curses.rst:1797 msgid ":kbd:`Control-N`" msgstr ":kbd:`Control-N`" -#: ../Doc/library/curses.rst:1770 +#: ../Doc/library/curses.rst:1778 msgid "Cursor down; move down one line." msgstr "" -#: ../Doc/library/curses.rst:1772 +#: ../Doc/library/curses.rst:1780 msgid ":kbd:`Control-O`" msgstr ":kbd:`Control-O`" -#: ../Doc/library/curses.rst:1772 +#: ../Doc/library/curses.rst:1780 msgid "Insert a blank line at cursor location." msgstr "" -#: ../Doc/library/curses.rst:1774 ../Doc/library/curses.rst:1787 +#: ../Doc/library/curses.rst:1782 ../Doc/library/curses.rst:1795 msgid ":kbd:`Control-P`" msgstr ":kbd:`Control-P`" -#: ../Doc/library/curses.rst:1774 +#: ../Doc/library/curses.rst:1782 msgid "Cursor up; move up one line." msgstr "" -#: ../Doc/library/curses.rst:1777 +#: ../Doc/library/curses.rst:1785 msgid "" "Move operations do nothing if the cursor is at an edge where the movement is " "not possible. The following synonyms are supported where possible:" msgstr "" -#: ../Doc/library/curses.rst:1783 +#: ../Doc/library/curses.rst:1791 msgid ":const:`KEY_LEFT`" msgstr ":const:`KEY_LEFT`" -#: ../Doc/library/curses.rst:1785 +#: ../Doc/library/curses.rst:1793 msgid ":const:`KEY_RIGHT`" msgstr ":const:`KEY_RIGHT`" -#: ../Doc/library/curses.rst:1787 +#: ../Doc/library/curses.rst:1795 msgid ":const:`KEY_UP`" msgstr ":const:`KEY_UP`" -#: ../Doc/library/curses.rst:1789 +#: ../Doc/library/curses.rst:1797 msgid ":const:`KEY_DOWN`" msgstr ":const:`KEY_DOWN`" -#: ../Doc/library/curses.rst:1791 +#: ../Doc/library/curses.rst:1799 msgid ":const:`KEY_BACKSPACE`" msgstr ":const:`KEY_BACKSPACE`" -#: ../Doc/library/curses.rst:1791 +#: ../Doc/library/curses.rst:1799 msgid ":kbd:`Control-h`" msgstr ":kbd:`Control-h`" -#: ../Doc/library/curses.rst:1794 +#: ../Doc/library/curses.rst:1802 msgid "" "All other keystrokes are treated as a command to insert the given character " "and move right (with line wrapping)." msgstr "" -#: ../Doc/library/curses.rst:1800 +#: ../Doc/library/curses.rst:1808 msgid "" "Return the window contents as a string; whether blanks in the window are " "included is affected by the :attr:`stripspaces` member." msgstr "" -#: ../Doc/library/curses.rst:1806 +#: ../Doc/library/curses.rst:1814 msgid "" "This attribute is a flag which controls the interpretation of blanks in the " "window. When it is on, trailing blanks on each line are ignored; any cursor " diff --git a/library/dis.po b/library/dis.po index 38f41382..30a3e3ce 100644 --- a/library/dis.po +++ b/library/dis.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1051,7 +1051,7 @@ msgid "" "the function object to call is placed. Pops all function arguments, and the " "function itself off the stack, and pushes the return value. Note that this " "opcode pops at most three items from the stack. Var-positional and var-" -"keyword arguments are packed by :opcode:`BUILD_MAP_UNPACK_WITH_CALL` and :" +"keyword arguments are packed by :opcode:`BUILD_TUPLE_UNPACK_WITH_CALL` and :" "opcode:`BUILD_MAP_UNPACK_WITH_CALL`." msgstr "" diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 9621d758..64b2c187 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -369,27 +369,55 @@ msgstr "" msgid "The default mappings are:" msgstr "" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "subject" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:324 msgid "UniqueUnstructuredHeader" msgstr "UniqueUnstructuredHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "date" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:325 #: ../Doc/library/email.headerregistry.rst:327 msgid "UniqueDateHeader" msgstr "UniqueDateHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "resent-date" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:326 msgid "DateHeader" msgstr "DateHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "orig-date" +msgstr "" + +#: ../Doc/library/email.headerregistry.rst:0 +msgid "sender" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:328 msgid "UniqueSingleAddressHeader" msgstr "UniqueSingleAddressHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "resent-sender" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:329 msgid "SingleAddressHeader" msgstr "SingleAddressHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "to" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:330 #: ../Doc/library/email.headerregistry.rst:332 #: ../Doc/library/email.headerregistry.rst:334 @@ -397,12 +425,36 @@ msgstr "SingleAddressHeader" msgid "UniqueAddressHeader" msgstr "UniqueAddressHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "resent-to" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:331 #: ../Doc/library/email.headerregistry.rst:333 #: ../Doc/library/email.headerregistry.rst:335 msgid "AddressHeader" msgstr "AddressHeader" +#: ../Doc/library/email.headerregistry.rst:0 +msgid "cc" +msgstr "" + +#: ../Doc/library/email.headerregistry.rst:0 +msgid "resent-cc" +msgstr "" + +#: ../Doc/library/email.headerregistry.rst:0 +msgid "from" +msgstr "" + +#: ../Doc/library/email.headerregistry.rst:0 +msgid "resent-from" +msgstr "" + +#: ../Doc/library/email.headerregistry.rst:0 +msgid "reply-to" +msgstr "" + #: ../Doc/library/email.headerregistry.rst:338 msgid "``HeaderRegistry`` has the following methods:" msgstr "" diff --git a/library/ensurepip.po b/library/ensurepip.po index 1c7399ba..f23ea124 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 00:59+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -131,78 +131,82 @@ msgid "" "Providing both of the script selection options will trigger an exception." msgstr "" -#: ../Doc/library/ensurepip.rst:83 +#: ../Doc/library/ensurepip.rst:81 +msgid "The exit status is non-zero if the command fails." +msgstr "" + +#: ../Doc/library/ensurepip.rst:86 msgid "Module API" msgstr "" -#: ../Doc/library/ensurepip.rst:85 +#: ../Doc/library/ensurepip.rst:88 msgid ":mod:`ensurepip` exposes two functions for programmatic use:" msgstr "" -#: ../Doc/library/ensurepip.rst:89 +#: ../Doc/library/ensurepip.rst:92 msgid "" "Returns a string specifying the bundled version of pip that will be " "installed when bootstrapping an environment." msgstr "" -#: ../Doc/library/ensurepip.rst:96 +#: ../Doc/library/ensurepip.rst:99 msgid "Bootstraps ``pip`` into the current or designated environment." msgstr "" -#: ../Doc/library/ensurepip.rst:98 +#: ../Doc/library/ensurepip.rst:101 msgid "" "*root* specifies an alternative root directory to install relative to. If " "*root* is ``None``, then installation uses the default install location for " "the current environment." msgstr "" -#: ../Doc/library/ensurepip.rst:102 +#: ../Doc/library/ensurepip.rst:105 msgid "" "*upgrade* indicates whether or not to upgrade an existing installation of an " "earlier version of ``pip`` to the bundled version." msgstr "" -#: ../Doc/library/ensurepip.rst:105 +#: ../Doc/library/ensurepip.rst:108 msgid "" "*user* indicates whether to use the user scheme rather than installing " "globally." msgstr "" -#: ../Doc/library/ensurepip.rst:108 +#: ../Doc/library/ensurepip.rst:111 msgid "" "By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y " "stands for the current version of Python)." msgstr "" -#: ../Doc/library/ensurepip.rst:111 +#: ../Doc/library/ensurepip.rst:114 msgid "If *altinstall* is set, then ``pipX`` will *not* be installed." msgstr "" -#: ../Doc/library/ensurepip.rst:113 +#: ../Doc/library/ensurepip.rst:116 msgid "" "If *default_pip* is set, then ``pip`` will be installed in addition to the " "two regular scripts." msgstr "" -#: ../Doc/library/ensurepip.rst:116 +#: ../Doc/library/ensurepip.rst:119 msgid "" "Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`." msgstr "" -#: ../Doc/library/ensurepip.rst:119 +#: ../Doc/library/ensurepip.rst:122 msgid "" "*verbosity* controls the level of output to :data:`sys.stdout` from the " "bootstrapping operation." msgstr "" -#: ../Doc/library/ensurepip.rst:124 +#: ../Doc/library/ensurepip.rst:127 msgid "" "The bootstrapping process has side effects on both ``sys.path`` and ``os." "environ``. Invoking the command line interface in a subprocess instead " "allows these side effects to be avoided." msgstr "" -#: ../Doc/library/ensurepip.rst:130 +#: ../Doc/library/ensurepip.rst:133 msgid "" "The bootstrapping process may install additional modules required by " "``pip``, but other software should not assume those dependencies will always " diff --git a/library/enum.po b/library/enum.po index 037a4895..cefe5193 100644 --- a/library/enum.po +++ b/library/enum.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -435,10 +435,18 @@ msgstr "" msgid "The complete signature is::" msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "value" +msgstr "valeur" + #: ../Doc/library/enum.rst:505 msgid "What the new Enum class will record as its name." msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "names" +msgstr "" + #: ../Doc/library/enum.rst:507 msgid "" "The Enum members. This can be a whitespace or comma separated string " @@ -457,18 +465,34 @@ msgstr "" msgid "or a mapping::" msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "module" +msgstr "module" + #: ../Doc/library/enum.rst:524 msgid "name of module where new Enum class can be found." msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "qualname" +msgstr "" + #: ../Doc/library/enum.rst:526 msgid "where in module new Enum class can be found." msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "type" +msgstr "type" + #: ../Doc/library/enum.rst:528 msgid "type to mix in to new Enum class." msgstr "" +#: ../Doc/library/enum.rst:0 +msgid "start" +msgstr "" + #: ../Doc/library/enum.rst:530 msgid "number to start counting at if only names are passed in." msgstr "" @@ -930,12 +954,3 @@ msgid "" "If a combination of Flag members is not named, the :func:`repr` will include " "all named flags and all named combinations of flags that are in the value::" msgstr "" - -#~ msgid "value" -#~ msgstr "valeur" - -#~ msgid "module" -#~ msgstr "module" - -#~ msgid "type" -#~ msgstr "type" diff --git a/library/functions.po b/library/functions.po index 643867ac..76ffd3f6 100644 --- a/library/functions.po +++ b/library/functions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-10-27 17:40+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -520,8 +520,8 @@ msgstr "" "l'intervalle." #: ../Doc/library/functions.rst:187 -msgid "Return a class method for *function*." -msgstr "Donne une méthode de classe pour *fonction*." +msgid "Transform a method into a class method." +msgstr "" #: ../Doc/library/functions.rst:189 msgid "" @@ -2545,8 +2545,8 @@ msgstr "" "Pour des exemple de tris et un bref tutoriel, consultez :ref:`sortinghowto`." #: ../Doc/library/functions.rst:1389 -msgid "Return a static method for *function*." -msgstr "Donne une méthode statique pour *function*." +msgid "Transform a method into a static method." +msgstr "" #: ../Doc/library/functions.rst:1391 msgid "" @@ -2585,20 +2585,37 @@ msgstr "" #: ../Doc/library/functions.rst:1408 msgid "" +"Like all decorators, it is also possible to call ``staticmethod`` as a " +"regular function and do something with its result. This is needed in some " +"cases where you need a reference to a function from a class body and you " +"want to avoid the automatic transformation to instance method. For these " +"cases, use this idiom:" +msgstr "" + +#: ../Doc/library/functions.rst:1415 +msgid "class C:" +msgstr "" + +#: ../Doc/library/functions.rst:1415 +msgid "builtin_open = staticmethod(open)" +msgstr "" + +#: ../Doc/library/functions.rst:1417 +msgid "" "For more information on static methods, consult the documentation on the " "standard type hierarchy in :ref:`types`." msgstr "" "Pour plus d'informations sur les méthodes statiques, consultez la " "documentation de la hiérarchie des types standards dans :ref:`types`." -#: ../Doc/library/functions.rst:1420 +#: ../Doc/library/functions.rst:1429 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "Donne une version sous forme de :class:`str` d'*object*. Voir :func:`str` " "pour plus de détails." -#: ../Doc/library/functions.rst:1422 +#: ../Doc/library/functions.rst:1431 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -2606,7 +2623,7 @@ msgstr "" "``str`` est la :term:`class` native des chaînes de caractères. Pour des " "informations générales à propos des chaînes, consultez :ref:`textseq`." -#: ../Doc/library/functions.rst:1428 +#: ../Doc/library/functions.rst:1437 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. *start* defaults to ``0``. The *iterable*'s items are normally " @@ -2617,7 +2634,7 @@ msgstr "" "sont normalement des nombres, et la valeur de *start* ne peut pas être une " "chaîne." -#: ../Doc/library/functions.rst:1432 +#: ../Doc/library/functions.rst:1441 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -2631,7 +2648,7 @@ msgstr "" "meilleure précision, voir :func:`math.fsum`. Pour concaténer une série " "d'itérables, utilisez plutôt :func:`itertools.chain`." -#: ../Doc/library/functions.rst:1440 +#: ../Doc/library/functions.rst:1449 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -2644,7 +2661,7 @@ msgstr "" "même que celui utilisé par :func:`getattr` sauf que *type* lui même est " "sauté." -#: ../Doc/library/functions.rst:1445 +#: ../Doc/library/functions.rst:1454 msgid "" "The :attr:`~class.__mro__` attribute of the *type* lists the method " "resolution search order used by both :func:`getattr` and :func:`super`. The " @@ -2656,7 +2673,7 @@ msgstr "" "L'attribut est dynamique et peut changer lorsque la hiérarchie d'héritage " "est modifiée." -#: ../Doc/library/functions.rst:1450 +#: ../Doc/library/functions.rst:1459 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -2668,7 +2685,7 @@ msgstr "" "le second argument est un type, ``issubclass(type2, type)`` doit être vrai " "(c'est utile pour les méthodes de classe)." -#: ../Doc/library/functions.rst:1455 +#: ../Doc/library/functions.rst:1464 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -2681,7 +2698,7 @@ msgstr "" "maintenable. Cet usage se rapproche de l'usage de *super* dans d'autres " "langages de programmation." -#: ../Doc/library/functions.rst:1460 +#: ../Doc/library/functions.rst:1469 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -2704,12 +2721,12 @@ msgstr "" "changements dans la hiérarchie, et parce que l'ordre peut inclure des " "classes soeur inconnues avant l'exécution)." -#: ../Doc/library/functions.rst:1470 +#: ../Doc/library/functions.rst:1479 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "Dans tous les cas, un appel typique à une classe parente ressemble à : ::" -#: ../Doc/library/functions.rst:1477 +#: ../Doc/library/functions.rst:1486 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -2726,7 +2743,7 @@ msgstr "" "n'est pas défini pour les recherches implicites via des instructions ou des " "opérateurs tel que ``super()[name]``." -#: ../Doc/library/functions.rst:1484 +#: ../Doc/library/functions.rst:1493 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -2743,7 +2760,7 @@ msgstr "" "propos de la classe en cours de définition, ainsi qu'accéder à l'instance " "courante pour les méthodes ordinaires." -#: ../Doc/library/functions.rst:1491 +#: ../Doc/library/functions.rst:1500 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_." -#: ../Doc/library/functions.rst:1500 +#: ../Doc/library/functions.rst:1509 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -2761,7 +2778,7 @@ msgstr "" "Plutôt qu'être une fonction, :class:`tuple` est en fait un type de séquence " "immuable, tel que documenté dans :ref:`typesseq-tuple` et :ref:`typesseq`." -#: ../Doc/library/functions.rst:1509 +#: ../Doc/library/functions.rst:1518 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -2771,7 +2788,7 @@ msgstr "" "type et généralement la même que la valeur de l'attribut :attr:`object." "__class__ `." -#: ../Doc/library/functions.rst:1513 +#: ../Doc/library/functions.rst:1522 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -2779,7 +2796,7 @@ msgstr "" "La fonction native :func:`isinstance` est recommandée pour tester le type " "d'un objet car elle prend en compte l'héritage." -#: ../Doc/library/functions.rst:1517 +#: ../Doc/library/functions.rst:1526 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -2800,11 +2817,11 @@ msgstr "" "exemple, les deux instructions suivantes créent deux instances identiques " "de :class:`type`." -#: ../Doc/library/functions.rst:1531 +#: ../Doc/library/functions.rst:1540 msgid "See also :ref:`bltin-type-objects`." msgstr "Voir aussi :ref:`bltin-type-objects`." -#: ../Doc/library/functions.rst:1533 +#: ../Doc/library/functions.rst:1542 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -2813,7 +2830,7 @@ msgstr "" "ne devraient plus utiliser la forme à un argument pour récupérer le type " "d'un objet." -#: ../Doc/library/functions.rst:1539 +#: ../Doc/library/functions.rst:1548 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -2822,7 +2839,7 @@ msgstr "" "instance ou de n'importe quel objet avec un attribut :attr:`~object." "__dict__`." -#: ../Doc/library/functions.rst:1542 +#: ../Doc/library/functions.rst:1551 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -2835,7 +2852,7 @@ msgstr "" "exemple, les classes utilisent un :class:`types.MappingProxyType` pour " "éviter les modifications directes du dictionnaire)." -#: ../Doc/library/functions.rst:1547 +#: ../Doc/library/functions.rst:1556 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -2845,11 +2862,11 @@ msgstr "" "dictionnaire des variables locales n'est utile qu'en lecture, car ses " "écritures sont ignorées." -#: ../Doc/library/functions.rst:1554 +#: ../Doc/library/functions.rst:1563 msgid "Make an iterator that aggregates elements from each of the iterables." msgstr "Construit un itérateur agrégeant les éléments de tous les itérables." -#: ../Doc/library/functions.rst:1556 +#: ../Doc/library/functions.rst:1565 msgid "" "Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th " "element from each of the argument sequences or iterables. The iterator " @@ -2863,7 +2880,7 @@ msgstr "" "elle donne un itérateur sur des *tuples* d'un élément. Sans arguments, elle " "donne un itérateur vide. Équivalent à : ::" -#: ../Doc/library/functions.rst:1575 +#: ../Doc/library/functions.rst:1584 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -2877,7 +2894,7 @@ msgstr "" "que le tuple obtenu contient le résultat de ``n`` appels à l'itérateur. Cela " "a pour effet de diviser la séquence en morceaux de taille *n*." -#: ../Doc/library/functions.rst:1581 +#: ../Doc/library/functions.rst:1590 msgid "" ":func:`zip` should only be used with unequal length inputs when you don't " "care about trailing, unmatched values from the longer iterables. If those " @@ -2888,7 +2905,7 @@ msgstr "" "peuvent être ignorées. Si c'est valeurs sont importantes, utilisez plutôt :" "func:`itertools.zip_longest`." -#: ../Doc/library/functions.rst:1585 +#: ../Doc/library/functions.rst:1594 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -2896,7 +2913,7 @@ msgstr "" ":func:`zip` peut être utilisée conjointement avec l'opérateur ``*`` pour de-" "*zip*-per une liste : ::" -#: ../Doc/library/functions.rst:1606 +#: ../Doc/library/functions.rst:1615 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -2904,7 +2921,7 @@ msgstr "" "C'est une fonction avancée qui n'est pas fréquemment nécessaire, " "contrairement à :func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1609 +#: ../Doc/library/functions.rst:1618 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -2924,7 +2941,7 @@ msgstr "" "L'usage direct de :func:`__import__` est aussi déconseillé en faveur de :" "func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1618 +#: ../Doc/library/functions.rst:1627 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -2940,7 +2957,7 @@ msgstr "" "l'argument *locals* et n'utilise *globals* que pour déterminer le contexte " "du paquet de l'instruction :keyword:`import`." -#: ../Doc/library/functions.rst:1625 +#: ../Doc/library/functions.rst:1634 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -2953,7 +2970,7 @@ msgstr "" "le nombre de dossiers parents relatifvement au dossier du module appelant :" "func:`__import__` (voir la :pep:`328`)." -#: ../Doc/library/functions.rst:1631 +#: ../Doc/library/functions.rst:1640 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -2965,7 +2982,7 @@ msgstr "" "le module nommé par *name*. Cependant, lorsqu'un argument *fromlist* est " "fourni, le module nommé par *name* est donné." -#: ../Doc/library/functions.rst:1636 +#: ../Doc/library/functions.rst:1645 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -2973,11 +2990,11 @@ msgstr "" "Par exemple, l'instruction ``import spam`` donne un bytecode ressemblant ai " "code suivant : ::" -#: ../Doc/library/functions.rst:1641 +#: ../Doc/library/functions.rst:1650 msgid "The statement ``import spam.ham`` results in this call::" msgstr "L'instruction ``import ham.ham`` appelle : ::" -#: ../Doc/library/functions.rst:1645 +#: ../Doc/library/functions.rst:1654 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -2985,7 +3002,7 @@ msgstr "" "Notez comment :func:`__import__` donne le module le plus haut ici parce que " "c'est l'objet lié à un nom par l'nstruction :keyword:`import`." -#: ../Doc/library/functions.rst:1648 +#: ../Doc/library/functions.rst:1657 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -2993,7 +3010,7 @@ msgstr "" "En revanche, l'instruction ``from spam.ham import eggs, saucage as saus`` " "donne : ::" -#: ../Doc/library/functions.rst:1655 +#: ../Doc/library/functions.rst:1664 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3002,7 +3019,7 @@ msgstr "" "Ici le module ``spam.ham`` est donné par :func:`__import__`. De cet objet, " "les noms à importer sont récupérés et assignés à leurs noms respectifs." -#: ../Doc/library/functions.rst:1659 +#: ../Doc/library/functions.rst:1668 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3010,7 +3027,7 @@ msgstr "" "Si vous voulez simplement importer un module (potentiellement dans un " "paquet) par son nom, utilisez :func:`importlib.import_module`." -#: ../Doc/library/functions.rst:1662 +#: ../Doc/library/functions.rst:1671 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3018,11 +3035,11 @@ msgstr "" "Des valeurs négatives pour *level* ne sont plus gérées (ce qui change la " "valeur par défaut pour 0)." -#: ../Doc/library/functions.rst:1668 +#: ../Doc/library/functions.rst:1677 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/functions.rst:1669 +#: ../Doc/library/functions.rst:1678 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " @@ -3032,6 +3049,12 @@ msgstr "" "lisez le code depuis un fichier, assurez-vous d'utiliser la conversion de " "retours à la ligne pour convertir les fin de lignes Windows et Mac." +#~ msgid "Return a class method for *function*." +#~ msgstr "Donne une méthode de classe pour *fonction*." + +#~ msgid "Return a static method for *function*." +#~ msgstr "Donne une méthode statique pour *function*." + #~ msgid ":func:`bytes`" #~ msgstr ":func:`bytes`" diff --git a/library/functools.po b/library/functools.po index 2564c983..4a8856e6 100644 --- a/library/functools.po +++ b/library/functools.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-09-24 14:04+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 1.8.6\n" #: ../Doc/library/functools.rst:2 @@ -338,8 +338,9 @@ msgid "Roughly equivalent to::" msgstr "A peu près équivalent à ::" #: ../Doc/library/functools.rst:269 +#, fuzzy msgid "" -"Transforms a function into a :term:`single-dispatch ` :term:" +"Transform a function into a :term:`single-dispatch ` :term:" "`generic function`." msgstr "" "Transforme une fonction en une :term:`fonction générique \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: François Magimel \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.3\n" #: ../Doc/library/gettext.rst:2 @@ -224,11 +224,12 @@ msgid "Class-based API" msgstr "API basée sur les classes" #: ../Doc/library/gettext.rst:135 +#, fuzzy msgid "" "The class-based API of the :mod:`gettext` module gives you more flexibility " "and greater convenience than the GNU :program:`gettext` API. It is the " -"recommended way of localizing your Python applications and modules. :mod:" -"`gettext` defines a \"translations\" class which implements the parsing of " +"recommended way of localizing your Python applications and modules. :mod:`!" +"gettext` defines a \"translations\" class which implements the parsing of " "GNU :file:`.mo` format files, and has methods for returning strings. " "Instances of this \"translations\" class can also install themselves in the " "built-in namespace as the function :func:`_`." @@ -392,12 +393,13 @@ msgid "The :class:`NullTranslations` class" msgstr "La classe :class:`NullTranslations`" #: ../Doc/library/gettext.rst:218 +#, fuzzy msgid "" "Translation classes are what actually implement the translation of original " "source file message strings to translated message strings. The base class " "used by all translation classes is :class:`NullTranslations`; this provides " "the basic interface you can use to write your own specialized translation " -"classes. Here are the methods of :class:`NullTranslations`:" +"classes. Here are the methods of :class:`!NullTranslations`:" msgstr "" "Les classes de traduction implémentent le fait de passer d'une chaîne de " "caractères du fichier original à traduire à la traduction de celle-ci. La " @@ -443,16 +445,18 @@ msgstr "" "substitution s'il ne peut fournir une traduction pour un message donné." #: ../Doc/library/gettext.rst:250 +#, fuzzy msgid "" -"If a fallback has been set, forward :meth:`.gettext` to the fallback. " +"If a fallback has been set, forward :meth:`!gettext` to the fallback. " "Otherwise, return *message*. Overridden in derived classes." msgstr "" "Si un objet de substitution a été défini, transmet :meth:`.gettext` à celui-" "ci. Sinon, renvoie *message*. Surchargé dans les classes dérivées." #: ../Doc/library/gettext.rst:256 +#, fuzzy msgid "" -"If a fallback has been set, forward :meth:`ngettext` to the fallback. " +"If a fallback has been set, forward :meth:`!ngettext` to the fallback. " "Otherwise, return *singular* if *n* is 1; return *plural* otherwise. " "Overridden in derived classes." msgstr "" @@ -461,8 +465,9 @@ msgstr "" "dans les classes dérivées." #: ../Doc/library/gettext.rst:264 +#, fuzzy msgid "" -"Equivalent to :meth:`.gettext` and :meth:`ngettext`, but the translation is " +"Equivalent to :meth:`.gettext` and :meth:`.ngettext`, but the translation is " "returned as a byte string encoded in the preferred system encoding if no " "encoding was explicitly set with :meth:`set_output_charset`. Overridden in " "derived classes." diff --git a/library/hashlib.po b/library/hashlib.po index 20a92f73..d6b1fcbc 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 01:00+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -582,24 +582,24 @@ msgid "" "sent to users and later verify them to make sure they weren't tampered with::" msgstr "" -#: ../Doc/library/hashlib.rst:524 +#: ../Doc/library/hashlib.rst:528 msgid "" "Even though there's a native keyed hashing mode, BLAKE2 can, of course, be " "used in HMAC construction with :mod:`hmac` module::" msgstr "" -#: ../Doc/library/hashlib.rst:535 +#: ../Doc/library/hashlib.rst:539 msgid "Randomized hashing" msgstr "" -#: ../Doc/library/hashlib.rst:537 +#: ../Doc/library/hashlib.rst:541 msgid "" "By setting *salt* parameter users can introduce randomization to the hash " "function. Randomized hashing is useful for protecting against collision " "attacks on the hash function used in digital signatures." msgstr "" -#: ../Doc/library/hashlib.rst:541 +#: ../Doc/library/hashlib.rst:545 msgid "" "Randomized hashing is designed for situations where one party, the message " "preparer, generates all or part of a message to be signed by a second party, " @@ -620,37 +620,37 @@ msgid "" "message are prepared by the signer." msgstr "" -#: ../Doc/library/hashlib.rst:560 +#: ../Doc/library/hashlib.rst:564 msgid "" "(`NIST SP-800-106 \"Randomized Hashing for Digital Signatures\" `_)" msgstr "" -#: ../Doc/library/hashlib.rst:563 +#: ../Doc/library/hashlib.rst:567 msgid "" "In BLAKE2 the salt is processed as a one-time input to the hash function " "during initialization, rather than as an input to each compression function." msgstr "" -#: ../Doc/library/hashlib.rst:568 +#: ../Doc/library/hashlib.rst:572 msgid "" "*Salted hashing* (or just hashing) with BLAKE2 or any other general-purpose " "cryptographic hash function, such as SHA-256, is not suitable for hashing " "passwords. See `BLAKE2 FAQ `_ for more information." msgstr "" -#: ../Doc/library/hashlib.rst:591 +#: ../Doc/library/hashlib.rst:595 msgid "Personalization" msgstr "" -#: ../Doc/library/hashlib.rst:593 +#: ../Doc/library/hashlib.rst:597 msgid "" "Sometimes it is useful to force hash function to produce different digests " "for the same input for different purposes. Quoting the authors of the Skein " "hash function:" msgstr "" -#: ../Doc/library/hashlib.rst:597 +#: ../Doc/library/hashlib.rst:601 msgid "" "We recommend that all application designers seriously consider doing this; " "we have seen many protocols where a hash that is computed in one part of the " @@ -660,41 +660,41 @@ msgid "" "hash function used in the protocol summarily stops this type of attack." msgstr "" -#: ../Doc/library/hashlib.rst:604 +#: ../Doc/library/hashlib.rst:608 msgid "" "(`The Skein Hash Function Family `_, p. 21)" msgstr "" -#: ../Doc/library/hashlib.rst:608 +#: ../Doc/library/hashlib.rst:612 msgid "BLAKE2 can be personalized by passing bytes to the *person* argument::" msgstr "" -#: ../Doc/library/hashlib.rst:622 +#: ../Doc/library/hashlib.rst:626 msgid "" "Personalization together with the keyed mode can also be used to derive " "different keys from a single one." msgstr "" -#: ../Doc/library/hashlib.rst:636 +#: ../Doc/library/hashlib.rst:640 msgid "Tree mode" msgstr "" -#: ../Doc/library/hashlib.rst:638 +#: ../Doc/library/hashlib.rst:642 msgid "Here's an example of hashing a minimal tree with two leaf nodes::" msgstr "" -#: ../Doc/library/hashlib.rst:644 +#: ../Doc/library/hashlib.rst:648 msgid "" "This example uses 64-byte internal digests, and returns the 32-byte final " "digest::" msgstr "" -#: ../Doc/library/hashlib.rst:674 +#: ../Doc/library/hashlib.rst:678 msgid "Credits" msgstr "" -#: ../Doc/library/hashlib.rst:676 +#: ../Doc/library/hashlib.rst:680 msgid "" "BLAKE2_ was designed by *Jean-Philippe Aumasson*, *Samuel Neves*, *Zooko " "Wilcox-O'Hearn*, and *Christian Winnerlein* based on SHA-3_ finalist BLAKE_ " @@ -702,102 +702,102 @@ msgid "" "*Raphael C.-W. Phan*." msgstr "" -#: ../Doc/library/hashlib.rst:681 +#: ../Doc/library/hashlib.rst:685 msgid "" "It uses core algorithm from ChaCha_ cipher designed by *Daniel J. " "Bernstein*." msgstr "" -#: ../Doc/library/hashlib.rst:683 +#: ../Doc/library/hashlib.rst:687 msgid "" "The stdlib implementation is based on pyblake2_ module. It was written by " "*Dmitry Chestnykh* based on C implementation written by *Samuel Neves*. The " "documentation was copied from pyblake2_ and written by *Dmitry Chestnykh*." msgstr "" -#: ../Doc/library/hashlib.rst:687 +#: ../Doc/library/hashlib.rst:691 msgid "The C code was partly rewritten for Python by *Christian Heimes*." msgstr "" -#: ../Doc/library/hashlib.rst:689 +#: ../Doc/library/hashlib.rst:693 msgid "" "The following public domain dedication applies for both C hash function " "implementation, extension code, and this documentation:" msgstr "" -#: ../Doc/library/hashlib.rst:692 +#: ../Doc/library/hashlib.rst:696 msgid "" "To the extent possible under law, the author(s) have dedicated all copyright " "and related and neighboring rights to this software to the public domain " "worldwide. This software is distributed without any warranty." msgstr "" -#: ../Doc/library/hashlib.rst:696 +#: ../Doc/library/hashlib.rst:700 msgid "" "You should have received a copy of the CC0 Public Domain Dedication along " "with this software. If not, see http://creativecommons.org/publicdomain/" "zero/1.0/." msgstr "" -#: ../Doc/library/hashlib.rst:700 +#: ../Doc/library/hashlib.rst:704 msgid "" "The following people have helped with development or contributed their " "changes to the project and the public domain according to the Creative " "Commons Public Domain Dedication 1.0 Universal:" msgstr "" -#: ../Doc/library/hashlib.rst:704 +#: ../Doc/library/hashlib.rst:708 msgid "*Alexandr Sokolovskiy*" msgstr "" -#: ../Doc/library/hashlib.rst:719 +#: ../Doc/library/hashlib.rst:723 msgid "Module :mod:`hmac`" msgstr "" -#: ../Doc/library/hashlib.rst:719 +#: ../Doc/library/hashlib.rst:723 msgid "A module to generate message authentication codes using hashes." msgstr "" -#: ../Doc/library/hashlib.rst:722 +#: ../Doc/library/hashlib.rst:726 msgid "Module :mod:`base64`" msgstr "Module :mod:`base64`" -#: ../Doc/library/hashlib.rst:722 +#: ../Doc/library/hashlib.rst:726 msgid "Another way to encode binary hashes for non-binary environments." msgstr "" -#: ../Doc/library/hashlib.rst:725 +#: ../Doc/library/hashlib.rst:729 msgid "https://blake2.net" msgstr "" -#: ../Doc/library/hashlib.rst:725 +#: ../Doc/library/hashlib.rst:729 msgid "Official BLAKE2 website." msgstr "" -#: ../Doc/library/hashlib.rst:728 +#: ../Doc/library/hashlib.rst:732 msgid "http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf" msgstr "" -#: ../Doc/library/hashlib.rst:728 +#: ../Doc/library/hashlib.rst:732 msgid "The FIPS 180-2 publication on Secure Hash Algorithms." msgstr "" -#: ../Doc/library/hashlib.rst:732 +#: ../Doc/library/hashlib.rst:736 msgid "" "https://en.wikipedia.org/wiki/" "Cryptographic_hash_function#Cryptographic_hash_algorithms" msgstr "" -#: ../Doc/library/hashlib.rst:731 +#: ../Doc/library/hashlib.rst:735 msgid "" "Wikipedia article with information on which algorithms have known issues and " "what that means regarding their use." msgstr "" -#: ../Doc/library/hashlib.rst:734 +#: ../Doc/library/hashlib.rst:738 msgid "https://www.ietf.org/rfc/rfc2898.txt" msgstr "" -#: ../Doc/library/hashlib.rst:735 +#: ../Doc/library/hashlib.rst:739 msgid "PKCS #5: Password-Based Cryptography Specification Version 2.0" msgstr "" diff --git a/library/importlib.po b/library/importlib.po index acb608be..a54871c9 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 01:00+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -1218,32 +1218,41 @@ msgid "Returns ``None`` as extension modules do not have source code." msgstr "" #: ../Doc/library/importlib.rst:1048 -msgid "A specification for a module's import-system-related state." -msgstr "" - -#: ../Doc/library/importlib.rst:1054 -msgid "(``__name__``)" -msgstr "" - -#: ../Doc/library/importlib.rst:1056 -msgid "A string for the fully-qualified name of the module." -msgstr "" - -#: ../Doc/library/importlib.rst:1060 -msgid "(``__loader__``)" +msgid "" +"A specification for a module's import-system-related state. This is " +"typically exposed as the module's ``__spec__`` attribute. In the " +"descriptions below, the names in parentheses give the corresponding " +"attribute available directly on the module object. E.g. ``module.__spec__." +"origin == module.__file__``. Note however that while the *values* are " +"usually equivalent, they can differ since there is no synchronization " +"between the two objects. Thus it is possible to update the module's " +"``__path__`` at runtime, and this will not be automatically reflected in " +"``__spec__.submodule_search_locations``." msgstr "" #: ../Doc/library/importlib.rst:1062 +msgid "(``__name__``)" +msgstr "" + +#: ../Doc/library/importlib.rst:1064 +msgid "A string for the fully-qualified name of the module." +msgstr "" + +#: ../Doc/library/importlib.rst:1068 +msgid "(``__loader__``)" +msgstr "" + +#: ../Doc/library/importlib.rst:1070 msgid "" "The loader to use for loading. For namespace packages this should be set to " "``None``." msgstr "" -#: ../Doc/library/importlib.rst:1067 +#: ../Doc/library/importlib.rst:1075 msgid "(``__file__``)" msgstr "" -#: ../Doc/library/importlib.rst:1069 +#: ../Doc/library/importlib.rst:1077 msgid "" "Name of the place from which the module is loaded, e.g. \"builtin\" for " "built-in modules and the filename for modules loaded from source. Normally " @@ -1251,66 +1260,66 @@ msgid "" "indicates it is unspecified." msgstr "" -#: ../Doc/library/importlib.rst:1076 +#: ../Doc/library/importlib.rst:1084 msgid "(``__path__``)" msgstr "" -#: ../Doc/library/importlib.rst:1078 +#: ../Doc/library/importlib.rst:1086 msgid "" "List of strings for where to find submodules, if a package (``None`` " "otherwise)." msgstr "" -#: ../Doc/library/importlib.rst:1083 +#: ../Doc/library/importlib.rst:1091 msgid "" "Container of extra module-specific data for use during loading (or ``None``)." msgstr "" -#: ../Doc/library/importlib.rst:1088 +#: ../Doc/library/importlib.rst:1096 msgid "(``__cached__``)" msgstr "" -#: ../Doc/library/importlib.rst:1090 +#: ../Doc/library/importlib.rst:1098 msgid "String for where the compiled module should be stored (or ``None``)." msgstr "" -#: ../Doc/library/importlib.rst:1094 +#: ../Doc/library/importlib.rst:1102 msgid "(``__package__``)" msgstr "" -#: ../Doc/library/importlib.rst:1096 +#: ../Doc/library/importlib.rst:1104 msgid "" "(Read-only) Fully-qualified name of the package to which the module belongs " "as a submodule (or ``None``)." msgstr "" -#: ../Doc/library/importlib.rst:1101 +#: ../Doc/library/importlib.rst:1109 msgid "" "Boolean indicating whether or not the module's \"origin\" attribute refers " "to a loadable location." msgstr "" -#: ../Doc/library/importlib.rst:1105 +#: ../Doc/library/importlib.rst:1113 msgid ":mod:`importlib.util` -- Utility code for importers" msgstr "" -#: ../Doc/library/importlib.rst:1111 +#: ../Doc/library/importlib.rst:1119 msgid "**Source code:** :source:`Lib/importlib/util.py`" msgstr "" -#: ../Doc/library/importlib.rst:1115 +#: ../Doc/library/importlib.rst:1123 msgid "" "This module contains the various objects that help in the construction of " "an :term:`importer`." msgstr "" -#: ../Doc/library/importlib.rst:1120 +#: ../Doc/library/importlib.rst:1128 msgid "" "The bytes which represent the bytecode version number. If you need help with " "loading/writing bytecode then consider :class:`importlib.abc.SourceLoader`." msgstr "" -#: ../Doc/library/importlib.rst:1127 +#: ../Doc/library/importlib.rst:1135 msgid "" "Return the :pep:`3147`/:pep:`488` path to the byte-compiled file associated " "with the source *path*. For example, if *path* is ``/foo/bar/baz.py`` the " @@ -1320,7 +1329,7 @@ msgid "" "`NotImplementedError` will be raised)." msgstr "" -#: ../Doc/library/importlib.rst:1134 +#: ../Doc/library/importlib.rst:1142 msgid "" "The *optimization* parameter is used to specify the optimization level of " "the bytecode file. An empty string represents no optimization, so ``/foo/bar/" @@ -1333,7 +1342,7 @@ msgid "" "`ValueError` is raised." msgstr "" -#: ../Doc/library/importlib.rst:1144 +#: ../Doc/library/importlib.rst:1152 msgid "" "The *debug_override* parameter is deprecated and can be used to override the " "system's value for ``__debug__``. A ``True`` value is the equivalent of " @@ -1342,18 +1351,18 @@ msgid "" "are not ``None`` then :exc:`TypeError` is raised." msgstr "" -#: ../Doc/library/importlib.rst:1152 +#: ../Doc/library/importlib.rst:1160 msgid "" "The *optimization* parameter was added and the *debug_override* parameter " "was deprecated." msgstr "" -#: ../Doc/library/importlib.rst:1156 ../Doc/library/importlib.rst:1172 -#: ../Doc/library/importlib.rst:1311 +#: ../Doc/library/importlib.rst:1164 ../Doc/library/importlib.rst:1180 +#: ../Doc/library/importlib.rst:1319 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." -#: ../Doc/library/importlib.rst:1162 +#: ../Doc/library/importlib.rst:1170 msgid "" "Given the *path* to a :pep:`3147` file name, return the associated source " "code file path. For example, if *path* is ``/foo/bar/__pycache__/baz." @@ -1363,25 +1372,25 @@ msgid "" "is not defined, :exc:`NotImplementedError` is raised." msgstr "" -#: ../Doc/library/importlib.rst:1177 +#: ../Doc/library/importlib.rst:1185 msgid "" "Decode the given bytes representing source code and return it as a string " "with universal newlines (as required by :meth:`importlib.abc.InspectLoader." "get_source`)." msgstr "" -#: ../Doc/library/importlib.rst:1185 +#: ../Doc/library/importlib.rst:1193 msgid "Resolve a relative module name to an absolute one." msgstr "" -#: ../Doc/library/importlib.rst:1187 +#: ../Doc/library/importlib.rst:1195 msgid "" "If **name** has no leading dots, then **name** is simply returned. This " "allows for usage such as ``importlib.util.resolve_name('sys', __package__)`` " "without doing a check to see if the **package** argument is needed." msgstr "" -#: ../Doc/library/importlib.rst:1192 +#: ../Doc/library/importlib.rst:1200 msgid "" ":exc:`ValueError` is raised if **name** is a relative module name but " "package is a false value (e.g. ``None`` or the empty string). :exc:" @@ -1389,7 +1398,7 @@ msgid "" "package (e.g. requesting ``..bacon`` from within the ``spam`` package)." msgstr "" -#: ../Doc/library/importlib.rst:1201 +#: ../Doc/library/importlib.rst:1209 msgid "" "Find the :term:`spec ` for a module, optionally relative to the " "specified **package** name. If the module is in :attr:`sys.modules`, then " @@ -1399,23 +1408,23 @@ msgid "" "if no spec is found." msgstr "" -#: ../Doc/library/importlib.rst:1208 +#: ../Doc/library/importlib.rst:1216 msgid "" "If **name** is for a submodule (contains a dot), the parent module is " "automatically imported." msgstr "" -#: ../Doc/library/importlib.rst:1211 +#: ../Doc/library/importlib.rst:1219 msgid "**name** and **package** work the same as for :func:`import_module`." msgstr "" -#: ../Doc/library/importlib.rst:1217 +#: ../Doc/library/importlib.rst:1225 msgid "" "Create a new module based on **spec** and :meth:`spec.loader.create_module " "`." msgstr "" -#: ../Doc/library/importlib.rst:1220 +#: ../Doc/library/importlib.rst:1228 msgid "" "If :meth:`spec.loader.create_module ` " "does not return ``None``, then any pre-existing attributes will not be " @@ -1423,14 +1432,14 @@ msgid "" "accessing **spec** or setting an attribute on the module." msgstr "" -#: ../Doc/library/importlib.rst:1225 +#: ../Doc/library/importlib.rst:1233 msgid "" "This function is preferred over using :class:`types.ModuleType` to create a " "new module as **spec** is used to set as many import-controlled attributes " "on the module as possible." msgstr "" -#: ../Doc/library/importlib.rst:1233 +#: ../Doc/library/importlib.rst:1241 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to handle " "selecting the proper module object to load with. The decorated method is " @@ -1440,7 +1449,7 @@ msgid "" "work on static methods because of the assumption of two arguments." msgstr "" -#: ../Doc/library/importlib.rst:1242 +#: ../Doc/library/importlib.rst:1250 msgid "" "The decorated method will take in the **name** of the module to be loaded as " "expected for a :term:`loader`. If the module is not found in :data:`sys." @@ -1450,7 +1459,7 @@ msgid "" "available). These attributes are set unconditionally to support reloading." msgstr "" -#: ../Doc/library/importlib.rst:1250 +#: ../Doc/library/importlib.rst:1258 msgid "" "If an exception is raised by the decorated method and a module was added to :" "data:`sys.modules`, then the module will be removed to prevent a partially " @@ -1458,25 +1467,25 @@ msgid "" "was already in :data:`sys.modules` then it is left alone." msgstr "" -#: ../Doc/library/importlib.rst:1255 +#: ../Doc/library/importlib.rst:1263 msgid "" ":attr:`__loader__` and :attr:`__package__` are automatically set (when " "possible)." msgstr "" -#: ../Doc/library/importlib.rst:1259 +#: ../Doc/library/importlib.rst:1267 msgid "" "Set :attr:`__name__`, :attr:`__loader__` :attr:`__package__` unconditionally " "to support reloading." msgstr "" -#: ../Doc/library/importlib.rst:1263 +#: ../Doc/library/importlib.rst:1271 msgid "" "The import machinery now directly performs all the functionality provided by " "this function." msgstr "" -#: ../Doc/library/importlib.rst:1269 +#: ../Doc/library/importlib.rst:1277 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to set the :" "attr:`__loader__` attribute on the returned module. If the attribute is " @@ -1485,23 +1494,23 @@ msgid "" "`__loader__` should be set to." msgstr "" -#: ../Doc/library/importlib.rst:1276 +#: ../Doc/library/importlib.rst:1284 msgid "" "Set ``__loader__`` if set to ``None``, as if the attribute does not exist." msgstr "" -#: ../Doc/library/importlib.rst:1280 ../Doc/library/importlib.rst:1289 +#: ../Doc/library/importlib.rst:1288 ../Doc/library/importlib.rst:1297 msgid "The import machinery takes care of this automatically." msgstr "" -#: ../Doc/library/importlib.rst:1285 +#: ../Doc/library/importlib.rst:1293 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to set the :" "attr:`__package__` attribute on the returned module. If :attr:`__package__` " "is set and has a value other than ``None`` it will not be changed." msgstr "" -#: ../Doc/library/importlib.rst:1294 +#: ../Doc/library/importlib.rst:1302 msgid "" "A factory function for creating a :class:`ModuleSpec` instance based on a " "loader. The parameters have the same meaning as they do for ModuleSpec. " @@ -1509,20 +1518,20 @@ msgid "" "`InspectLoader.is_package`, to fill in any missing information on the spec." msgstr "" -#: ../Doc/library/importlib.rst:1304 +#: ../Doc/library/importlib.rst:1312 msgid "" "A factory function for creating a :class:`ModuleSpec` instance based on the " "path to a file. Missing information will be filled in on the spec by making " "use of loader APIs and by the implication that the module will be file-based." msgstr "" -#: ../Doc/library/importlib.rst:1316 +#: ../Doc/library/importlib.rst:1324 msgid "" "A class which postpones the execution of the loader of a module until the " "module has an attribute accessed." msgstr "" -#: ../Doc/library/importlib.rst:1319 +#: ../Doc/library/importlib.rst:1327 msgid "" "This class **only** works with loaders that define :meth:`~importlib.abc." "Loader.exec_module` as control over what module type is used for the module " @@ -1535,7 +1544,7 @@ msgid "" "raised if such a substitution is detected." msgstr "" -#: ../Doc/library/importlib.rst:1330 +#: ../Doc/library/importlib.rst:1338 msgid "" "For projects where startup time is critical, this class allows for " "potentially minimizing the cost of loading a module if it is never used. For " @@ -1544,58 +1553,58 @@ msgid "" "postponed and thus occurring out of context." msgstr "" -#: ../Doc/library/importlib.rst:1338 +#: ../Doc/library/importlib.rst:1346 msgid "" "Began calling :meth:`~importlib.abc.Loader.create_module`, removing the " "compatibility warning for :class:`importlib.machinery.BuiltinImporter` and :" "class:`importlib.machinery.ExtensionFileLoader`." msgstr "" -#: ../Doc/library/importlib.rst:1345 +#: ../Doc/library/importlib.rst:1353 msgid "" "A static method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" -#: ../Doc/library/importlib.rst:1358 +#: ../Doc/library/importlib.rst:1366 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/importlib.rst:1361 +#: ../Doc/library/importlib.rst:1369 msgid "Importing programmatically" msgstr "" -#: ../Doc/library/importlib.rst:1363 +#: ../Doc/library/importlib.rst:1371 msgid "" "To programmatically import a module, use :func:`importlib.import_module`. ::" msgstr "" -#: ../Doc/library/importlib.rst:1372 +#: ../Doc/library/importlib.rst:1380 msgid "Checking if a module can be imported" msgstr "" -#: ../Doc/library/importlib.rst:1374 +#: ../Doc/library/importlib.rst:1382 msgid "" "If you need to find out if a module can be imported without actually doing " "the import, then you should use :func:`importlib.util.find_spec`. ::" msgstr "" -#: ../Doc/library/importlib.rst:1396 +#: ../Doc/library/importlib.rst:1404 msgid "Importing a source file directly" msgstr "" -#: ../Doc/library/importlib.rst:1398 +#: ../Doc/library/importlib.rst:1406 msgid "" "To import a Python source file directly, use the following recipe (Python " "3.4 and newer only)::" msgstr "" -#: ../Doc/library/importlib.rst:1418 +#: ../Doc/library/importlib.rst:1426 msgid "Setting up an importer" msgstr "" -#: ../Doc/library/importlib.rst:1420 +#: ../Doc/library/importlib.rst:1428 msgid "" "For deep customizations of import, you typically want to implement an :term:" "`importer`. This means managing both the :term:`finder` and :term:`loader` " @@ -1609,11 +1618,11 @@ msgid "" "for the appropriate classes defined within this package)::" msgstr "" -#: ../Doc/library/importlib.rst:1452 +#: ../Doc/library/importlib.rst:1460 msgid "Approximating :func:`importlib.import_module`" msgstr "" -#: ../Doc/library/importlib.rst:1454 +#: ../Doc/library/importlib.rst:1462 msgid "" "Import itself is implemented in Python code, making it possible to expose " "most of the import machinery through importlib. The following helps " diff --git a/library/itertools.po b/library/itertools.po index 2a28fac5..5c237f97 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-10-02 00:01+0200\n" +"Last-Translator: Raphaël Gomès \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Raphaël Gomès \n" -"Language-Team: \n" "X-Generator: Poedit 1.8.7.1\n" #: ../Doc/library/itertools.rst:2 @@ -237,11 +237,13 @@ msgid ":func:`groupby`" msgstr ":func:`groupby`" #: ../Doc/library/itertools.rst:56 -msgid "iterable[, keyfunc]" +#, fuzzy +msgid "iterable[, key]" msgstr "iterable[, keyfunc]" #: ../Doc/library/itertools.rst:56 -msgid "sub-iterators grouped by value of keyfunc(v)" +#, fuzzy +msgid "sub-iterators grouped by value of key(v)" msgstr "sous-itérateurs groupés par la valeur de *keyfunc(v)*" #: ../Doc/library/itertools.rst:57 @@ -961,7 +963,7 @@ msgstr "" "est gardée en préférant les briques \"vectorisées\" plutôt que les boucles " "*for* et les :term:`générateur`\\s qui engendrent du sur-coût de traitement." -#: ../Doc/library/itertools.rst:861 +#: ../Doc/library/itertools.rst:862 msgid "" "Note, many of the above recipes can be optimized by replacing global lookups " "with local variables defined as default values. For example, the " diff --git a/library/locale.po b/library/locale.po index 57af9184..5662f8bc 100644 --- a/library/locale.po +++ b/library/locale.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -761,23 +761,23 @@ msgstr "" msgid "Access to message catalogs" msgstr "" -#: ../Doc/library/locale.rst:545 +#: ../Doc/library/locale.rst:551 msgid "" "The locale module exposes the C library's gettext interface on systems that " -"provide this interface. It consists of the functions :func:`gettext`, :func:" -"`dgettext`, :func:`dcgettext`, :func:`textdomain`, :func:`bindtextdomain`, " -"and :func:`bind_textdomain_codeset`. These are similar to the same " -"functions in the :mod:`gettext` module, but use the C library's binary " -"format for message catalogs, and the C library's search algorithms for " -"locating message catalogs." +"provide this interface. It consists of the functions :func:`!gettext`, :" +"func:`!dgettext`, :func:`!dcgettext`, :func:`!textdomain`, :func:`!" +"bindtextdomain`, and :func:`!bind_textdomain_codeset`. These are similar to " +"the same functions in the :mod:`gettext` module, but use the C library's " +"binary format for message catalogs, and the C library's search algorithms " +"for locating message catalogs." msgstr "" -#: ../Doc/library/locale.rst:552 +#: ../Doc/library/locale.rst:558 msgid "" "Python applications should normally find no need to invoke these functions, " "and should use :mod:`gettext` instead. A known exception to this rule are " "applications that link with additional C libraries which internally invoke :" -"c:func:`gettext` or :func:`dcgettext`. For these applications, it may be " +"c:func:`gettext` or :c:func:`dcgettext`. For these applications, it may be " "necessary to bind the text domain, so that the libraries can properly locate " "their message catalogs." msgstr "" diff --git a/library/logging.config.po b/library/logging.config.po index e50e1c12..0af495d0 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,10 +25,6 @@ msgstr "" msgid "**Source code:** :source:`Lib/logging/config.py`" msgstr "" -#: ../Doc/library/logging.config.rst:0 -msgid "Important" -msgstr "" - #: ../Doc/library/logging.config.rst:14 msgid "" "This page contains only reference information. For tutorials, please see" @@ -140,6 +136,10 @@ msgid "" "chosen configuration)." msgstr "" +#: ../Doc/library/logging.config.rst:0 +msgid "Parameters" +msgstr "" + #: ../Doc/library/logging.config.rst:90 msgid "" "A filename, or a file-like object, or an instance derived from :class:" diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 3890830b..5c9e4e73 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,10 +25,6 @@ msgstr "" msgid "**Source code:** :source:`Lib/logging/handlers.py`" msgstr "" -#: ../Doc/library/logging.handlers.rst:0 -msgid "Important" -msgstr "" - #: ../Doc/library/logging.handlers.rst:14 msgid "" "This page contains only reference information. For tutorials, please see" @@ -275,6 +271,10 @@ msgid "" "callable (the default is ``None``), the name is returned unchanged." msgstr "" +#: ../Doc/library/logging.handlers.rst:0 +msgid "Parameters" +msgstr "" + #: ../Doc/library/logging.handlers.rst:231 msgid "The default name for the log file." msgstr "" diff --git a/library/logging.po b/library/logging.po index 92db11ae..fbb449c1 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 14:05+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -25,10 +25,6 @@ msgstr "" msgid "**Source code:** :source:`Lib/logging/__init__.py`" msgstr "" -#: ../Doc/library/logging.rst:0 -msgid "Important" -msgstr "" - #: ../Doc/library/logging.rst:16 msgid "" "This page contains the API reference information. For tutorial information " @@ -825,6 +821,10 @@ msgid "" "record." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "Parameters" +msgstr "" + #: ../Doc/library/logging.rst:658 msgid "" "The name of the logger used to log the event represented by this LogRecord. " @@ -950,7 +950,7 @@ msgstr "Format" msgid "Description" msgstr "Description" -#: ../Doc/library/logging.rst:742 +#: ../Doc/library/logging.rst:742 ../Doc/library/logging.rst:0 msgid "args" msgstr "" @@ -995,7 +995,7 @@ msgid "" "time`)." msgstr "" -#: ../Doc/library/logging.rst:756 +#: ../Doc/library/logging.rst:756 ../Doc/library/logging.rst:0 msgid "exc_info" msgstr "exc_info" @@ -1108,7 +1108,7 @@ msgid "" "`Formatter.format` is invoked." msgstr "" -#: ../Doc/library/logging.rst:784 +#: ../Doc/library/logging.rst:784 ../Doc/library/logging.rst:0 msgid "msg" msgstr "" @@ -1119,7 +1119,7 @@ msgid "" "messages`)." msgstr "" -#: ../Doc/library/logging.rst:789 +#: ../Doc/library/logging.rst:789 ../Doc/library/logging.rst:0 msgid "name" msgstr "" @@ -1660,14 +1660,26 @@ msgstr "" msgid "The logger name." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "level" +msgstr "level" + #: ../Doc/library/logging.rst:1185 msgid "The logging level (numeric)." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "fn" +msgstr "fn" + #: ../Doc/library/logging.rst:1186 msgid "The full pathname of the file where the logging call was made." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "lno" +msgstr "lno" + #: ../Doc/library/logging.rst:1187 msgid "The line number in the file where the logging call was made." msgstr "" @@ -1684,16 +1696,28 @@ msgstr "" msgid "An exception tuple, or ``None``." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "func" +msgstr "func" + #: ../Doc/library/logging.rst:1191 msgid "The name of the function or method which invoked the logging call." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "sinfo" +msgstr "sinfo" + #: ../Doc/library/logging.rst:1193 msgid "" "A stack traceback such as is provided by :func:`traceback.print_stack`, " "showing the call hierarchy." msgstr "" +#: ../Doc/library/logging.rst:0 +msgid "kwargs" +msgstr "" + #: ../Doc/library/logging.rst:1195 msgid "Additional keyword arguments." msgstr "" @@ -1783,18 +1807,3 @@ msgid "" "2.1.x and 2.2.x, which do not include the :mod:`logging` package in the " "standard library." msgstr "" - -#~ msgid "level" -#~ msgstr "level" - -#~ msgid "fn" -#~ msgstr "fn" - -#~ msgid "lno" -#~ msgstr "lno" - -#~ msgid "func" -#~ msgstr "func" - -#~ msgid "sinfo" -#~ msgstr "sinfo" diff --git a/library/msilib.po b/library/msilib.po index 21acd872..e13e0abb 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -166,10 +166,10 @@ msgstr "" #: ../Doc/library/msilib.rst:127 msgid "" -"`FCICreateFile `_ `UuidCreate `_ `UuidToString `_" +"`FCICreate `_ " +"`UuidCreate `_ `UuidToString `_" msgstr "" #: ../Doc/library/msilib.rst:134 @@ -196,11 +196,10 @@ msgstr "" #: ../Doc/library/msilib.rst:158 msgid "" -"`MSIDatabaseOpenView `_ `MSIDatabaseCommit `_ " -"`MSIGetSummaryInformation `_" +"`MSIDatabaseOpenView `_ `MSIDatabaseCommit `_ `MSIGetSummaryInformation " +"`_" msgstr "" #: ../Doc/library/msilib.rst:165 @@ -246,13 +245,13 @@ msgstr "" #: ../Doc/library/msilib.rst:206 msgid "" -"`MsiViewExecute `_ `MSIViewGetColumnInfo `_ " -"`MsiViewFetch `_ `MsiViewModify `_ `MsiViewClose `_" +"`MsiViewExecute `_ `MSIViewGetColumnInfo `_ `MsiViewFetch `_ `MsiViewModify " +"`_ " +"`MsiViewClose `_" msgstr "" #: ../Doc/library/msilib.rst:215 @@ -291,14 +290,12 @@ msgstr "" #: ../Doc/library/msilib.rst:250 msgid "" -"`MsiSummaryInfoGetProperty `_ " -"`MsiSummaryInfoGetPropertyCount `_ " -"`MsiSummaryInfoSetProperty `_ `MsiSummaryInfoPersist " -"`_" +"`MsiSummaryInfoGetProperty `_ `MsiSummaryInfoGetPropertyCount `_ " +"`MsiSummaryInfoSetProperty `_ `MsiSummaryInfoPersist `_" msgstr "" #: ../Doc/library/msilib.rst:258 @@ -348,14 +345,13 @@ msgstr "" #: ../Doc/library/msilib.rst:304 msgid "" -"`MsiRecordGetFieldCount `_ `MsiRecordSetString `_ " -"`MsiRecordSetStream `_ `MsiRecordSetInteger `_ `MsiRecordClear `_" +"`MsiRecordGetFieldCount `_ `MsiRecordSetString `_ `MsiRecordSetStream `_ " +"`MsiRecordSetInteger `_ `MsiRecordClearData `_" msgstr "" #: ../Doc/library/msilib.rst:313 @@ -364,7 +360,7 @@ msgstr "" #: ../Doc/library/msilib.rst:315 msgid "" -"All wrappers around MSI functions raise :exc:`MsiError`; the string inside " +"All wrappers around MSI functions raise :exc:`MSIError`; the string inside " "the exception will contain more detail." msgstr "" @@ -444,17 +440,16 @@ msgid "" msgstr "" #: ../Doc/library/msilib.rst:395 -msgid "Remove ``.pyc``/``.pyo`` files on uninstall." +msgid "Remove ``.pyc`` files on uninstall." msgstr "" #: ../Doc/library/msilib.rst:400 msgid "" -"`Directory Table `_ `File Table `_ `Component Table `_ `FeatureComponents Table `_" +"`Directory Table `_ `File Table `_ `Component Table `_ `FeatureComponents Table " +"`_" msgstr "" #: ../Doc/library/msilib.rst:408 @@ -478,8 +473,8 @@ msgstr "" #: ../Doc/library/msilib.rst:428 msgid "" -"`Feature Table `_" +"`Feature Table `_" msgstr "" #: ../Doc/library/msilib.rst:433 @@ -570,16 +565,15 @@ msgstr "" #: ../Doc/library/msilib.rst:523 msgid "" -"`Dialog Table `_ `Control Table `_ `Control Types `_ " -"`ControlCondition Table `_ `ControlEvent Table `_ " -"`EventMapping Table `_ `RadioButton Table `_" +"`Dialog Table `_ `Control Table `_ `Control Types `_ `ControlCondition Table " +"`_ " +"`ControlEvent Table `_ `EventMapping Table `_ `RadioButton Table `_" msgstr "" #: ../Doc/library/msilib.rst:534 diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 1c9332e6..8fd6f6fa 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-11 19:00+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:56+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -2487,34 +2487,35 @@ msgid "" msgstr "" #: ../Doc/library/multiprocessing.rst:2292 +#: ../Doc/library/multiprocessing.rst:2327 msgid "" -"If *authenticate* is ``True`` or *authkey* is a byte string then digest " -"authentication is used. The key used for authentication will be either " -"*authkey* or ``current_process().authkey`` if *authkey* is ``None``. If " -"authentication fails then :exc:`~multiprocessing.AuthenticationError` is " -"raised. See :ref:`multiprocessing-auth-keys`." +"If *authkey* is given and not None, it should be a byte string and will be " +"used as the secret key for an HMAC-based authentication challenge. No " +"authentication is done if *authkey* is None. :exc:`~multiprocessing." +"AuthenticationError` is raised if authentication fails. See :ref:" +"`multiprocessing-auth-keys`." msgstr "" -#: ../Doc/library/multiprocessing.rst:2301 +#: ../Doc/library/multiprocessing.rst:2300 msgid "" "A wrapper for a bound socket or Windows named pipe which is 'listening' for " "connections." msgstr "" -#: ../Doc/library/multiprocessing.rst:2304 +#: ../Doc/library/multiprocessing.rst:2303 msgid "" "*address* is the address to be used by the bound socket or named pipe of the " "listener object." msgstr "" -#: ../Doc/library/multiprocessing.rst:2309 +#: ../Doc/library/multiprocessing.rst:2308 msgid "" "If an address of '0.0.0.0' is used, the address will not be a connectable " "end point on Windows. If you require a connectable end-point, you should use " "'127.0.0.1'." msgstr "" -#: ../Doc/library/multiprocessing.rst:2313 +#: ../Doc/library/multiprocessing.rst:2312 msgid "" "*family* is the type of socket (or named pipe) to use. This can be one of " "the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix " @@ -2528,35 +2529,14 @@ msgid "" "using :func:`tempfile.mkstemp`." msgstr "" -#: ../Doc/library/multiprocessing.rst:2324 +#: ../Doc/library/multiprocessing.rst:2323 msgid "" "If the listener object uses a socket then *backlog* (1 by default) is passed " "to the :meth:`~socket.socket.listen` method of the socket once it has been " "bound." msgstr "" -#: ../Doc/library/multiprocessing.rst:2328 -msgid "" -"If *authenticate* is ``True`` (``False`` by default) or *authkey* is not " -"``None`` then digest authentication is used." -msgstr "" - -#: ../Doc/library/multiprocessing.rst:2331 -msgid "" -"If *authkey* is a byte string then it will be used as the authentication " -"key; otherwise it must be ``None``." -msgstr "" - -#: ../Doc/library/multiprocessing.rst:2334 -msgid "" -"If *authkey* is ``None`` and *authenticate* is ``True`` then " -"``current_process().authkey`` is used as the authentication key. If " -"*authkey* is ``None`` and *authenticate* is ``False`` then no authentication " -"is done. If authentication fails then :exc:`~multiprocessing." -"AuthenticationError` is raised. See :ref:`multiprocessing-auth-keys`." -msgstr "" - -#: ../Doc/library/multiprocessing.rst:2343 +#: ../Doc/library/multiprocessing.rst:2335 msgid "" "Accept a connection on the bound socket or named pipe of the listener object " "and return a :class:`~multiprocessing.Connection` object. If authentication " @@ -2564,35 +2544,35 @@ msgid "" "raised." msgstr "" -#: ../Doc/library/multiprocessing.rst:2350 +#: ../Doc/library/multiprocessing.rst:2342 msgid "" "Close the bound socket or named pipe of the listener object. This is called " "automatically when the listener is garbage collected. However it is " "advisable to call it explicitly." msgstr "" -#: ../Doc/library/multiprocessing.rst:2354 +#: ../Doc/library/multiprocessing.rst:2346 msgid "Listener objects have the following read-only properties:" msgstr "" -#: ../Doc/library/multiprocessing.rst:2358 +#: ../Doc/library/multiprocessing.rst:2350 msgid "The address which is being used by the Listener object." msgstr "" -#: ../Doc/library/multiprocessing.rst:2362 +#: ../Doc/library/multiprocessing.rst:2354 msgid "" "The address from which the last accepted connection came. If this is " "unavailable then it is ``None``." msgstr "" -#: ../Doc/library/multiprocessing.rst:2365 +#: ../Doc/library/multiprocessing.rst:2357 msgid "" "Listener objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the " "listener object, and :meth:`~contextmanager.__exit__` calls :meth:`close`." msgstr "" -#: ../Doc/library/multiprocessing.rst:2372 +#: ../Doc/library/multiprocessing.rst:2364 msgid "" "Wait till an object in *object_list* is ready. Returns the list of those " "objects in *object_list* which are ready. If *timeout* is a float then the " @@ -2601,32 +2581,32 @@ msgid "" "zero timeout." msgstr "" -#: ../Doc/library/multiprocessing.rst:2378 +#: ../Doc/library/multiprocessing.rst:2370 msgid "" "For both Unix and Windows, an object can appear in *object_list* if it is" msgstr "" -#: ../Doc/library/multiprocessing.rst:2381 +#: ../Doc/library/multiprocessing.rst:2373 msgid "a readable :class:`~multiprocessing.Connection` object;" msgstr "" -#: ../Doc/library/multiprocessing.rst:2382 +#: ../Doc/library/multiprocessing.rst:2374 msgid "a connected and readable :class:`socket.socket` object; or" msgstr "" -#: ../Doc/library/multiprocessing.rst:2383 +#: ../Doc/library/multiprocessing.rst:2375 msgid "" "the :attr:`~multiprocessing.Process.sentinel` attribute of a :class:" "`~multiprocessing.Process` object." msgstr "" -#: ../Doc/library/multiprocessing.rst:2386 +#: ../Doc/library/multiprocessing.rst:2378 msgid "" "A connection or socket object is ready when there is data available to be " "read from it, or the other end has been closed." msgstr "" -#: ../Doc/library/multiprocessing.rst:2389 +#: ../Doc/library/multiprocessing.rst:2381 msgid "" "**Unix**: ``wait(object_list, timeout)`` almost equivalent ``select." "select(object_list, [], [], timeout)``. The difference is that, if :func:" @@ -2634,7 +2614,7 @@ msgid "" "an error number of ``EINTR``, whereas :func:`wait` will not." msgstr "" -#: ../Doc/library/multiprocessing.rst:2395 +#: ../Doc/library/multiprocessing.rst:2387 msgid "" "**Windows**: An item in *object_list* must either be an integer handle which " "is waitable (according to the definition used by the documentation of the " @@ -2643,50 +2623,50 @@ msgid "" "that pipe handles and socket handles are **not** waitable handles.)" msgstr "" -#: ../Doc/library/multiprocessing.rst:2405 +#: ../Doc/library/multiprocessing.rst:2397 msgid "**Examples**" msgstr "" -#: ../Doc/library/multiprocessing.rst:2407 +#: ../Doc/library/multiprocessing.rst:2399 msgid "" "The following server code creates a listener which uses ``'secret " "password'`` as an authentication key. It then waits for a connection and " "sends some data to the client::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2426 +#: ../Doc/library/multiprocessing.rst:2418 msgid "" "The following code connects to the server and receives some data from the " "server::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2443 +#: ../Doc/library/multiprocessing.rst:2435 msgid "" "The following code uses :func:`~multiprocessing.connection.wait` to wait for " "messages from multiple processes at once::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2482 +#: ../Doc/library/multiprocessing.rst:2474 msgid "Address Formats" msgstr "" -#: ../Doc/library/multiprocessing.rst:2484 +#: ../Doc/library/multiprocessing.rst:2476 msgid "" "An ``'AF_INET'`` address is a tuple of the form ``(hostname, port)`` where " "*hostname* is a string and *port* is an integer." msgstr "" -#: ../Doc/library/multiprocessing.rst:2487 +#: ../Doc/library/multiprocessing.rst:2479 msgid "" "An ``'AF_UNIX'`` address is a string representing a filename on the " "filesystem." msgstr "" -#: ../Doc/library/multiprocessing.rst:2493 +#: ../Doc/library/multiprocessing.rst:2485 msgid "An ``'AF_PIPE'`` address is a string of the form" msgstr "" -#: ../Doc/library/multiprocessing.rst:2491 +#: ../Doc/library/multiprocessing.rst:2483 msgid "" ":samp:`r'\\\\\\\\.\\\\pipe\\\\{PipeName}'`. To use :func:`Client` to " "connect to a named pipe on a remote computer called *ServerName* one should " @@ -2694,17 +2674,17 @@ msgid "" "\\{PipeName}'` instead." msgstr "" -#: ../Doc/library/multiprocessing.rst:2495 +#: ../Doc/library/multiprocessing.rst:2487 msgid "" "Note that any string beginning with two backslashes is assumed by default to " "be an ``'AF_PIPE'`` address rather than an ``'AF_UNIX'`` address." msgstr "" -#: ../Doc/library/multiprocessing.rst:2502 +#: ../Doc/library/multiprocessing.rst:2494 msgid "Authentication keys" msgstr "" -#: ../Doc/library/multiprocessing.rst:2504 +#: ../Doc/library/multiprocessing.rst:2496 msgid "" "When one uses :meth:`Connection.recv `, the " "data received is automatically unpickled. Unfortunately unpickling data " @@ -2713,7 +2693,7 @@ msgid "" "authentication." msgstr "" -#: ../Doc/library/multiprocessing.rst:2510 +#: ../Doc/library/multiprocessing.rst:2502 msgid "" "An authentication key is a byte string which can be thought of as a " "password: once a connection is established both ends will demand proof that " @@ -2721,7 +2701,7 @@ msgid "" "using the same key does **not** involve sending the key over the connection.)" msgstr "" -#: ../Doc/library/multiprocessing.rst:2516 +#: ../Doc/library/multiprocessing.rst:2508 msgid "" "If authentication is requested but no authentication key is specified then " "the return value of ``current_process().authkey`` is used (see :class:" @@ -2732,17 +2712,17 @@ msgid "" "setting up connections between themselves." msgstr "" -#: ../Doc/library/multiprocessing.rst:2524 +#: ../Doc/library/multiprocessing.rst:2516 msgid "" "Suitable authentication keys can also be generated by using :func:`os." "urandom`." msgstr "" -#: ../Doc/library/multiprocessing.rst:2528 +#: ../Doc/library/multiprocessing.rst:2520 msgid "Logging" msgstr "Journalisation" -#: ../Doc/library/multiprocessing.rst:2530 +#: ../Doc/library/multiprocessing.rst:2522 msgid "" "Some support for logging is available. Note, however, that the :mod:" "`logging` package does not use process shared locks so it is possible " @@ -2750,27 +2730,27 @@ msgid "" "mixed up." msgstr "" -#: ../Doc/library/multiprocessing.rst:2537 +#: ../Doc/library/multiprocessing.rst:2529 msgid "" "Returns the logger used by :mod:`multiprocessing`. If necessary, a new one " "will be created." msgstr "" -#: ../Doc/library/multiprocessing.rst:2540 +#: ../Doc/library/multiprocessing.rst:2532 msgid "" "When first created the logger has level :data:`logging.NOTSET` and no " "default handler. Messages sent to this logger will not by default propagate " "to the root logger." msgstr "" -#: ../Doc/library/multiprocessing.rst:2544 +#: ../Doc/library/multiprocessing.rst:2536 msgid "" "Note that on Windows child processes will only inherit the level of the " "parent process's logger -- any other customization of the logger will not be " "inherited." msgstr "" -#: ../Doc/library/multiprocessing.rst:2551 +#: ../Doc/library/multiprocessing.rst:2543 msgid "" "This function performs a call to :func:`get_logger` but in addition to " "returning the logger created by get_logger, it adds a handler which sends " @@ -2778,87 +2758,87 @@ msgid "" "%(message)s'``." msgstr "" -#: ../Doc/library/multiprocessing.rst:2556 +#: ../Doc/library/multiprocessing.rst:2548 msgid "Below is an example session with logging turned on::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2571 +#: ../Doc/library/multiprocessing.rst:2563 msgid "For a full table of logging levels, see the :mod:`logging` module." msgstr "" -#: ../Doc/library/multiprocessing.rst:2575 +#: ../Doc/library/multiprocessing.rst:2567 msgid "The :mod:`multiprocessing.dummy` module" msgstr "" -#: ../Doc/library/multiprocessing.rst:2580 +#: ../Doc/library/multiprocessing.rst:2572 msgid "" ":mod:`multiprocessing.dummy` replicates the API of :mod:`multiprocessing` " "but is no more than a wrapper around the :mod:`threading` module." msgstr "" -#: ../Doc/library/multiprocessing.rst:2587 +#: ../Doc/library/multiprocessing.rst:2579 msgid "Programming guidelines" msgstr "" -#: ../Doc/library/multiprocessing.rst:2589 +#: ../Doc/library/multiprocessing.rst:2581 msgid "" "There are certain guidelines and idioms which should be adhered to when " "using :mod:`multiprocessing`." msgstr "" -#: ../Doc/library/multiprocessing.rst:2594 +#: ../Doc/library/multiprocessing.rst:2586 msgid "All start methods" msgstr "" -#: ../Doc/library/multiprocessing.rst:2596 +#: ../Doc/library/multiprocessing.rst:2588 msgid "The following applies to all start methods." msgstr "" -#: ../Doc/library/multiprocessing.rst:2598 +#: ../Doc/library/multiprocessing.rst:2590 msgid "Avoid shared state" msgstr "" -#: ../Doc/library/multiprocessing.rst:2600 +#: ../Doc/library/multiprocessing.rst:2592 msgid "" "As far as possible one should try to avoid shifting large amounts of data " "between processes." msgstr "" -#: ../Doc/library/multiprocessing.rst:2603 +#: ../Doc/library/multiprocessing.rst:2595 msgid "" "It is probably best to stick to using queues or pipes for communication " "between processes rather than using the lower level synchronization " "primitives." msgstr "" -#: ../Doc/library/multiprocessing.rst:2607 +#: ../Doc/library/multiprocessing.rst:2599 msgid "Picklability" msgstr "" -#: ../Doc/library/multiprocessing.rst:2609 +#: ../Doc/library/multiprocessing.rst:2601 msgid "Ensure that the arguments to the methods of proxies are picklable." msgstr "" -#: ../Doc/library/multiprocessing.rst:2611 +#: ../Doc/library/multiprocessing.rst:2603 msgid "Thread safety of proxies" msgstr "" -#: ../Doc/library/multiprocessing.rst:2613 +#: ../Doc/library/multiprocessing.rst:2605 msgid "" "Do not use a proxy object from more than one thread unless you protect it " "with a lock." msgstr "" -#: ../Doc/library/multiprocessing.rst:2616 +#: ../Doc/library/multiprocessing.rst:2608 msgid "" "(There is never a problem with different processes using the *same* proxy.)" msgstr "" -#: ../Doc/library/multiprocessing.rst:2618 +#: ../Doc/library/multiprocessing.rst:2610 msgid "Joining zombie processes" msgstr "" -#: ../Doc/library/multiprocessing.rst:2620 +#: ../Doc/library/multiprocessing.rst:2612 msgid "" "On Unix when a process finishes but has not been joined it becomes a zombie. " "There should never be very many because each time a new process starts (or :" @@ -2869,11 +2849,11 @@ msgid "" "all the processes that you start." msgstr "" -#: ../Doc/library/multiprocessing.rst:2628 +#: ../Doc/library/multiprocessing.rst:2620 msgid "Better to inherit than pickle/unpickle" msgstr "" -#: ../Doc/library/multiprocessing.rst:2630 +#: ../Doc/library/multiprocessing.rst:2622 msgid "" "When using the *spawn* or *forkserver* start methods many types from :mod:" "`multiprocessing` need to be picklable so that child processes can use " @@ -2883,11 +2863,11 @@ msgid "" "inherit it from an ancestor process." msgstr "" -#: ../Doc/library/multiprocessing.rst:2638 +#: ../Doc/library/multiprocessing.rst:2630 msgid "Avoid terminating processes" msgstr "" -#: ../Doc/library/multiprocessing.rst:2640 +#: ../Doc/library/multiprocessing.rst:2632 msgid "" "Using the :meth:`Process.terminate ` " "method to stop a process is liable to cause any shared resources (such as " @@ -2895,18 +2875,18 @@ msgid "" "become broken or unavailable to other processes." msgstr "" -#: ../Doc/library/multiprocessing.rst:2646 +#: ../Doc/library/multiprocessing.rst:2638 msgid "" "Therefore it is probably best to only consider using :meth:`Process." "terminate ` on processes which never use " "any shared resources." msgstr "" -#: ../Doc/library/multiprocessing.rst:2650 +#: ../Doc/library/multiprocessing.rst:2642 msgid "Joining processes that use queues" msgstr "" -#: ../Doc/library/multiprocessing.rst:2652 +#: ../Doc/library/multiprocessing.rst:2644 msgid "" "Bear in mind that a process that has put items in a queue will wait before " "terminating until all the buffered items are fed by the \"feeder\" thread to " @@ -2915,7 +2895,7 @@ msgid "" "queue to avoid this behaviour.)" msgstr "" -#: ../Doc/library/multiprocessing.rst:2658 +#: ../Doc/library/multiprocessing.rst:2650 msgid "" "This means that whenever you use a queue you need to make sure that all " "items which have been put on the queue will eventually be removed before the " @@ -2924,21 +2904,21 @@ msgid "" "processes will be joined automatically." msgstr "" -#: ../Doc/library/multiprocessing.rst:2664 +#: ../Doc/library/multiprocessing.rst:2656 msgid "An example which will deadlock is the following::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2678 +#: ../Doc/library/multiprocessing.rst:2670 msgid "" "A fix here would be to swap the last two lines (or simply remove the ``p." "join()`` line)." msgstr "" -#: ../Doc/library/multiprocessing.rst:2681 +#: ../Doc/library/multiprocessing.rst:2673 msgid "Explicitly pass resources to child processes" msgstr "" -#: ../Doc/library/multiprocessing.rst:2683 +#: ../Doc/library/multiprocessing.rst:2675 msgid "" "On Unix using the *fork* start method, a child process can make use of a " "shared resource created in a parent process using a global resource. " @@ -2946,7 +2926,7 @@ msgid "" "for the child process." msgstr "" -#: ../Doc/library/multiprocessing.rst:2688 +#: ../Doc/library/multiprocessing.rst:2680 msgid "" "Apart from making the code (potentially) compatible with Windows and the " "other start methods this also ensures that as long as the child process is " @@ -2955,29 +2935,29 @@ msgid "" "collected in the parent process." msgstr "" -#: ../Doc/library/multiprocessing.rst:2695 +#: ../Doc/library/multiprocessing.rst:2687 msgid "So for instance ::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2707 +#: ../Doc/library/multiprocessing.rst:2699 msgid "should be rewritten as ::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2719 +#: ../Doc/library/multiprocessing.rst:2711 msgid "Beware of replacing :data:`sys.stdin` with a \"file like object\"" msgstr "" -#: ../Doc/library/multiprocessing.rst:2721 +#: ../Doc/library/multiprocessing.rst:2713 msgid ":mod:`multiprocessing` originally unconditionally called::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2725 +#: ../Doc/library/multiprocessing.rst:2717 msgid "" "in the :meth:`multiprocessing.Process._bootstrap` method --- this resulted " "in issues with processes-in-processes. This has been changed to::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2731 +#: ../Doc/library/multiprocessing.rst:2723 msgid "" "Which solves the fundamental issue of processes colliding with each other " "resulting in a bad file descriptor error, but introduces a potential danger " @@ -2987,33 +2967,33 @@ msgid "" "data being flushed to the object multiple times, resulting in corruption." msgstr "" -#: ../Doc/library/multiprocessing.rst:2738 +#: ../Doc/library/multiprocessing.rst:2730 msgid "" "If you write a file-like object and implement your own caching, you can make " "it fork-safe by storing the pid whenever you append to the cache, and " "discarding the cache when the pid changes. For example::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2750 +#: ../Doc/library/multiprocessing.rst:2742 msgid "" "For more information, see :issue:`5155`, :issue:`5313` and :issue:`5331`" msgstr "" -#: ../Doc/library/multiprocessing.rst:2753 +#: ../Doc/library/multiprocessing.rst:2745 msgid "The *spawn* and *forkserver* start methods" msgstr "" -#: ../Doc/library/multiprocessing.rst:2755 +#: ../Doc/library/multiprocessing.rst:2747 msgid "" "There are a few extra restriction which don't apply to the *fork* start " "method." msgstr "" -#: ../Doc/library/multiprocessing.rst:2758 +#: ../Doc/library/multiprocessing.rst:2750 msgid "More picklability" msgstr "" -#: ../Doc/library/multiprocessing.rst:2760 +#: ../Doc/library/multiprocessing.rst:2752 msgid "" "Ensure that all arguments to :meth:`Process.__init__` are picklable. Also, " "if you subclass :class:`~multiprocessing.Process` then make sure that " @@ -3021,11 +3001,11 @@ msgid "" "Process.start>` method is called." msgstr "" -#: ../Doc/library/multiprocessing.rst:2765 +#: ../Doc/library/multiprocessing.rst:2757 msgid "Global variables" msgstr "" -#: ../Doc/library/multiprocessing.rst:2767 +#: ../Doc/library/multiprocessing.rst:2759 msgid "" "Bear in mind that if code run in a child process tries to access a global " "variable, then the value it sees (if any) may not be the same as the value " @@ -3033,66 +3013,66 @@ msgid "" "Process.start>` was called." msgstr "" -#: ../Doc/library/multiprocessing.rst:2772 +#: ../Doc/library/multiprocessing.rst:2764 msgid "" "However, global variables which are just module level constants cause no " "problems." msgstr "" -#: ../Doc/library/multiprocessing.rst:2775 +#: ../Doc/library/multiprocessing.rst:2767 msgid "Safe importing of main module" msgstr "" -#: ../Doc/library/multiprocessing.rst:2777 +#: ../Doc/library/multiprocessing.rst:2769 msgid "" "Make sure that the main module can be safely imported by a new Python " "interpreter without causing unintended side effects (such a starting a new " "process)." msgstr "" -#: ../Doc/library/multiprocessing.rst:2781 +#: ../Doc/library/multiprocessing.rst:2773 msgid "" "For example, using the *spawn* or *forkserver* start method running the " "following module would fail with a :exc:`RuntimeError`::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2793 +#: ../Doc/library/multiprocessing.rst:2785 msgid "" "Instead one should protect the \"entry point\" of the program by using ``if " "__name__ == '__main__':`` as follows::" msgstr "" -#: ../Doc/library/multiprocessing.rst:2807 +#: ../Doc/library/multiprocessing.rst:2799 msgid "" "(The ``freeze_support()`` line can be omitted if the program will be run " "normally instead of frozen.)" msgstr "" -#: ../Doc/library/multiprocessing.rst:2810 +#: ../Doc/library/multiprocessing.rst:2802 msgid "" "This allows the newly spawned Python interpreter to safely import the module " "and then run the module's ``foo()`` function." msgstr "" -#: ../Doc/library/multiprocessing.rst:2813 +#: ../Doc/library/multiprocessing.rst:2805 msgid "" "Similar restrictions apply if a pool or manager is created in the main " "module." msgstr "" -#: ../Doc/library/multiprocessing.rst:2820 +#: ../Doc/library/multiprocessing.rst:2812 msgid "Examples" msgstr "Exemples" -#: ../Doc/library/multiprocessing.rst:2822 +#: ../Doc/library/multiprocessing.rst:2814 msgid "Demonstration of how to create and use customized managers and proxies:" msgstr "" -#: ../Doc/library/multiprocessing.rst:2828 +#: ../Doc/library/multiprocessing.rst:2820 msgid "Using :class:`~multiprocessing.pool.Pool`:" msgstr "" -#: ../Doc/library/multiprocessing.rst:2834 +#: ../Doc/library/multiprocessing.rst:2826 msgid "" "An example showing how to use queues to feed tasks to a collection of worker " "processes and collect the results:" diff --git a/library/operator.po b/library/operator.po index 206df7a8..e992a88c 100644 --- a/library/operator.po +++ b/library/operator.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -29,24 +29,26 @@ msgstr "**Code source :** :source:`Lib/operator.py`" msgid "" "The :mod:`operator` module exports a set of efficient functions " "corresponding to the intrinsic operators of Python. For example, ``operator." -"add(x, y)`` is equivalent to the expression ``x+y``. The function names are " -"those used for special class methods; variants without leading and trailing " -"``__`` are also provided for convenience." +"add(x, y)`` is equivalent to the expression ``x+y``. Many function names are " +"those used for special methods, without the double underscores. For " +"backward compatibility, many of these have a variant with the double " +"underscores kept. The variants without the double underscores are preferred " +"for clarity." msgstr "" -#: ../Doc/library/operator.rst:24 +#: ../Doc/library/operator.rst:25 msgid "" "The functions fall into categories that perform object comparisons, logical " "operations, mathematical operations and sequence operations." msgstr "" -#: ../Doc/library/operator.rst:27 +#: ../Doc/library/operator.rst:28 msgid "" "The object comparison functions are useful for all objects, and are named " "after the rich comparison operators they support:" msgstr "" -#: ../Doc/library/operator.rst:44 +#: ../Doc/library/operator.rst:45 msgid "" "Perform \"rich comparisons\" between *a* and *b*. Specifically, ``lt(a, b)`` " "is equivalent to ``a < b``, ``le(a, b)`` is equivalent to ``a <= b``, " @@ -57,13 +59,13 @@ msgid "" "`comparisons` for more information about rich comparisons." msgstr "" -#: ../Doc/library/operator.rst:53 +#: ../Doc/library/operator.rst:54 msgid "" "The logical operations are also generally applicable to all objects, and " "support truth tests, identity tests, and boolean operations:" msgstr "" -#: ../Doc/library/operator.rst:60 +#: ../Doc/library/operator.rst:61 msgid "" "Return the outcome of :keyword:`not` *obj*. (Note that there is no :meth:" "`__not__` method for object instances; only the interpreter core defines " @@ -71,142 +73,142 @@ msgid "" "`__len__` methods.)" msgstr "" -#: ../Doc/library/operator.rst:68 +#: ../Doc/library/operator.rst:69 msgid "" "Return :const:`True` if *obj* is true, and :const:`False` otherwise. This " "is equivalent to using the :class:`bool` constructor." msgstr "" -#: ../Doc/library/operator.rst:74 +#: ../Doc/library/operator.rst:75 msgid "Return ``a is b``. Tests object identity." msgstr "" -#: ../Doc/library/operator.rst:79 +#: ../Doc/library/operator.rst:80 msgid "Return ``a is not b``. Tests object identity." msgstr "" -#: ../Doc/library/operator.rst:82 +#: ../Doc/library/operator.rst:83 msgid "The mathematical and bitwise operations are the most numerous:" msgstr "" -#: ../Doc/library/operator.rst:88 +#: ../Doc/library/operator.rst:89 msgid "Return the absolute value of *obj*." msgstr "Renvoie la valeur absolue de *obj*." -#: ../Doc/library/operator.rst:94 +#: ../Doc/library/operator.rst:95 msgid "Return ``a + b``, for *a* and *b* numbers." msgstr "" -#: ../Doc/library/operator.rst:100 +#: ../Doc/library/operator.rst:101 msgid "Return the bitwise and of *a* and *b*." msgstr "" -#: ../Doc/library/operator.rst:106 +#: ../Doc/library/operator.rst:107 msgid "Return ``a // b``." msgstr "" -#: ../Doc/library/operator.rst:112 +#: ../Doc/library/operator.rst:113 msgid "Return *a* converted to an integer. Equivalent to ``a.__index__()``." msgstr "" -#: ../Doc/library/operator.rst:120 +#: ../Doc/library/operator.rst:121 msgid "" "Return the bitwise inverse of the number *obj*. This is equivalent to " "``~obj``." msgstr "" -#: ../Doc/library/operator.rst:126 +#: ../Doc/library/operator.rst:127 msgid "Return *a* shifted left by *b*." msgstr "" -#: ../Doc/library/operator.rst:132 +#: ../Doc/library/operator.rst:133 msgid "Return ``a % b``." msgstr "" -#: ../Doc/library/operator.rst:138 +#: ../Doc/library/operator.rst:139 msgid "Return ``a * b``, for *a* and *b* numbers." msgstr "" -#: ../Doc/library/operator.rst:144 +#: ../Doc/library/operator.rst:145 msgid "Return ``a @ b``." msgstr "" -#: ../Doc/library/operator.rst:152 +#: ../Doc/library/operator.rst:153 msgid "Return *obj* negated (``-obj``)." msgstr "" -#: ../Doc/library/operator.rst:158 +#: ../Doc/library/operator.rst:159 msgid "Return the bitwise or of *a* and *b*." msgstr "" -#: ../Doc/library/operator.rst:164 +#: ../Doc/library/operator.rst:165 msgid "Return *obj* positive (``+obj``)." msgstr "" -#: ../Doc/library/operator.rst:170 +#: ../Doc/library/operator.rst:171 msgid "Return ``a ** b``, for *a* and *b* numbers." msgstr "" -#: ../Doc/library/operator.rst:176 +#: ../Doc/library/operator.rst:177 msgid "Return *a* shifted right by *b*." msgstr "" -#: ../Doc/library/operator.rst:182 +#: ../Doc/library/operator.rst:183 msgid "Return ``a - b``." msgstr "" -#: ../Doc/library/operator.rst:188 +#: ../Doc/library/operator.rst:189 msgid "" "Return ``a / b`` where 2/3 is .66 rather than 0. This is also known as " "\"true\" division." msgstr "" -#: ../Doc/library/operator.rst:195 +#: ../Doc/library/operator.rst:196 msgid "Return the bitwise exclusive or of *a* and *b*." msgstr "" -#: ../Doc/library/operator.rst:198 +#: ../Doc/library/operator.rst:199 msgid "" "Operations which work with sequences (some of them with mappings too) " "include:" msgstr "" -#: ../Doc/library/operator.rst:203 +#: ../Doc/library/operator.rst:204 msgid "Return ``a + b`` for *a* and *b* sequences." msgstr "" -#: ../Doc/library/operator.rst:209 +#: ../Doc/library/operator.rst:210 msgid "Return the outcome of the test ``b in a``. Note the reversed operands." msgstr "" -#: ../Doc/library/operator.rst:214 +#: ../Doc/library/operator.rst:215 msgid "Return the number of occurrences of *b* in *a*." msgstr "" -#: ../Doc/library/operator.rst:220 +#: ../Doc/library/operator.rst:221 msgid "Remove the value of *a* at index *b*." msgstr "" -#: ../Doc/library/operator.rst:226 +#: ../Doc/library/operator.rst:227 msgid "Return the value of *a* at index *b*." msgstr "" -#: ../Doc/library/operator.rst:231 +#: ../Doc/library/operator.rst:232 msgid "Return the index of the first of occurrence of *b* in *a*." msgstr "" -#: ../Doc/library/operator.rst:237 +#: ../Doc/library/operator.rst:238 msgid "Set the value of *a* at index *b* to *c*." msgstr "" -#: ../Doc/library/operator.rst:242 +#: ../Doc/library/operator.rst:243 msgid "" "Return an estimated length for the object *o*. First try to return its " "actual length, then an estimate using :meth:`object.__length_hint__`, and " "finally return the default value." msgstr "" -#: ../Doc/library/operator.rst:248 +#: ../Doc/library/operator.rst:249 msgid "" "The :mod:`operator` module also defines tools for generalized attribute and " "item lookups. These are useful for making fast field extractors as " @@ -214,510 +216,510 @@ msgid "" "other functions that expect a function argument." msgstr "" -#: ../Doc/library/operator.rst:257 +#: ../Doc/library/operator.rst:258 msgid "" "Return a callable object that fetches *attr* from its operand. If more than " "one attribute is requested, returns a tuple of attributes. The attribute " "names can also contain dots. For example:" msgstr "" -#: ../Doc/library/operator.rst:261 +#: ../Doc/library/operator.rst:262 msgid "After ``f = attrgetter('name')``, the call ``f(b)`` returns ``b.name``." msgstr "" -#: ../Doc/library/operator.rst:263 +#: ../Doc/library/operator.rst:264 msgid "" "After ``f = attrgetter('name', 'date')``, the call ``f(b)`` returns ``(b." "name, b.date)``." msgstr "" -#: ../Doc/library/operator.rst:266 +#: ../Doc/library/operator.rst:267 msgid "" "After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)`` " "returns ``(b.name.first, b.name.last)``." msgstr "" -#: ../Doc/library/operator.rst:269 ../Doc/library/operator.rst:301 -#: ../Doc/library/operator.rst:347 +#: ../Doc/library/operator.rst:270 ../Doc/library/operator.rst:302 +#: ../Doc/library/operator.rst:348 msgid "Equivalent to::" msgstr "Équivalent à : ::" -#: ../Doc/library/operator.rst:292 +#: ../Doc/library/operator.rst:293 msgid "" "Return a callable object that fetches *item* from its operand using the " "operand's :meth:`__getitem__` method. If multiple items are specified, " "returns a tuple of lookup values. For example:" msgstr "" -#: ../Doc/library/operator.rst:296 +#: ../Doc/library/operator.rst:297 msgid "After ``f = itemgetter(2)``, the call ``f(r)`` returns ``r[2]``." msgstr "" -#: ../Doc/library/operator.rst:298 +#: ../Doc/library/operator.rst:299 msgid "" "After ``g = itemgetter(2, 5, 3)``, the call ``g(r)`` returns ``(r[2], r[5], " "r[3])``." msgstr "" -#: ../Doc/library/operator.rst:313 +#: ../Doc/library/operator.rst:314 msgid "" "The items can be any type accepted by the operand's :meth:`__getitem__` " "method. Dictionaries accept any hashable value. Lists, tuples, and strings " "accept an index or a slice:" msgstr "" -#: ../Doc/library/operator.rst:325 +#: ../Doc/library/operator.rst:326 msgid "" "Example of using :func:`itemgetter` to retrieve specific fields from a tuple " "record:" msgstr "" -#: ../Doc/library/operator.rst:338 +#: ../Doc/library/operator.rst:339 msgid "" "Return a callable object that calls the method *name* on its operand. If " "additional arguments and/or keyword arguments are given, they will be given " "to the method as well. For example:" msgstr "" -#: ../Doc/library/operator.rst:342 +#: ../Doc/library/operator.rst:343 msgid "" "After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``." msgstr "" -#: ../Doc/library/operator.rst:344 +#: ../Doc/library/operator.rst:345 msgid "" "After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)`` returns " "``b.name('foo', bar=1)``." msgstr "" -#: ../Doc/library/operator.rst:358 +#: ../Doc/library/operator.rst:359 msgid "Mapping Operators to Functions" msgstr "" -#: ../Doc/library/operator.rst:360 +#: ../Doc/library/operator.rst:361 msgid "" "This table shows how abstract operations correspond to operator symbols in " "the Python syntax and the functions in the :mod:`operator` module." msgstr "" -#: ../Doc/library/operator.rst:364 +#: ../Doc/library/operator.rst:365 msgid "Operation" msgstr "Opération" -#: ../Doc/library/operator.rst:364 +#: ../Doc/library/operator.rst:365 msgid "Syntax" msgstr "" -#: ../Doc/library/operator.rst:364 +#: ../Doc/library/operator.rst:365 msgid "Function" msgstr "Fonction" -#: ../Doc/library/operator.rst:366 +#: ../Doc/library/operator.rst:367 msgid "Addition" msgstr "" -#: ../Doc/library/operator.rst:366 +#: ../Doc/library/operator.rst:367 msgid "``a + b``" msgstr "``a + b``" -#: ../Doc/library/operator.rst:366 +#: ../Doc/library/operator.rst:367 msgid "``add(a, b)``" msgstr "``add(a, b)``" -#: ../Doc/library/operator.rst:368 +#: ../Doc/library/operator.rst:369 msgid "Concatenation" msgstr "" -#: ../Doc/library/operator.rst:368 +#: ../Doc/library/operator.rst:369 msgid "``seq1 + seq2``" msgstr "``seq1 + seq2``" -#: ../Doc/library/operator.rst:368 +#: ../Doc/library/operator.rst:369 msgid "``concat(seq1, seq2)``" msgstr "``concat(seq1, seq2)``" -#: ../Doc/library/operator.rst:370 +#: ../Doc/library/operator.rst:371 msgid "Containment Test" msgstr "" -#: ../Doc/library/operator.rst:370 +#: ../Doc/library/operator.rst:371 msgid "``obj in seq``" msgstr "``obj in seq``" -#: ../Doc/library/operator.rst:370 +#: ../Doc/library/operator.rst:371 msgid "``contains(seq, obj)``" msgstr "``contains(seq, obj)``" -#: ../Doc/library/operator.rst:372 ../Doc/library/operator.rst:374 +#: ../Doc/library/operator.rst:373 ../Doc/library/operator.rst:375 msgid "Division" msgstr "" -#: ../Doc/library/operator.rst:372 +#: ../Doc/library/operator.rst:373 msgid "``a / b``" msgstr "``a / b``" -#: ../Doc/library/operator.rst:372 +#: ../Doc/library/operator.rst:373 msgid "``truediv(a, b)``" msgstr "``truediv(a, b)``" -#: ../Doc/library/operator.rst:374 +#: ../Doc/library/operator.rst:375 msgid "``a // b``" msgstr "``a // b``" -#: ../Doc/library/operator.rst:374 +#: ../Doc/library/operator.rst:375 msgid "``floordiv(a, b)``" msgstr "``floordiv(a, b)``" -#: ../Doc/library/operator.rst:376 +#: ../Doc/library/operator.rst:377 msgid "Bitwise And" msgstr "" -#: ../Doc/library/operator.rst:376 +#: ../Doc/library/operator.rst:377 msgid "``a & b``" msgstr "``a & b``" -#: ../Doc/library/operator.rst:376 +#: ../Doc/library/operator.rst:377 msgid "``and_(a, b)``" msgstr "``and_(a, b)``" -#: ../Doc/library/operator.rst:378 +#: ../Doc/library/operator.rst:379 msgid "Bitwise Exclusive Or" msgstr "" -#: ../Doc/library/operator.rst:378 +#: ../Doc/library/operator.rst:379 msgid "``a ^ b``" msgstr "``a ^ b``" -#: ../Doc/library/operator.rst:378 +#: ../Doc/library/operator.rst:379 msgid "``xor(a, b)``" msgstr "``xor(a, b)``" -#: ../Doc/library/operator.rst:380 +#: ../Doc/library/operator.rst:381 msgid "Bitwise Inversion" msgstr "" -#: ../Doc/library/operator.rst:380 +#: ../Doc/library/operator.rst:381 msgid "``~ a``" msgstr "``~ a``" -#: ../Doc/library/operator.rst:380 +#: ../Doc/library/operator.rst:381 msgid "``invert(a)``" msgstr "``invert(a)``" -#: ../Doc/library/operator.rst:382 +#: ../Doc/library/operator.rst:383 msgid "Bitwise Or" msgstr "" -#: ../Doc/library/operator.rst:382 +#: ../Doc/library/operator.rst:383 msgid "``a | b``" msgstr "``a | b``" -#: ../Doc/library/operator.rst:382 +#: ../Doc/library/operator.rst:383 msgid "``or_(a, b)``" msgstr "``or_(a, b)``" -#: ../Doc/library/operator.rst:384 +#: ../Doc/library/operator.rst:385 msgid "Exponentiation" msgstr "" -#: ../Doc/library/operator.rst:384 +#: ../Doc/library/operator.rst:385 msgid "``a ** b``" msgstr "``a ** b``" -#: ../Doc/library/operator.rst:384 +#: ../Doc/library/operator.rst:385 msgid "``pow(a, b)``" msgstr "``pow(a, b)``" -#: ../Doc/library/operator.rst:386 ../Doc/library/operator.rst:388 +#: ../Doc/library/operator.rst:387 ../Doc/library/operator.rst:389 msgid "Identity" msgstr "" -#: ../Doc/library/operator.rst:386 +#: ../Doc/library/operator.rst:387 msgid "``a is b``" msgstr "``a is b``" -#: ../Doc/library/operator.rst:386 +#: ../Doc/library/operator.rst:387 msgid "``is_(a, b)``" msgstr "``is_(a, b)``" -#: ../Doc/library/operator.rst:388 +#: ../Doc/library/operator.rst:389 msgid "``a is not b``" msgstr "``a is not b``" -#: ../Doc/library/operator.rst:388 +#: ../Doc/library/operator.rst:389 msgid "``is_not(a, b)``" msgstr "``is_not(a, b)``" -#: ../Doc/library/operator.rst:390 +#: ../Doc/library/operator.rst:391 msgid "Indexed Assignment" msgstr "" -#: ../Doc/library/operator.rst:390 +#: ../Doc/library/operator.rst:391 msgid "``obj[k] = v``" msgstr "``obj[k] = v``" -#: ../Doc/library/operator.rst:390 +#: ../Doc/library/operator.rst:391 msgid "``setitem(obj, k, v)``" msgstr "``setitem(obj, k, v)``" -#: ../Doc/library/operator.rst:392 +#: ../Doc/library/operator.rst:393 msgid "Indexed Deletion" msgstr "" -#: ../Doc/library/operator.rst:392 +#: ../Doc/library/operator.rst:393 msgid "``del obj[k]``" msgstr "``del obj[k]``" -#: ../Doc/library/operator.rst:392 +#: ../Doc/library/operator.rst:393 msgid "``delitem(obj, k)``" msgstr "``delitem(obj, k)``" -#: ../Doc/library/operator.rst:394 +#: ../Doc/library/operator.rst:395 msgid "Indexing" msgstr "" -#: ../Doc/library/operator.rst:394 +#: ../Doc/library/operator.rst:395 msgid "``obj[k]``" msgstr "``obj[k]``" -#: ../Doc/library/operator.rst:394 +#: ../Doc/library/operator.rst:395 msgid "``getitem(obj, k)``" msgstr "``getitem(obj, k)``" -#: ../Doc/library/operator.rst:396 +#: ../Doc/library/operator.rst:397 msgid "Left Shift" msgstr "" -#: ../Doc/library/operator.rst:396 +#: ../Doc/library/operator.rst:397 msgid "``a << b``" msgstr "``a << b``" -#: ../Doc/library/operator.rst:396 +#: ../Doc/library/operator.rst:397 msgid "``lshift(a, b)``" msgstr "``lshift(a, b)``" -#: ../Doc/library/operator.rst:398 +#: ../Doc/library/operator.rst:399 msgid "Modulo" msgstr "" -#: ../Doc/library/operator.rst:398 +#: ../Doc/library/operator.rst:399 msgid "``a % b``" msgstr "``a % b``" -#: ../Doc/library/operator.rst:398 +#: ../Doc/library/operator.rst:399 msgid "``mod(a, b)``" msgstr "``mod(a, b)``" -#: ../Doc/library/operator.rst:400 +#: ../Doc/library/operator.rst:401 msgid "Multiplication" msgstr "" -#: ../Doc/library/operator.rst:400 +#: ../Doc/library/operator.rst:401 msgid "``a * b``" msgstr "``a * b``" -#: ../Doc/library/operator.rst:400 +#: ../Doc/library/operator.rst:401 msgid "``mul(a, b)``" msgstr "``mul(a, b)``" -#: ../Doc/library/operator.rst:402 +#: ../Doc/library/operator.rst:403 msgid "Matrix Multiplication" msgstr "" -#: ../Doc/library/operator.rst:402 +#: ../Doc/library/operator.rst:403 msgid "``a @ b``" msgstr "``a @ b``" -#: ../Doc/library/operator.rst:402 +#: ../Doc/library/operator.rst:403 msgid "``matmul(a, b)``" msgstr "``matmul(a, b)``" -#: ../Doc/library/operator.rst:404 +#: ../Doc/library/operator.rst:405 msgid "Negation (Arithmetic)" msgstr "" -#: ../Doc/library/operator.rst:404 +#: ../Doc/library/operator.rst:405 msgid "``- a``" msgstr "``- a``" -#: ../Doc/library/operator.rst:404 +#: ../Doc/library/operator.rst:405 msgid "``neg(a)``" msgstr "``neg(a)``" -#: ../Doc/library/operator.rst:406 +#: ../Doc/library/operator.rst:407 msgid "Negation (Logical)" msgstr "" -#: ../Doc/library/operator.rst:406 +#: ../Doc/library/operator.rst:407 msgid "``not a``" msgstr "``not a``" -#: ../Doc/library/operator.rst:406 +#: ../Doc/library/operator.rst:407 msgid "``not_(a)``" msgstr "``not_(a)``" -#: ../Doc/library/operator.rst:408 +#: ../Doc/library/operator.rst:409 msgid "Positive" msgstr "" -#: ../Doc/library/operator.rst:408 +#: ../Doc/library/operator.rst:409 msgid "``+ a``" msgstr "``+ a``" -#: ../Doc/library/operator.rst:408 +#: ../Doc/library/operator.rst:409 msgid "``pos(a)``" msgstr "``pos(a)``" -#: ../Doc/library/operator.rst:410 +#: ../Doc/library/operator.rst:411 msgid "Right Shift" msgstr "" -#: ../Doc/library/operator.rst:410 +#: ../Doc/library/operator.rst:411 msgid "``a >> b``" msgstr "``a >> b``" -#: ../Doc/library/operator.rst:410 +#: ../Doc/library/operator.rst:411 msgid "``rshift(a, b)``" msgstr "``rshift(a, b)``" -#: ../Doc/library/operator.rst:412 +#: ../Doc/library/operator.rst:413 msgid "Slice Assignment" msgstr "" -#: ../Doc/library/operator.rst:412 +#: ../Doc/library/operator.rst:413 msgid "``seq[i:j] = values``" msgstr "``seq[i:j] = values``" -#: ../Doc/library/operator.rst:412 +#: ../Doc/library/operator.rst:413 msgid "``setitem(seq, slice(i, j), values)``" msgstr "``setitem(seq, slice(i, j), values)``" -#: ../Doc/library/operator.rst:414 +#: ../Doc/library/operator.rst:415 msgid "Slice Deletion" msgstr "" -#: ../Doc/library/operator.rst:414 +#: ../Doc/library/operator.rst:415 msgid "``del seq[i:j]``" msgstr "``del seq[i:j]``" -#: ../Doc/library/operator.rst:414 +#: ../Doc/library/operator.rst:415 msgid "``delitem(seq, slice(i, j))``" msgstr "``delitem(seq, slice(i, j))``" -#: ../Doc/library/operator.rst:416 +#: ../Doc/library/operator.rst:417 msgid "Slicing" msgstr "" -#: ../Doc/library/operator.rst:416 +#: ../Doc/library/operator.rst:417 msgid "``seq[i:j]``" msgstr "``seq[i:j]``" -#: ../Doc/library/operator.rst:416 +#: ../Doc/library/operator.rst:417 msgid "``getitem(seq, slice(i, j))``" msgstr "``getitem(seq, slice(i, j))``" -#: ../Doc/library/operator.rst:418 +#: ../Doc/library/operator.rst:419 msgid "String Formatting" msgstr "" -#: ../Doc/library/operator.rst:418 +#: ../Doc/library/operator.rst:419 msgid "``s % obj``" msgstr "``s % obj``" -#: ../Doc/library/operator.rst:418 +#: ../Doc/library/operator.rst:419 msgid "``mod(s, obj)``" msgstr "``mod(s, obj)``" -#: ../Doc/library/operator.rst:420 +#: ../Doc/library/operator.rst:421 msgid "Subtraction" msgstr "" -#: ../Doc/library/operator.rst:420 +#: ../Doc/library/operator.rst:421 msgid "``a - b``" msgstr "``a - b``" -#: ../Doc/library/operator.rst:420 +#: ../Doc/library/operator.rst:421 msgid "``sub(a, b)``" msgstr "``sub(a, b)``" -#: ../Doc/library/operator.rst:422 +#: ../Doc/library/operator.rst:423 msgid "Truth Test" msgstr "" -#: ../Doc/library/operator.rst:422 +#: ../Doc/library/operator.rst:423 msgid "``obj``" msgstr "``obj``" -#: ../Doc/library/operator.rst:422 +#: ../Doc/library/operator.rst:423 msgid "``truth(obj)``" msgstr "``truth(obj)``" -#: ../Doc/library/operator.rst:424 ../Doc/library/operator.rst:426 -#: ../Doc/library/operator.rst:432 ../Doc/library/operator.rst:434 +#: ../Doc/library/operator.rst:425 ../Doc/library/operator.rst:427 +#: ../Doc/library/operator.rst:433 ../Doc/library/operator.rst:435 msgid "Ordering" msgstr "" -#: ../Doc/library/operator.rst:424 +#: ../Doc/library/operator.rst:425 msgid "``a < b``" msgstr "``a < b``" -#: ../Doc/library/operator.rst:424 +#: ../Doc/library/operator.rst:425 msgid "``lt(a, b)``" msgstr "``lt(a, b)``" -#: ../Doc/library/operator.rst:426 +#: ../Doc/library/operator.rst:427 msgid "``a <= b``" msgstr "``a <= b``" -#: ../Doc/library/operator.rst:426 +#: ../Doc/library/operator.rst:427 msgid "``le(a, b)``" msgstr "``le(a, b)``" -#: ../Doc/library/operator.rst:428 +#: ../Doc/library/operator.rst:429 msgid "Equality" msgstr "" -#: ../Doc/library/operator.rst:428 +#: ../Doc/library/operator.rst:429 msgid "``a == b``" msgstr "``a == b``" -#: ../Doc/library/operator.rst:428 +#: ../Doc/library/operator.rst:429 msgid "``eq(a, b)``" msgstr "``eq(a, b)``" -#: ../Doc/library/operator.rst:430 +#: ../Doc/library/operator.rst:431 msgid "Difference" msgstr "Différence" -#: ../Doc/library/operator.rst:430 +#: ../Doc/library/operator.rst:431 msgid "``a != b``" msgstr "``a != b``" -#: ../Doc/library/operator.rst:430 +#: ../Doc/library/operator.rst:431 msgid "``ne(a, b)``" msgstr "``ne(a, b)``" -#: ../Doc/library/operator.rst:432 +#: ../Doc/library/operator.rst:433 msgid "``a >= b``" msgstr "``a >= b``" -#: ../Doc/library/operator.rst:432 +#: ../Doc/library/operator.rst:433 msgid "``ge(a, b)``" msgstr "``ge(a, b)``" -#: ../Doc/library/operator.rst:434 +#: ../Doc/library/operator.rst:435 msgid "``a > b``" msgstr "``a > b``" -#: ../Doc/library/operator.rst:434 +#: ../Doc/library/operator.rst:435 msgid "``gt(a, b)``" msgstr "``gt(a, b)``" -#: ../Doc/library/operator.rst:438 +#: ../Doc/library/operator.rst:439 msgid "Inplace Operators" msgstr "" -#: ../Doc/library/operator.rst:440 +#: ../Doc/library/operator.rst:441 msgid "" "Many operations have an \"in-place\" version. Listed below are functions " "providing a more primitive access to in-place operators than the usual " @@ -727,7 +729,7 @@ msgid "" "y``." msgstr "" -#: ../Doc/library/operator.rst:447 +#: ../Doc/library/operator.rst:448 msgid "" "In those examples, note that when an in-place method is called, the " "computation and assignment are performed in two separate steps. The in-" @@ -735,72 +737,72 @@ msgid "" "method. The second step, assignment, is not handled." msgstr "" -#: ../Doc/library/operator.rst:452 +#: ../Doc/library/operator.rst:453 msgid "" "For immutable targets such as strings, numbers, and tuples, the updated " "value is computed, but not assigned back to the input variable:" msgstr "" -#: ../Doc/library/operator.rst:461 +#: ../Doc/library/operator.rst:462 msgid "" "For mutable targets such as lists and dictionaries, the inplace method will " "perform the update, so no subsequent assignment is necessary:" msgstr "" -#: ../Doc/library/operator.rst:473 +#: ../Doc/library/operator.rst:474 msgid "``a = iadd(a, b)`` is equivalent to ``a += b``." msgstr "``a = iadd(a, b)`` is equivalent to ``a += b``." -#: ../Doc/library/operator.rst:479 +#: ../Doc/library/operator.rst:480 msgid "``a = iand(a, b)`` is equivalent to ``a &= b``." msgstr "``a = iand(a, b)`` is equivalent to ``a &= b``." -#: ../Doc/library/operator.rst:485 +#: ../Doc/library/operator.rst:486 msgid "" "``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences." msgstr "" "``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences." -#: ../Doc/library/operator.rst:491 +#: ../Doc/library/operator.rst:492 msgid "``a = ifloordiv(a, b)`` is equivalent to ``a //= b``." msgstr "``a = ifloordiv(a, b)`` is equivalent to ``a //= b``." -#: ../Doc/library/operator.rst:497 +#: ../Doc/library/operator.rst:498 msgid "``a = ilshift(a, b)`` is equivalent to ``a <<= b``." msgstr "``a = ilshift(a, b)`` is equivalent to ``a <<= b``." -#: ../Doc/library/operator.rst:503 +#: ../Doc/library/operator.rst:504 msgid "``a = imod(a, b)`` is equivalent to ``a %= b``." msgstr "``a = imod(a, b)`` is equivalent to ``a %= b``." -#: ../Doc/library/operator.rst:509 +#: ../Doc/library/operator.rst:510 msgid "``a = imul(a, b)`` is equivalent to ``a *= b``." msgstr "``a = imul(a, b)`` is equivalent to ``a *= b``." -#: ../Doc/library/operator.rst:515 +#: ../Doc/library/operator.rst:516 msgid "``a = imatmul(a, b)`` is equivalent to ``a @= b``." msgstr "``a = imatmul(a, b)`` is equivalent to ``a @= b``." -#: ../Doc/library/operator.rst:523 +#: ../Doc/library/operator.rst:524 msgid "``a = ior(a, b)`` is equivalent to ``a |= b``." msgstr "``a = ior(a, b)`` is equivalent to ``a |= b``." -#: ../Doc/library/operator.rst:529 +#: ../Doc/library/operator.rst:530 msgid "``a = ipow(a, b)`` is equivalent to ``a **= b``." msgstr "``a = ipow(a, b)`` is equivalent to ``a **= b``." -#: ../Doc/library/operator.rst:535 +#: ../Doc/library/operator.rst:536 msgid "``a = irshift(a, b)`` is equivalent to ``a >>= b``." msgstr "``a = irshift(a, b)`` is equivalent to ``a >>= b``." -#: ../Doc/library/operator.rst:541 +#: ../Doc/library/operator.rst:542 msgid "``a = isub(a, b)`` is equivalent to ``a -= b``." msgstr "``a = isub(a, b)`` is equivalent to ``a -= b``." -#: ../Doc/library/operator.rst:547 +#: ../Doc/library/operator.rst:548 msgid "``a = itruediv(a, b)`` is equivalent to ``a /= b``." msgstr "``a = itruediv(a, b)`` is equivalent to ``a /= b``." -#: ../Doc/library/operator.rst:553 +#: ../Doc/library/operator.rst:554 msgid "``a = ixor(a, b)`` is equivalent to ``a ^= b``." msgstr "``a = ixor(a, b)`` is equivalent to ``a ^= b``." diff --git a/library/re.po b/library/re.po index 6e453878..ebd26864 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-11-07 22:59+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -34,12 +34,14 @@ msgstr "" "similaires à celles que l'on trouve dans Perl." #: ../Doc/library/re.rst:17 +#, fuzzy msgid "" -"Both patterns and strings to be searched can be Unicode strings as well as 8-" -"bit strings. However, Unicode strings and 8-bit strings cannot be mixed: " -"that is, you cannot match a Unicode string with a byte pattern or vice-" -"versa; similarly, when asking for a substitution, the replacement string " -"must be of the same type as both the pattern and the search string." +"Both patterns and strings to be searched can be Unicode strings (:class:" +"`str`) as well as 8-bit strings (:class:`bytes`). However, Unicode strings " +"and 8-bit strings cannot be mixed: that is, you cannot match a Unicode " +"string with a byte pattern or vice-versa; similarly, when asking for a " +"substitution, the replacement string must be of the same type as both the " +"pattern and the search string." msgstr "" "Motifs comme chaînes à analyser peuvent aussi bien être des chaînes Unicode " "que des chaînes 8-bit. Cependant, chaînes Unicode et 8-bit ne peuvent pas " @@ -48,7 +50,7 @@ msgstr "" "chaîne de remplacement doit être du même type que le motif et la chaîne " "analysée." -#: ../Doc/library/re.rst:23 +#: ../Doc/library/re.rst:24 msgid "" "Regular expressions use the backslash character (``'\\'``) to indicate " "special forms or to allow special characters to be used without invoking " @@ -67,7 +69,7 @@ msgstr "" "rationnelle devrait être ``\\\\``, et chaque *backslash* exprimé par ``\\" "\\`` au sein des chaînes littérales Python." -#: ../Doc/library/re.rst:32 +#: ../Doc/library/re.rst:33 msgid "" "The solution is to use Python's raw string notation for regular expression " "patterns; backslashes are not handled in any special way in a string literal " @@ -84,7 +86,7 @@ msgstr "" "saut de ligne. Généralement, les motifs seront exprimés en Python à l'aide " "de chaînes brutes." -#: ../Doc/library/re.rst:39 +#: ../Doc/library/re.rst:40 msgid "" "It is important to note that most regular expression operations are " "available as module-level functions and methods on :ref:`compiled regular " @@ -98,7 +100,7 @@ msgstr "" "objet *regex*, mais auxquelles manquent certains paramètres de configuration " "fine." -#: ../Doc/library/re.rst:47 +#: ../Doc/library/re.rst:48 msgid "" "The third-party `regex `_ module, which " "has an API compatible with the standard library :mod:`re` module, but offers " @@ -109,11 +111,11 @@ msgstr "" "standard, mais offre des fonctionnalités additionnelles et un meilleur " "support de l'Unicode." -#: ../Doc/library/re.rst:55 +#: ../Doc/library/re.rst:56 msgid "Regular Expression Syntax" msgstr "Syntaxe des Expressions Rationnelles" -#: ../Doc/library/re.rst:57 +#: ../Doc/library/re.rst:58 msgid "" "A regular expression (or RE) specifies a set of strings that matches it; the " "functions in this module let you check if a particular string matches a " @@ -126,7 +128,7 @@ msgstr "" "à une expression rationnelle donnée (ou si un expression rationnelle donnée " "correspond à une chaîne particulière, ce qui revient à la même chose)." -#: ../Doc/library/re.rst:62 +#: ../Doc/library/re.rst:63 msgid "" "Regular expressions can be concatenated to form new regular expressions; if " "*A* and *B* are both regular expressions, then *AB* is also a regular " @@ -152,7 +154,7 @@ msgstr "" "Frield référencé plus tôt, ou à peu près n'importe quel livre dédié à la " "construction de compilateurs." -#: ../Doc/library/re.rst:72 +#: ../Doc/library/re.rst:73 msgid "" "A brief explanation of the format of regular expressions follows. For " "further information and a gentler presentation, consult the :ref:`regex-" @@ -162,7 +164,7 @@ msgstr "" "de plus amples informations, et une meilleure présentation, référez-vous au :" "ref:`regex-howto`." -#: ../Doc/library/re.rst:75 +#: ../Doc/library/re.rst:76 msgid "" "Regular expressions can contain both special and ordinary characters. Most " "ordinary characters, like ``'A'``, ``'a'``, or ``'0'``, are the simplest " @@ -180,13 +182,12 @@ msgstr "" "dans ``ce style spécifique``, généralement sans guillemets, et les chaînes à " "tester ``'entourées de simples guillemets'``.)" -#: ../Doc/library/re.rst:82 +#: ../Doc/library/re.rst:83 +#, fuzzy msgid "" "Some characters, like ``'|'`` or ``'('``, are special. Special characters " "either stand for classes of ordinary characters, or affect how the regular " -"expressions around them are interpreted. Regular expression pattern strings " -"may not contain null bytes, but can specify the null byte using a ``" -"\\number`` notation such as ``'\\x00'``." +"expressions around them are interpreted." msgstr "" "Certains caractères, comme ``'|'`` ou ``'('``, sont spéciaux. Des caractères " "spéciaux peuvent aussi exister pour les classes de caractères ordinaires, ou " @@ -195,7 +196,7 @@ msgstr "" "contenir de caractères nuls, mais peuvent spécifier le caractère nul en " "utilisant une notation ``\\number`` comme ``\\x00``." -#: ../Doc/library/re.rst:88 +#: ../Doc/library/re.rst:87 msgid "" "Repetition qualifiers (``*``, ``+``, ``?``, ``{m,n}``, etc) cannot be " "directly nested. This avoids ambiguity with the non-greedy modifier suffix " @@ -211,15 +212,15 @@ msgstr "" "``(?:a{6})*`` valide toutes les chaînes composées d'un nombre de caractères " "``'a'`` multiple de six." -#: ../Doc/library/re.rst:95 +#: ../Doc/library/re.rst:94 msgid "The special characters are:" msgstr "Les caractères spéciaux sont :" -#: ../Doc/library/re.rst:100 -msgid "``'.'``" -msgstr "``'.'``" +#: ../Doc/library/re.rst:99 ../Doc/library/re.rst:1282 +msgid "``.``" +msgstr "``.``" -#: ../Doc/library/re.rst:98 +#: ../Doc/library/re.rst:97 msgid "" "(Dot.) In the default mode, this matches any character except a newline. " "If the :const:`DOTALL` flag has been specified, this matches any character " @@ -229,11 +230,11 @@ msgstr "" "saut de ligne. Si l'option :const:`DOTALL` a été spécifiée, il valide tout " "caractère, saut de ligne compris." -#: ../Doc/library/re.rst:104 -msgid "``'^'``" -msgstr "``'^'``" - #: ../Doc/library/re.rst:103 +msgid "``^``" +msgstr "" + +#: ../Doc/library/re.rst:102 msgid "" "(Caret.) Matches the start of the string, and in :const:`MULTILINE` mode " "also matches immediately after each newline." @@ -241,11 +242,11 @@ msgstr "" "(Accent circonflexe.) Valide le début d'une chaîne de caractères, ainsi que " "ce qui suit chaque saut de ligne en mode :const:`MULTILINE`." -#: ../Doc/library/re.rst:113 -msgid "``'$'``" -msgstr "``'$'``" +#: ../Doc/library/re.rst:112 +msgid "``$``" +msgstr "" -#: ../Doc/library/re.rst:107 +#: ../Doc/library/re.rst:106 msgid "" "Matches the end of the string or just before the newline at the end of the " "string, and in :const:`MULTILINE` mode also matches before a newline. " @@ -265,11 +266,11 @@ msgstr "" "dans ``'foo\\n'`` trouvera deux correspondances (vides) : une juste avant le " "saut de ligne, et une à la fin de la chaîne." -#: ../Doc/library/re.rst:118 -msgid "``'*'``" -msgstr "``'*'``" +#: ../Doc/library/re.rst:117 +msgid "``*``" +msgstr "" -#: ../Doc/library/re.rst:116 +#: ../Doc/library/re.rst:115 msgid "" "Causes the resulting RE to match 0 or more repetitions of the preceding RE, " "as many repetitions as are possible. ``ab*`` will match 'a', 'ab', or 'a' " @@ -279,11 +280,11 @@ msgstr "" "plus de l'expression qui précède, avec autant de répétitions que possible. " "``ab*`` validera 'a', 'ab' ou 'a' suivi de n'importe quel nombre de 'b'." -#: ../Doc/library/re.rst:123 -msgid "``'+'``" -msgstr "``'+'``" +#: ../Doc/library/re.rst:122 +msgid "``+``" +msgstr "" -#: ../Doc/library/re.rst:121 +#: ../Doc/library/re.rst:120 msgid "" "Causes the resulting RE to match 1 or more repetitions of the preceding RE. " "``ab+`` will match 'a' followed by any non-zero number of 'b's; it will not " @@ -293,11 +294,11 @@ msgstr "" "plus de l'expression qui précède. ``ab+`` validera 'a' suivi de n'importe " "quel nombre non nul de 'b' ; ça ne validera pas la chaîne 'a'." -#: ../Doc/library/re.rst:127 -msgid "``'?'``" -msgstr "``'?'``" - #: ../Doc/library/re.rst:126 +msgid "``?``" +msgstr "" + +#: ../Doc/library/re.rst:125 msgid "" "Causes the resulting RE to match 0 or 1 repetitions of the preceding RE. " "``ab?`` will match either 'a' or 'ab'." @@ -305,19 +306,20 @@ msgstr "" "Implique à l'expression rationnelle résultante de valider 0 ou 1 répétition " "de l'expression qui précède. ``ab?`` correspondra à la fois à 'a' et 'ab'." -#: ../Doc/library/re.rst:136 +#: ../Doc/library/re.rst:135 msgid "``*?``, ``+?``, ``??``" msgstr "``*?``, ``+?``, ``??``" -#: ../Doc/library/re.rst:130 +#: ../Doc/library/re.rst:129 +#, fuzzy msgid "" "The ``'*'``, ``'+'``, and ``'?'`` qualifiers are all :dfn:`greedy`; they " "match as much text as possible. Sometimes this behaviour isn't desired; if " -"the RE ``<.*>`` is matched against `` b ``, it will match the entire " -"string, and not just ````. Adding ``?`` after the qualifier makes it " +"the RE ``<.*>`` is matched against ``' b '``, it will match the entire " +"string, and not just ``''``. Adding ``?`` after the qualifier makes it " "perform the match in :dfn:`non-greedy` or :dfn:`minimal` fashion; as *few* " "characters as possible will be matched. Using the RE ``<.*?>`` will match " -"only ````." +"only ``''``." msgstr "" "Les qualificateurs ``'*'``, ``'+'`` et ``'?'`` sont tous :dfn:`greedy` " "(gourmands) ; ils valident autant de texte que possible. Parfois ce " @@ -328,11 +330,11 @@ msgstr "" "*moins* de caractères possibles seront validés. Utiliser l'expression " "rationnelle ``<.*?>`` validera uniquement ````." -#: ../Doc/library/re.rst:141 +#: ../Doc/library/re.rst:140 msgid "``{m}``" msgstr "``{m}``" -#: ../Doc/library/re.rst:139 +#: ../Doc/library/re.rst:138 msgid "" "Specifies that exactly *m* copies of the previous RE should be matched; " "fewer matches cause the entire RE not to match. For example, ``a{6}`` will " @@ -343,20 +345,21 @@ msgstr "" "l'expression entière de correspondre. Par exemple, ``a{6}`` correspondra " "exactement à six caractères ``'a'``, mais pas à cinq." -#: ../Doc/library/re.rst:150 +#: ../Doc/library/re.rst:149 msgid "``{m,n}``" msgstr "``{m,n}``" -#: ../Doc/library/re.rst:144 +#: ../Doc/library/re.rst:143 +#, fuzzy msgid "" "Causes the resulting RE to match from *m* to *n* repetitions of the " "preceding RE, attempting to match as many repetitions as possible. For " "example, ``a{3,5}`` will match from 3 to 5 ``'a'`` characters. Omitting *m* " "specifies a lower bound of zero, and omitting *n* specifies an infinite " -"upper bound. As an example, ``a{4,}b`` will match ``aaaab`` or a thousand " -"``'a'`` characters followed by a ``b``, but not ``aaab``. The comma may not " -"be omitted or the modifier would be confused with the previously described " -"form." +"upper bound. As an example, ``a{4,}b`` will match ``'aaaab'`` or a thousand " +"``'a'`` characters followed by a ``'b'``, but not ``'aaab'``. The comma may " +"not be omitted or the modifier would be confused with the previously " +"described form." msgstr "" "Implique à l'expression rationnelle résultante de valider entre *m* et *n* " "répétitions de l'expression qui précède, cherchant à en valider le plus " @@ -367,11 +370,11 @@ msgstr "" "``b``, mais pas à ``aaab``. La virgule ne doit pas être omise, auquel cas le " "modificateur serait confondu avec la forme décrite précédemment." -#: ../Doc/library/re.rst:157 +#: ../Doc/library/re.rst:156 msgid "``{m,n}?``" msgstr "``{m,n}?``" -#: ../Doc/library/re.rst:153 +#: ../Doc/library/re.rst:152 msgid "" "Causes the resulting RE to match from *m* to *n* repetitions of the " "preceding RE, attempting to match as *few* repetitions as possible. This is " @@ -386,11 +389,11 @@ msgstr "" "``a{3,5}`` trouvera 5 caractères ``'a'``, alors que ``a{3,5}?`` n'en " "trouvera que 3." -#: ../Doc/library/re.rst:170 -msgid "``'\\'``" -msgstr "``'\\'``" +#: ../Doc/library/re.rst:169 +msgid "``\\``" +msgstr "" -#: ../Doc/library/re.rst:160 +#: ../Doc/library/re.rst:159 msgid "" "Either escapes special characters (permitting you to match characters like " "``'*'``, ``'?'``, and so forth), or signals a special sequence; special " @@ -400,7 +403,7 @@ msgstr "" "caractères comme ``'*'``, ``'?'`` et autres), ou signale une séquence " "spéciale ; les séquences spéciales sont décrites ci-dessous." -#: ../Doc/library/re.rst:164 +#: ../Doc/library/re.rst:163 msgid "" "If you're not using a raw string to express the pattern, remember that " "Python also uses the backslash as an escape sequence in string literals; if " @@ -420,15 +423,15 @@ msgstr "" "recommandé d'utiliser des chaînes brutes pour tout sauf les expressions les " "plus simples." -#: ../Doc/library/re.rst:202 +#: ../Doc/library/re.rst:201 msgid "``[]``" msgstr "``[]``" -#: ../Doc/library/re.rst:173 +#: ../Doc/library/re.rst:172 msgid "Used to indicate a set of characters. In a set:" msgstr "Utilisé pour indiquer un ensemble de caractères. Dans un ensemble :" -#: ../Doc/library/re.rst:175 +#: ../Doc/library/re.rst:174 msgid "" "Characters can be listed individually, e.g. ``[amk]`` will match ``'a'``, " "``'m'``, or ``'k'``." @@ -436,14 +439,15 @@ msgstr "" "Les caractères peuvent être listés individuellement, e.g. ``[amk]`` " "correspondra à ``'a'``, ``'m'`` ou ``'k'``." -#: ../Doc/library/re.rst:178 +#: ../Doc/library/re.rst:177 +#, fuzzy msgid "" "Ranges of characters can be indicated by giving two characters and " "separating them by a ``'-'``, for example ``[a-z]`` will match any lowercase " "ASCII letter, ``[0-5][0-9]`` will match all the two-digits numbers from " "``00`` to ``59``, and ``[0-9A-Fa-f]`` will match any hexadecimal digit. If " "``-`` is escaped (e.g. ``[a\\-z]``) or if it's placed as the first or last " -"character (e.g. ``[a-]``), it will match a literal ``'-'``." +"character (e.g. ``[-a]`` or ``[a-]``), it will match a literal ``'-'``." msgstr "" "Des intervalles de caractères peuvent être indiqués en donnant deux " "caractères et les séparant par un ``'-'``, par exemple ``[a-z]`` " @@ -453,7 +457,7 @@ msgstr "" "s'il est placé comme premier ou dernier caractère (e.g. ``[a-]``), il " "correspondra à un ``'-'`` littéral." -#: ../Doc/library/re.rst:185 +#: ../Doc/library/re.rst:184 msgid "" "Special characters lose their special meaning inside sets. For example, " "``[(+*)]`` will match any of the literal characters ``'('``, ``'+'``, " @@ -463,7 +467,7 @@ msgstr "" "exemple, ``[(+*)]`` validera chacun des caractères littéraux ``'('``, " "``'+'``, ``'*'`` ou ``')'``." -#: ../Doc/library/re.rst:189 +#: ../Doc/library/re.rst:188 msgid "" "Character classes such as ``\\w`` or ``\\S`` (defined below) are also " "accepted inside a set, although the characters they match depends on " @@ -474,7 +478,7 @@ msgstr "" "caractères correspondant dépendent de quel mode est actif entre :const:" "`ASCII` et :const:`LOCALE`." -#: ../Doc/library/re.rst:193 +#: ../Doc/library/re.rst:192 msgid "" "Characters that are not within a range can be matched by :dfn:" "`complementing` the set. If the first character of the set is ``'^'``, all " @@ -491,7 +495,7 @@ msgstr "" "excepté ``'^'``. ``^`` n'a pas de sens particulier s'il n'est pas le " "premier caractère de l'ensemble." -#: ../Doc/library/re.rst:200 +#: ../Doc/library/re.rst:199 msgid "" "To match a literal ``']'`` inside a set, precede it with a backslash, or " "place it at the beginning of the set. For example, both ``[()[\\]{}]`` and " @@ -502,21 +506,22 @@ msgstr "" "{}]`` et ``[]()[{}]`` vont tous deux correspondre à une parenthèse, un " "crochet ou une accolade." -#: ../Doc/library/re.rst:213 -msgid "``'|'``" -msgstr "``'|'``" +#: ../Doc/library/re.rst:212 +msgid "``|``" +msgstr "" -#: ../Doc/library/re.rst:205 +#: ../Doc/library/re.rst:204 +#, fuzzy msgid "" -"``A|B``, where A and B can be arbitrary REs, creates a regular expression " -"that will match either A or B. An arbitrary number of REs can be separated " -"by the ``'|'`` in this way. This can be used inside groups (see below) as " -"well. As the target string is scanned, REs separated by ``'|'`` are tried " -"from left to right. When one pattern completely matches, that branch is " -"accepted. This means that once ``A`` matches, ``B`` will not be tested " -"further, even if it would produce a longer overall match. In other words, " -"the ``'|'`` operator is never greedy. To match a literal ``'|'``, use ``\\|" -"``, or enclose it inside a character class, as in ``[|]``." +"``A|B``, where *A* and *B* can be arbitrary REs, creates a regular " +"expression that will match either *A* or *B*. An arbitrary number of REs " +"can be separated by the ``'|'`` in this way. This can be used inside groups " +"(see below) as well. As the target string is scanned, REs separated by " +"``'|'`` are tried from left to right. When one pattern completely matches, " +"that branch is accepted. This means that once *A* matches, *B* will not be " +"tested further, even if it would produce a longer overall match. In other " +"words, the ``'|'`` operator is never greedy. To match a literal ``'|'``, " +"use ``\\|``, or enclose it inside a character class, as in ``[|]``." msgstr "" "``A|B``, où A et B peuvent être deux expressions rationnelles arbitraires, " "crée une expression rationnelle qui validera à la fois A et B. Un nombre " @@ -530,18 +535,19 @@ msgstr "" "``'|'`` n'est jamais gourmand. Pour valider un ``'|'`` littéral, utilisez ``" "\\|``, ou enveloppez-le dans une classe de caractères, comme ``[|]``." -#: ../Doc/library/re.rst:220 +#: ../Doc/library/re.rst:219 msgid "``(...)``" msgstr "``(...)``" -#: ../Doc/library/re.rst:216 +#: ../Doc/library/re.rst:215 +#, fuzzy msgid "" "Matches whatever regular expression is inside the parentheses, and indicates " "the start and end of a group; the contents of a group can be retrieved after " "a match has been performed, and can be matched later in the string with the " "``\\number`` special sequence, described below. To match the literals " "``'('`` or ``')'``, use ``\\(`` or ``\\)``, or enclose them inside a " -"character class: ``[(] [)]``." +"character class: ``[(]``, ``[)]``." msgstr "" "Valide n'importe quelle expression rationnelle comprise entre les " "parenthèses, et indique le début et la fin d'un groupe ; le contenu d'un " @@ -551,11 +557,11 @@ msgstr "" "``\\(`` ou ``\\)``, ou enveloppez-les dans une classe de caractères : ``[(] " "[)]``." -#: ../Doc/library/re.rst:227 +#: ../Doc/library/re.rst:226 msgid "``(?...)``" msgstr "``(?...)``" -#: ../Doc/library/re.rst:223 +#: ../Doc/library/re.rst:222 msgid "" "This is an extension notation (a ``'?'`` following a ``'('`` is not " "meaningful otherwise). The first character after the ``'?'`` determines " @@ -573,17 +579,19 @@ msgstr "" msgid "``(?aiLmsux)``" msgstr "``(?aiLmsux)``" -#: ../Doc/library/re.rst:230 +#: ../Doc/library/re.rst:229 +#, fuzzy msgid "" "(One or more letters from the set ``'a'``, ``'i'``, ``'L'``, ``'m'``, " "``'s'``, ``'u'``, ``'x'``.) The group matches the empty string; the letters " "set the corresponding flags: :const:`re.A` (ASCII-only matching), :const:`re." "I` (ignore case), :const:`re.L` (locale dependent), :const:`re.M` (multi-" -"line), :const:`re.S` (dot matches all), and :const:`re.X` (verbose), for the " -"entire regular expression. (The flags are described in :ref:`contents-of-" -"module-re`.) This is useful if you wish to include the flags as part of the " -"regular expression, instead of passing a *flag* argument to the :func:`re." -"compile` function. Flags should be used first in the expression string." +"line), :const:`re.S` (dot matches all), :const:`re.U` (Unicode matching), " +"and :const:`re.X` (verbose), for the entire regular expression. (The flags " +"are described in :ref:`contents-of-module-re`.) This is useful if you wish " +"to include the flags as part of the regular expression, instead of passing a " +"*flag* argument to the :func:`re.compile` function. Flags should be used " +"first in the expression string." msgstr "" "(Une lettre ou plus de l'ensemble ``'a'``, ``'i'``, ``'L'``, ``'m'``, " "``'s'``, ``'u'``, ``'x'``.) Le groupe valide la chaîne vide ; les lettres " @@ -684,7 +692,8 @@ msgid "``\\1``" msgstr "``\\1``" #: ../Doc/library/re.rst:275 -msgid "when processing match object ``m``" +#, fuzzy +msgid "when processing match object *m*" msgstr "en analysant l'objet résultat ``m``" #: ../Doc/library/re.rst:275 @@ -696,7 +705,8 @@ msgid "``m.end('quote')`` (etc.)" msgstr "``m.end('quote')`` (etc.)" #: ../Doc/library/re.rst:278 -msgid "in a string passed to the ``repl`` argument of ``re.sub()``" +#, fuzzy +msgid "in a string passed to the *repl* argument of ``re.sub()``" msgstr "dans une chaîne passée à l'argument ``repl`` de ``re.sub()``" #: ../Doc/library/re.rst:278 @@ -732,10 +742,11 @@ msgid "``(?=...)``" msgstr "``(?=...)``" #: ../Doc/library/re.rst:291 +#, fuzzy msgid "" "Matches if ``...`` matches next, but doesn't consume any of the string. " -"This is called a lookahead assertion. For example, ``Isaac (?=Asimov)`` " -"will match ``'Isaac '`` only if it's followed by ``'Asimov'``." +"This is called a :dfn:`lookahead assertion`. For example, ``Isaac (?" +"=Asimov)`` will match ``'Isaac '`` only if it's followed by ``'Asimov'``." msgstr "" "Valide si ``...`` valide la suite, mais ne consomme rien de la chaîne. On " "appelle cela une assertion *lookahead*. Par exemple, ``Isaac (?=Asimov)`` " @@ -747,10 +758,11 @@ msgid "``(?!...)``" msgstr "``(?!...)``" #: ../Doc/library/re.rst:296 +#, fuzzy msgid "" -"Matches if ``...`` doesn't match next. This is a negative lookahead " -"assertion. For example, ``Isaac (?!Asimov)`` will match ``'Isaac '`` only if " -"it's *not* followed by ``'Asimov'``." +"Matches if ``...`` doesn't match next. This is a :dfn:`negative lookahead " +"assertion`. For example, ``Isaac (?!Asimov)`` will match ``'Isaac '`` only " +"if it's *not* followed by ``'Asimov'``." msgstr "" "Valide si ``...`` ne valide pas la suite. C'est une assertion *lookahead* " "négative. Par exemple, ``Isaac (?!Asimov)`` correspondra à la chaîne " @@ -761,10 +773,11 @@ msgid "``(?<=...)``" msgstr "``(?<=...)``" #: ../Doc/library/re.rst:301 +#, fuzzy msgid "" "Matches if the current position in the string is preceded by a match for " "``...`` that ends at the current position. This is called a :dfn:`positive " -"lookbehind assertion`. ``(?<=abc)def`` will find a match in ``abcdef``, " +"lookbehind assertion`. ``(?<=abc)def`` will find a match in ``'abcdef'``, " "since the lookbehind will back up 3 characters and check if the contained " "pattern matches. The contained pattern must only match strings of some fixed " "length, meaning that ``abc`` or ``a|b`` are allowed, but ``a*`` and ``a{3,4}" @@ -878,19 +891,18 @@ msgstr "``\\A``" msgid "Matches only at the start of the string." msgstr "Correspond uniquement au début d'une chaîne de caractères." -#: ../Doc/library/re.rst:372 +#: ../Doc/library/re.rst:371 msgid "``\\b``" msgstr "``\\b``" #: ../Doc/library/re.rst:360 +#, fuzzy msgid "" "Matches the empty string, but only at the beginning or end of a word. A word " -"is defined as a sequence of Unicode alphanumeric or underscore characters, " -"so the end of a word is indicated by whitespace or a non-alphanumeric, non-" -"underscore Unicode character. Note that formally, ``\\b`` is defined as the " -"boundary between a ``\\w`` and a ``\\W`` character (or vice versa), or " -"between ``\\w`` and the beginning/end of the string. This means that " -"``r'\\bfoo\\b'`` matches ``'foo'``, ``'foo.'``, ``'(foo)'``, ``'bar foo " +"is defined as a sequence of word characters. Note that formally, ``\\b`` is " +"defined as the boundary between a ``\\w`` and a ``\\W`` character (or vice " +"versa), or between ``\\w`` and the beginning/end of the string. This means " +"that ``r'\\bfoo\\b'`` matches ``'foo'``, ``'foo.'``, ``'(foo)'``, ``'bar foo " "baz'`` but not ``'foobar'`` or ``'foo3'``." msgstr "" "Correspond à la chaîne vide, mais uniquement au début ou à la fin d'un mot. " @@ -902,12 +914,14 @@ msgstr "" "que ``r'\\bfoo\\b'`` validera ``'foo'``, ``'foo.'``, ``'(foo)'`` ou ``'bar " "foo baz'`` mais pas ``'foobar'`` ou ``'foo3'``." -#: ../Doc/library/re.rst:369 +#: ../Doc/library/re.rst:367 +#, fuzzy msgid "" -"By default Unicode alphanumerics are the ones used, but this can be changed " -"by using the :const:`ASCII` flag. Inside a character range, ``\\b`` " -"represents the backspace character, for compatibility with Python's string " -"literals." +"By default Unicode alphanumerics are the ones used in Unicode patterns, but " +"this can be changed by using the :const:`ASCII` flag. Word boundaries are " +"determined by the current locale if the :const:`LOCALE` flag is used. Inside " +"a character range, ``\\b`` represents the backspace character, for " +"compatibility with Python's string literals." msgstr "" "Les caractères alphanumériques Unicode sont utilisés par défaut, mais cela " "peut être changé en utilisant l'option :const:`ASCII`. À l'intérieur d'un " @@ -918,13 +932,16 @@ msgstr "" msgid "``\\B``" msgstr "``\\B``" -#: ../Doc/library/re.rst:375 +#: ../Doc/library/re.rst:374 +#, fuzzy msgid "" "Matches the empty string, but only when it is *not* at the beginning or end " "of a word. This means that ``r'py\\B'`` matches ``'python'``, ``'py3'``, " "``'py2'``, but not ``'py'``, ``'py.'``, or ``'py!'``. ``\\B`` is just the " -"opposite of ``\\b``, so word characters are Unicode alphanumerics or the " -"underscore, although this can be changed by using the :const:`ASCII` flag." +"opposite of ``\\b``, so word characters in Unicode patterns are Unicode " +"alphanumerics or the underscore, although this can be changed by using the :" +"const:`ASCII` flag. Word boundaries are determined by the current locale if " +"the :const:`LOCALE` flag is used." msgstr "" "Correspond à la chaîne vide, mais uniquement quand elle *n'est pas* au début " "ou à la fin d'un mot. Cela signifie que ``r'py\\B'`` valide ``'python'``, " @@ -933,12 +950,12 @@ msgstr "" "alphanumériques et tirets bas Unicode, bien que cela puisse être changé avec " "l'option :const:`ASCII`." -#: ../Doc/library/re.rst:391 +#: ../Doc/library/re.rst:392 msgid "``\\d``" msgstr "``\\d``" -#: ../Doc/library/re.rst:388 ../Doc/library/re.rst:408 -#: ../Doc/library/re.rst:427 +#: ../Doc/library/re.rst:389 ../Doc/library/re.rst:409 +#: ../Doc/library/re.rst:429 msgid "For Unicode (str) patterns:" msgstr "Pour les motifs Unicode (str) :" @@ -957,26 +974,26 @@ msgstr "" "l'expression rationnelle entière, il peut être préférable dans ce genre de " "cas d'utiliser un ``[0-9]`` explicite)." -#: ../Doc/library/re.rst:391 ../Doc/library/re.rst:412 -#: ../Doc/library/re.rst:431 +#: ../Doc/library/re.rst:392 ../Doc/library/re.rst:413 +#: ../Doc/library/re.rst:435 msgid "For 8-bit (bytes) patterns:" msgstr "Pour les motifs 8-bit (bytes) :" -#: ../Doc/library/re.rst:391 +#: ../Doc/library/re.rst:392 msgid "Matches any decimal digit; this is equivalent to ``[0-9]``." msgstr "Valide n'importe quel chiffre décimal ; équivalent à ``[0-9]``." -#: ../Doc/library/re.rst:398 +#: ../Doc/library/re.rst:399 msgid "``\\D``" msgstr "``\\D``" -#: ../Doc/library/re.rst:394 +#: ../Doc/library/re.rst:395 +#, fuzzy msgid "" -"Matches any character which is not a Unicode decimal digit. This is the " -"opposite of ``\\d``. If the :const:`ASCII` flag is used this becomes the " -"equivalent of ``[^0-9]`` (but the flag affects the entire regular " -"expression, so in such cases using an explicit ``[^0-9]`` may be a better " -"choice)." +"Matches any character which is not a decimal digit. This is the opposite of " +"``\\d``. If the :const:`ASCII` flag is used this becomes the equivalent of " +"``[^0-9]`` (but the flag affects the entire regular expression, so in such " +"cases using an explicit ``[^0-9]`` may be a better choice)." msgstr "" "Valide tout caractère qui n'est pas un chiffre décimal Unicode. C'est " "l'opposé de ``\\d``. Si l'option :const:`ASCII` est utilisée, cela devient " @@ -984,11 +1001,11 @@ msgstr "" "entière, il peut être préférable dans ce genre de cas d'utiliser un " "``[^0-9]`` explicite)." -#: ../Doc/library/re.rst:412 +#: ../Doc/library/re.rst:413 msgid "``\\s``" msgstr "``\\s``" -#: ../Doc/library/re.rst:402 +#: ../Doc/library/re.rst:403 msgid "" "Matches Unicode whitespace characters (which includes ``[ \\t\\n\\r\\f" "\\v]``, and also many other characters, for example the non-breaking spaces " @@ -1005,7 +1022,7 @@ msgstr "" "être préférable dans ce genre de cas d'utiliser un ``[ \\t\\n\\r\\f\\v]`` " "explicite)." -#: ../Doc/library/re.rst:411 +#: ../Doc/library/re.rst:412 msgid "" "Matches characters considered whitespace in the ASCII character set; this is " "equivalent to ``[ \\t\\n\\r\\f\\v]``." @@ -1013,14 +1030,15 @@ msgstr "" "Valide les caractères considérés comme des espacements dans la table ASCII ; " "équivalent à ``[ \\t\\n\\r\\f\\v]``." -#: ../Doc/library/re.rst:419 +#: ../Doc/library/re.rst:420 msgid "``\\S``" msgstr "``\\S``" -#: ../Doc/library/re.rst:415 +#: ../Doc/library/re.rst:416 +#, fuzzy msgid "" -"Matches any character which is not a Unicode whitespace character. This is " -"the opposite of ``\\s``. If the :const:`ASCII` flag is used this becomes the " +"Matches any character which is not a whitespace character. This is the " +"opposite of ``\\s``. If the :const:`ASCII` flag is used this becomes the " "equivalent of ``[^ \\t\\n\\r\\f\\v]`` (but the flag affects the entire " "regular expression, so in such cases using an explicit ``[^ \\t\\n\\r\\f" "\\v]`` may be a better choice)." @@ -1031,11 +1049,11 @@ msgstr "" "rationnelle entière, il peut être préférable dans ce genre de cas d'utiliser " "un ``[^ \\t\\n\\r\\f\\v]`` explicite)." -#: ../Doc/library/re.rst:431 +#: ../Doc/library/re.rst:435 msgid "``\\w``" msgstr "``\\w``" -#: ../Doc/library/re.rst:423 +#: ../Doc/library/re.rst:424 msgid "" "Matches Unicode word characters; this includes most characters that can be " "part of a word in any language, as well as numbers and the underscore. If " @@ -1050,25 +1068,30 @@ msgstr "" "l'option affectant l'expression rationnelle entière, il peut être préférable " "dans ce genre de cas d'utiliser un ``[a-zA-Z0-9_]`` explicite)." -#: ../Doc/library/re.rst:430 +#: ../Doc/library/re.rst:432 +#, fuzzy msgid "" "Matches characters considered alphanumeric in the ASCII character set; this " -"is equivalent to ``[a-zA-Z0-9_]``." +"is equivalent to ``[a-zA-Z0-9_]``. If the :const:`LOCALE` flag is used, " +"matches characters considered alphanumeric in the current locale and the " +"underscore." msgstr "" "Valide les caractères alphanumériques de la table ASCII ; équivalent à ``[a-" "zA-Z0-9_]``." -#: ../Doc/library/re.rst:438 +#: ../Doc/library/re.rst:444 msgid "``\\W``" msgstr "``\\W``" -#: ../Doc/library/re.rst:434 +#: ../Doc/library/re.rst:438 +#, fuzzy msgid "" -"Matches any character which is not a Unicode word character. This is the " -"opposite of ``\\w``. If the :const:`ASCII` flag is used this becomes the " -"equivalent of ``[^a-zA-Z0-9_]`` (but the flag affects the entire regular " -"expression, so in such cases using an explicit ``[^a-zA-Z0-9_]`` may be a " -"better choice)." +"Matches any character which is not a word character. This is the opposite of " +"``\\w``. If the :const:`ASCII` flag is used this becomes the equivalent of " +"``[^a-zA-Z0-9_]`` (but the flag affects the entire regular expression, so in " +"such cases using an explicit ``[^a-zA-Z0-9_]`` may be a better choice). If " +"the :const:`LOCALE` flag is used, matches characters considered alphanumeric " +"in the current locale and the underscore." msgstr "" "Valide tout caractère qui n'est pas un caractère Unicode de mot. C'est " "l'opposé de ``\\w``. Si l'option :const:`ASCII` est utilisée, cela devient " @@ -1076,15 +1099,15 @@ msgstr "" "rationnelle entière, il peut être préférable dans ce genre de cas d'utiliser " "un ``[^a-zA-Z0-9_]`` explicite)." -#: ../Doc/library/re.rst:441 +#: ../Doc/library/re.rst:447 msgid "``\\Z``" msgstr "``\\Z``" -#: ../Doc/library/re.rst:441 +#: ../Doc/library/re.rst:447 msgid "Matches only at the end of the string." msgstr "Correspond uniquement à la fin d'une chaîne de caractères." -#: ../Doc/library/re.rst:443 +#: ../Doc/library/re.rst:449 msgid "" "Most of the standard escapes supported by Python string literals are also " "accepted by the regular expression parser::" @@ -1092,7 +1115,7 @@ msgstr "" "La plupart des échappements standards supportés par les chaînes littérales " "sont aussi acceptés par le parseur d'expressions rationnelles: ::" -#: ../Doc/library/re.rst:450 +#: ../Doc/library/re.rst:456 msgid "" "(Note that ``\\b`` is used to represent word boundaries, and means " "\"backspace\" only inside character classes.)" @@ -1101,16 +1124,17 @@ msgstr "" "signifie « *backspace* » uniquement à l'intérieur d'une classe de " "caractères.)" -#: ../Doc/library/re.rst:453 +#: ../Doc/library/re.rst:459 +#, fuzzy msgid "" "``'\\u'`` and ``'\\U'`` escape sequences are only recognized in Unicode " -"patterns. In bytes patterns they are not treated specially." +"patterns. In bytes patterns they are errors." msgstr "" "Les séquences d'échappement ``'\\u'`` et ``'\\U'`` sont seulement reconnues " "dans les motifs Unicode. Aucun traitement spécifique ne leur est porté dans " "les motifs 8-bit." -#: ../Doc/library/re.rst:456 +#: ../Doc/library/re.rst:462 msgid "" "Octal escapes are included in a limited form. If the first digit is a 0, or " "if there are three octal digits, it is considered an octal escape. " @@ -1123,22 +1147,22 @@ msgstr "" "groupe. Comme pour les chaînes littérales, les séquences octales ne font " "jamais plus de 3 caractères de long." -#: ../Doc/library/re.rst:461 +#: ../Doc/library/re.rst:467 msgid "The ``'\\u'`` and ``'\\U'`` escape sequences have been added." msgstr "Les séquences d'échappement ``'\\u'`` et ``'\\U'`` ont été ajoutées." -#: ../Doc/library/re.rst:464 +#: ../Doc/library/re.rst:470 msgid "" "Unknown escapes consisting of ``'\\'`` and an ASCII letter now are errors." msgstr "" "Les séquences inconnues composées de ``'\\'`` et d'une lettre ASCII sont " "maintenant des erreurs." -#: ../Doc/library/re.rst:472 +#: ../Doc/library/re.rst:478 msgid "Mastering Regular Expressions" msgstr "Maîtriser les expression rationnelles" -#: ../Doc/library/re.rst:471 +#: ../Doc/library/re.rst:477 msgid "" "Book on regular expressions by Jeffrey Friedl, published by O'Reilly. The " "second edition of the book no longer covers Python at all, but the first " @@ -1149,11 +1173,11 @@ msgstr "" "la première version explique en détails comment écrire de bonnes expressions " "rationnelles." -#: ../Doc/library/re.rst:480 +#: ../Doc/library/re.rst:486 msgid "Module Contents" msgstr "Contenu du module" -#: ../Doc/library/re.rst:482 +#: ../Doc/library/re.rst:488 msgid "" "The module defines several functions, constants, and an exception. Some of " "the functions are simplified versions of the full featured methods for " @@ -1165,7 +1189,7 @@ msgstr "" "complètes des expressions rationnelles compilées. La plupart des " "applications non triviales utilisent toujours la version compilée." -#: ../Doc/library/re.rst:487 +#: ../Doc/library/re.rst:493 msgid "" "Flag constants are now instances of :class:`RegexFlag`, which is a subclass " "of :class:`enum.IntFlag`." @@ -1173,7 +1197,7 @@ msgstr "" "Les constantes d'options sont maintenant des instances de :class:" "`RegexFlag`, sous-classe de :class:`enum.IntFlag`." -#: ../Doc/library/re.rst:493 +#: ../Doc/library/re.rst:499 msgid "" "Compile a regular expression pattern into a :ref:`regular expression object " "`, which can be used for matching using its :func:`~regex." @@ -1183,7 +1207,7 @@ msgstr "" "compilée, dont les méthodes :func:`~regex.match` et :func:`~regex.search`, " "décrites ci-dessous, peuvent être utilisées pour analyser des textes." -#: ../Doc/library/re.rst:498 +#: ../Doc/library/re.rst:504 msgid "" "The expression's behaviour can be modified by specifying a *flags* value. " "Values can be any of the following variables, combined using bitwise OR (the " @@ -1193,15 +1217,15 @@ msgstr "" "*flags*. Les valeurs sont comprises dans les variables suivantes, et peuvent " "être combinées avec un *ou* bit-à-bit (opérateur ``|``)." -#: ../Doc/library/re.rst:502 +#: ../Doc/library/re.rst:508 msgid "The sequence ::" msgstr "La séquence : ::" -#: ../Doc/library/re.rst:507 +#: ../Doc/library/re.rst:513 msgid "is equivalent to ::" msgstr "est équivalente à : ::" -#: ../Doc/library/re.rst:511 +#: ../Doc/library/re.rst:517 msgid "" "but using :func:`re.compile` and saving the resulting regular expression " "object for reuse is more efficient when the expression will be used several " @@ -1211,7 +1235,7 @@ msgstr "" "renvoyée pour la réutiliser est plus efficace quand l'expression est amenée " "à être utilisée plusieurs fois dans un même programme." -#: ../Doc/library/re.rst:517 +#: ../Doc/library/re.rst:523 msgid "" "The compiled versions of the most recent patterns passed to :func:`re." "compile` and the module-level matching functions are cached, so programs " @@ -1223,17 +1247,19 @@ msgstr "" "les programmes qui n'utilisent que quelques expressions rationnelles en même " "temps n'ont pas à s'inquiéter de la compilation de ces expressions." -#: ../Doc/library/re.rst:526 +#: ../Doc/library/re.rst:532 +#, fuzzy msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``\\s`` and ``" "\\S`` perform ASCII-only matching instead of full Unicode matching. This is " -"only meaningful for Unicode patterns, and is ignored for byte patterns." +"only meaningful for Unicode patterns, and is ignored for byte patterns. " +"Corresponds to the inline flag ``(?a)``." msgstr "" "Fait correspondre à ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``" "\\s`` et ``\\s`` des caractères ASCII seulement, plutôt qu'Unicode. Cela " "n'a du sens que pour les motifs Unicode, et est ignoré pour les motifs 8-bit." -#: ../Doc/library/re.rst:530 +#: ../Doc/library/re.rst:537 msgid "" "Note that for backward compatibility, the :const:`re.U` flag still exists " "(as well as its synonym :const:`re.UNICODE` and its embedded counterpart ``(?" @@ -1246,16 +1272,22 @@ msgstr "" "que l'analyse est faite en Unicode par défaut pour les chaînes de caractères " "(et que l'analyse Unicode n'est pas permise pour les chaînes 8-bit)." -#: ../Doc/library/re.rst:539 -msgid "Display debug information about compiled expression." +#: ../Doc/library/re.rst:546 +#, fuzzy +msgid "" +"Display debug information about compiled expression. No corresponding inline " +"flag." msgstr "Affiche des informations de debug à propos de l'expression compilée." -#: ../Doc/library/re.rst:545 +#: ../Doc/library/re.rst:553 +#, fuzzy msgid "" "Perform case-insensitive matching; expressions like ``[A-Z]`` will also " -"match lowercase letters. The current locale does not change the effect of " -"this flag. Full Unicode matching (such as ``Ü`` matching ``ü``) also works " -"unless the :const:`re.ASCII` flag is also used to disable non-ASCII matches." +"match lowercase letters. Full Unicode matching (such as ``Ü`` matching " +"``ü``) also works unless the :const:`re.ASCII` flag is used to disable non-" +"ASCII matches. The current locale does not change the effect of this flag " +"unless the :const:`re.LOCALE` flag is also used. Corresponds to the inline " +"flag ``(?i)``." msgstr "" "Effectue une analyse indépendante de la casse. Les motifs tels que ``[A-Z]`` " "accepteront donc les caractères minuscules. La locale courante n'affecte pas " @@ -1263,14 +1295,28 @@ msgstr "" "``ü``) fonctionnent aussi, sauf si l'option :const:`re.ASCII` est utilisée " "pour désactiver explicitement les correspondances non-ASCII." -#: ../Doc/library/re.rst:555 +#: ../Doc/library/re.rst:560 msgid "" -"Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\s`` and ``\\S`` dependent on " -"the current locale. The use of this flag is discouraged as the locale " -"mechanism is very unreliable, and it only handles one \"culture\" at a time " -"anyway; you should use Unicode matching instead, which is the default in " -"Python 3 for Unicode (str) patterns. This flag can be used only with bytes " -"patterns." +"Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in " +"combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII " +"letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital " +"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), 'ſ' (U" +"+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If the :" +"const:`ASCII` flag is used, only letters 'a' to 'z' and 'A' to 'Z' are " +"matched (but the flag affects the entire regular expression, so in such " +"cases using an explicit ``(?-i:[a-zA-Z])`` may be a better choice)." +msgstr "" + +#: ../Doc/library/re.rst:573 +#, fuzzy +msgid "" +"Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " +"dependent on the current locale. This flag can be used only with bytes " +"patterns. The use of this flag is discouraged as the locale mechanism is " +"very unreliable, it only handles one \"culture\" at a time, and it only " +"works with 8-bit locales. Unicode matching is already enabled by default in " +"Python 3 for Unicode (str) patterns, and it is able to handle different " +"locales/languages. Corresponds to the inline flag ``(?L)``." msgstr "" "Fait dépendre ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\s`` et ``\\S`` de la " "locale courante. L'utilisation de cette option est déconseillée à cause du " @@ -1279,7 +1325,7 @@ msgstr "" "en Python 3 pour les motifs Unicode (str). Cette option ne peut être " "utilisée qu'avec les motifs 8-bit." -#: ../Doc/library/re.rst:561 +#: ../Doc/library/re.rst:582 msgid "" ":const:`re.LOCALE` can be used only with bytes patterns and is not " "compatible with :const:`re.ASCII`." @@ -1287,7 +1333,8 @@ msgstr "" ":const:`re.LOCALE`` ne peut être utilisée qu'avec les motifs 8-bit et n'est " "pas compatible avec :const:`re.ASCII`." -#: ../Doc/library/re.rst:569 +#: ../Doc/library/re.rst:590 +#, fuzzy msgid "" "When specified, the pattern character ``'^'`` matches at the beginning of " "the string and at the beginning of each line (immediately following each " @@ -1295,7 +1342,7 @@ msgid "" "and at the end of each line (immediately preceding each newline). By " "default, ``'^'`` matches only at the beginning of the string, and ``'$'`` " "only at the end of the string and immediately before the newline (if any) at " -"the end of the string." +"the end of the string. Corresponds to the inline flag ``(?m)``." msgstr "" "Quand spécifiée, le caractère ``'^'`` correspond au début d'une chaîne et au " "début d'une ligne (caractère suivant directement le saut de ligne) ; et le " @@ -1304,24 +1351,28 @@ msgstr "" "au début de la chaîne, et ``'$'`` uniquement à la fin de la chaîne, ou " "immédiatement avant le saut de ligne (s'il y a) à la fin de la chaîne." -#: ../Doc/library/re.rst:580 +#: ../Doc/library/re.rst:602 +#, fuzzy msgid "" "Make the ``'.'`` special character match any character at all, including a " -"newline; without this flag, ``'.'`` will match anything *except* a newline." +"newline; without this flag, ``'.'`` will match anything *except* a newline. " +"Corresponds to the inline flag ``(?s)``." msgstr "" "Fait correspondre tous les caractères possibles à ``'.'``, incluant le saut " "de ligne ; sans cette option, ``'.'`` correspondrait à tout caractère à " "l'exception du saut de ligne." -#: ../Doc/library/re.rst:587 +#: ../Doc/library/re.rst:610 +#, fuzzy msgid "" "This flag allows you to write regular expressions that look nicer and are " "more readable by allowing you to visually separate logical sections of the " "pattern and add comments. Whitespace within the pattern is ignored, except " -"when in a character class or when preceded by an unescaped backslash. When a " -"line contains a ``#`` that is not in a character class and is not preceded " -"by an unescaped backslash, all characters from the leftmost such ``#`` " -"through the end of the line are ignored." +"when in a character class, or when preceded by an unescaped backslash, or " +"within tokens like ``*?``, ``(?:`` or ``(?P<...>``. When a line contains a " +"``#`` that is not in a character class and is not preceded by an unescaped " +"backslash, all characters from the leftmost such ``#`` through the end of " +"the line are ignored." msgstr "" "Cette option vous autorise à écrire des expressions rationnelles qui " "présentent mieux et sont plus lisibles en vous permettant de séparer " @@ -1332,7 +1383,7 @@ msgstr "" "caractères ou précédé d'un *backslash* non échappé, tous les caractères " "depuis le ``#`` le plus à gauche jusqu'à la fin de la ligne sont ignorés." -#: ../Doc/library/re.rst:595 +#: ../Doc/library/re.rst:619 msgid "" "This means that the two following regular expression objects that match a " "decimal number are functionally equal::" @@ -1340,7 +1391,11 @@ msgstr "" "Cela signifie que les deux expressions rationnelles suivantes qui valident " "un nombre décimal sont fonctionnellement égales : ::" -#: ../Doc/library/re.rst:608 +#: ../Doc/library/re.rst:627 +msgid "Corresponds to the inline flag ``(?x)``." +msgstr "" + +#: ../Doc/library/re.rst:632 msgid "" "Scan through *string* looking for the first location where the regular " "expression *pattern* produces a match, and return a corresponding :ref:" @@ -1354,7 +1409,7 @@ msgstr "" "dans la chaîne ne valide le motif ; notez que cela est différent de trouver " "une correspondance avec une chaîne vide à un certain endroit de la chaîne." -#: ../Doc/library/re.rst:617 +#: ../Doc/library/re.rst:641 msgid "" "If zero or more characters at the beginning of *string* match the regular " "expression *pattern*, return a corresponding :ref:`match object `. Return ``None`` if the " @@ -1395,7 +1450,7 @@ msgstr "" "Renvoie ``None`` si la chaîne ne correspond pas au motif ; notez que cela " "est différent d'une correspondance avec une chaîne vide." -#: ../Doc/library/re.rst:641 +#: ../Doc/library/re.rst:665 msgid "" "Split *string* by the occurrences of *pattern*. If capturing parentheses " "are used in *pattern*, then the text of all groups in the pattern are also " @@ -1410,17 +1465,18 @@ msgstr "" "séparations, et le reste de la chaîne sera renvoyé comme le dernier élément " "de la liste. : ::" -#: ../Doc/library/re.rst:656 +#: ../Doc/library/re.rst:680 +#, fuzzy msgid "" "If there are capturing groups in the separator and it matches at the start " "of the string, the result will start with an empty string. The same holds " -"for the end of the string:" +"for the end of the string::" msgstr "" "S'il y a des groupes capturants dans le séparateur et qu'ils trouvent une " "correspondance au début de la chaîne, le résultat commencera par une chaîne " "vide. La même chose se produit pour la fin de la chaîne :" -#: ../Doc/library/re.rst:663 +#: ../Doc/library/re.rst:687 msgid "" "That way, separator components are always found at the same relative indices " "within the result list." @@ -1428,15 +1484,16 @@ msgstr "" "De cette manière, les séparateurs sont toujours trouvés aux mêmes indices " "relatifs dans la liste résultante." -#: ../Doc/library/re.rst:668 +#: ../Doc/library/re.rst:692 +#, fuzzy msgid "" ":func:`split` doesn't currently split a string on an empty pattern match. " -"For example:" +"For example::" msgstr "" ":func:`split` ne sépare actuellement pas une chaîne sur une correspondance " "vide. Par exemple :" -#: ../Doc/library/re.rst:674 +#: ../Doc/library/re.rst:698 msgid "" "Even though ``'x*'`` also matches 0 'x' before 'a', between 'b' and 'c', and " "after 'c', currently these matches are ignored. The correct behavior (i.e. " @@ -1452,7 +1509,7 @@ msgstr "" "Python, mais comme cela constitue un changement incompatible avec les " "précédentes, une :exc:`FutureWarning` sera levée pendant la transition." -#: ../Doc/library/re.rst:681 +#: ../Doc/library/re.rst:705 msgid "" "Patterns that can only match empty strings currently never split the " "string. Since this doesn't match the expected behavior, a :exc:`ValueError` " @@ -1463,12 +1520,12 @@ msgstr "" "comportement voulu, une :exc:`ValueError` sera levée à partir de Python " "3.5 : ::" -#: ../Doc/library/re.rst:691 ../Doc/library/re.rst:763 -#: ../Doc/library/re.rst:783 +#: ../Doc/library/re.rst:715 ../Doc/library/re.rst:787 +#: ../Doc/library/re.rst:807 msgid "Added the optional flags argument." msgstr "Ajout de l'argument optionnel *flags*" -#: ../Doc/library/re.rst:694 +#: ../Doc/library/re.rst:718 msgid "" "Splitting on a pattern that could match an empty string now raises a " "warning. Patterns that can only match empty strings are now rejected." @@ -1477,7 +1534,7 @@ msgstr "" "maintenant un avertissement. Les motifs qui ne peuvent correspondre qu'à " "des chaînes vides sont maintenant rejetés." -#: ../Doc/library/re.rst:700 +#: ../Doc/library/re.rst:724 msgid "" "Return all non-overlapping matches of *pattern* in *string*, as a list of " "strings. The *string* is scanned left-to-right, and matches are returned in " @@ -1495,7 +1552,7 @@ msgstr "" "inclues dans le résultat sauf si elles touchent le début d'une autre " "correspondance." -#: ../Doc/library/re.rst:710 +#: ../Doc/library/re.rst:734 msgid "" "Return an :term:`iterator` yielding :ref:`match objects ` " "over all non-overlapping matches for the RE *pattern* in *string*. The " @@ -1510,7 +1567,8 @@ msgstr "" "dans l'ordre où elles sont trouvées. Les correspondances vides sont inclues " "dans le résultat sauf si elles touchent le début d'une autre correspondance." -#: ../Doc/library/re.rst:719 +#: ../Doc/library/re.rst:743 +#, fuzzy msgid "" "Return the string obtained by replacing the leftmost non-overlapping " "occurrences of *pattern* in *string* by the replacement *repl*. If the " @@ -1519,7 +1577,7 @@ msgid "" "processed. That is, ``\\n`` is converted to a single newline character, ``" "\\r`` is converted to a carriage return, and so forth. Unknown escapes such " "as ``\\&`` are left alone. Backreferences, such as ``\\6``, are replaced " -"with the substring matched by group 6 in the pattern. For example:" +"with the substring matched by group 6 in the pattern. For example::" msgstr "" "Renvoie la chaîne obtenue en remplaçant les occurrences (sans chevauchement) " "les plus à gauche de *pattern* dans *string* par le remplacement *repl*. Si " @@ -1531,23 +1589,25 @@ msgstr "" "intactes. Les références arrières, telles que ``\\6``, sont remplacées par " "la sous-chaîne correspondant au groupe 6 dans le motif. Par exemple :" -#: ../Doc/library/re.rst:733 +#: ../Doc/library/re.rst:757 +#, fuzzy msgid "" "If *repl* is a function, it is called for every non-overlapping occurrence " -"of *pattern*. The function takes a single match object argument, and " -"returns the replacement string. For example:" +"of *pattern*. The function takes a single :ref:`match object ` argument, and returns the replacement string. For example::" msgstr "" "Si *repl* est une fonction, elle est appelée pour chaque occurrence non " "chevauchante de *pattern*. La fonction prend comme argument un objet de " "correspondance, et renvoie la chaîne de remplacement. Par exemple :" -#: ../Doc/library/re.rst:745 -msgid "The pattern may be a string or an RE object." +#: ../Doc/library/re.rst:769 +#, fuzzy +msgid "The pattern may be a string or a :ref:`pattern object `." msgstr "" "Le motif peut être une chaîne de caractères ou un objet expression " "rationnelle." -#: ../Doc/library/re.rst:747 +#: ../Doc/library/re.rst:771 msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. If omitted or zero, " @@ -1562,7 +1622,7 @@ msgstr "" "précédente correspondance, ainsi ``sub('x*', '-', 'abc')`` renvoie ``'-a-b-" "c-'``." -#: ../Doc/library/re.rst:753 +#: ../Doc/library/re.rst:777 msgid "" "In string-type *repl* arguments, in addition to the character escapes and " "backreferences described above, ``\\g`` will use the substring matched " @@ -1584,12 +1644,12 @@ msgstr "" "par un caractère littéral ``'0'``. La référence arrière ``\\g<0>`` est " "remplacée par la sous-chaîne entière validée par l'expression rationnelle." -#: ../Doc/library/re.rst:766 ../Doc/library/re.rst:786 -#: ../Doc/library/re.rst:998 +#: ../Doc/library/re.rst:790 ../Doc/library/re.rst:810 +#: ../Doc/library/re.rst:1030 msgid "Unmatched groups are replaced with an empty string." msgstr "Les groupes sans correspondance sont remplacés par une chaîne vide." -#: ../Doc/library/re.rst:769 +#: ../Doc/library/re.rst:793 msgid "" "Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " "are errors." @@ -1597,7 +1657,7 @@ msgstr "" "Les séquences d'échappement inconnues dans *pattern* formées par ``'\\'`` et " "une lettre ASCII sont maintenant des erreurs." -#: ../Doc/library/re.rst:775 +#: ../Doc/library/re.rst:799 msgid "" "Deprecated since version 3.5, will be removed in version 3.7: Unknown " "escapes in repl consisting of '\\' and an ASCII letter now raise a " @@ -1608,7 +1668,7 @@ msgstr "" "maintenant un avertissement de dépréciation et seront interdites en Python " "3.7." -#: ../Doc/library/re.rst:775 +#: ../Doc/library/re.rst:799 msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now " "raise a deprecation warning and will be forbidden in Python 3.7." @@ -1617,7 +1677,7 @@ msgstr "" "lettre ASCII lèvent maintenant un avertissement de dépréciation et seront " "interdites en Python 3.7." -#: ../Doc/library/re.rst:780 +#: ../Doc/library/re.rst:804 msgid "" "Perform the same operation as :func:`sub`, but return a tuple ``(new_string, " "number_of_subs_made)``." @@ -1625,7 +1685,7 @@ msgstr "" "Réalise la même opération que :func:`sub`, mais renvoie un *tuple* " "``(nouvelle_chaîne, nombre_de_substitutions_réalisées)``." -#: ../Doc/library/re.rst:792 +#: ../Doc/library/re.rst:816 msgid "" "Escape all the characters in *pattern* except ASCII letters, numbers and " "``'_'``. This is useful if you want to match an arbitrary literal string " @@ -1636,15 +1696,21 @@ msgstr "" "quelconque chaîne littérale qui pourrait contenir des métacaractères " "d'expressions rationnelles. Par exemple : ::" -#: ../Doc/library/re.rst:807 +#: ../Doc/library/re.rst:831 +msgid "" +"This functions must not be used for the replacement string in :func:`sub` " +"and :func:`subn`, only backslashes should be escaped. For example::" +msgstr "" + +#: ../Doc/library/re.rst:839 msgid "The ``'_'`` character is no longer escaped." msgstr "Le caractère ``'_'`` n'est plus échappé." -#: ../Doc/library/re.rst:813 +#: ../Doc/library/re.rst:845 msgid "Clear the regular expression cache." msgstr "Vide le cache d'expressions rationnelles." -#: ../Doc/library/re.rst:818 +#: ../Doc/library/re.rst:850 msgid "" "Exception raised when a string passed to one of the functions here is not a " "valid regular expression (for example, it might contain unmatched " @@ -1659,36 +1725,36 @@ msgstr "" "contient aucune correspondance pour un motif. Les instances de l'erreur ont " "les attributs additionnels suivants :" -#: ../Doc/library/re.rst:826 +#: ../Doc/library/re.rst:858 msgid "The unformatted error message." msgstr "Le message d'erreur non formaté." -#: ../Doc/library/re.rst:830 +#: ../Doc/library/re.rst:862 msgid "The regular expression pattern." msgstr "Le motif d'expression rationnelle." -#: ../Doc/library/re.rst:834 +#: ../Doc/library/re.rst:866 msgid "The index in *pattern* where compilation failed (may be ``None``)." msgstr "" "L'index dans *pattern* où la compilation a échoué (peut valoir ``None``)." -#: ../Doc/library/re.rst:838 +#: ../Doc/library/re.rst:870 msgid "The line corresponding to *pos* (may be ``None``)." msgstr "La ligne correspondant à *pos* (peut valoir ``None``)." -#: ../Doc/library/re.rst:842 +#: ../Doc/library/re.rst:874 msgid "The column corresponding to *pos* (may be ``None``)." msgstr "La colonne correspondant à *pos* (peut valoir ``None``)." -#: ../Doc/library/re.rst:844 +#: ../Doc/library/re.rst:876 msgid "Added additional attributes." msgstr "Ajout des attributs additionnels." -#: ../Doc/library/re.rst:850 +#: ../Doc/library/re.rst:882 msgid "Regular Expression Objects" msgstr "Objets d'expressions rationnelles" -#: ../Doc/library/re.rst:852 +#: ../Doc/library/re.rst:884 msgid "" "Compiled regular expression objects support the following methods and " "attributes:" @@ -1696,7 +1762,7 @@ msgstr "" "Les expressions rationnelles compilées supportent les méthodes et attributs " "suivants :" -#: ../Doc/library/re.rst:857 +#: ../Doc/library/re.rst:889 msgid "" "Scan through *string* looking for the first location where this regular " "expression produces a match, and return a corresponding :ref:`match object " @@ -1710,7 +1776,7 @@ msgstr "" "dans la chaîne ne satisfait le motif ; notez que cela est différent que de " "trouver une correspondance vide dans la chaîne." -#: ../Doc/library/re.rst:863 +#: ../Doc/library/re.rst:895 msgid "" "The optional second parameter *pos* gives an index in the string where the " "search is to start; it defaults to ``0``. This is not completely equivalent " @@ -1724,14 +1790,15 @@ msgstr "" "``'^'`` correspond au début réel de la chaîne et aux positions juste après " "un saut de ligne, mais pas nécessairement à l'index où la recherche commence." -#: ../Doc/library/re.rst:869 +#: ../Doc/library/re.rst:901 +#, fuzzy msgid "" "The optional parameter *endpos* limits how far the string will be searched; " "it will be as if the string is *endpos* characters long, so only the " "characters from *pos* to ``endpos - 1`` will be searched for a match. If " "*endpos* is less than *pos*, no match will be found; otherwise, if *rx* is a " "compiled regular expression object, ``rx.search(string, 0, 50)`` is " -"equivalent to ``rx.search(string[:50], 0)``." +"equivalent to ``rx.search(string[:50], 0)``. ::" msgstr "" "Le paramètre optionnel *endpos* limite la longueur sur laquelle la chaîne " "sera analysée ; ce sera comme si la chaîne faisait *endpos* caractères de " @@ -1741,7 +1808,7 @@ msgstr "" "expression rationnelle compilée, ``rx.search(string, 0, 50)`` est équivalent " "à ``rx.search(string[:50], 0)``." -#: ../Doc/library/re.rst:884 +#: ../Doc/library/re.rst:916 msgid "" "If zero or more characters at the *beginning* of *string* match this regular " "expression, return a corresponding :ref:`match object `. " @@ -1753,15 +1820,16 @@ msgstr "" "objects>` trouvé. Renvoie ``None`` si la chaîne ne correspond pas au motif ; " "notez que cela est différent d'une correspondance vide." -#: ../Doc/library/re.rst:889 ../Doc/library/re.rst:907 +#: ../Doc/library/re.rst:921 ../Doc/library/re.rst:939 +#, fuzzy msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" -"meth:`~regex.search` method." +"meth:`~regex.search` method. ::" msgstr "" "Les paramètres optionnels *pos* et *endpos* ont le même sens que pour la " "méthode :meth:`~regex.search`." -#: ../Doc/library/re.rst:897 +#: ../Doc/library/re.rst:929 msgid "" "If you want to locate a match anywhere in *string*, use :meth:`~regex." "search` instead (see also :ref:`search-vs-match`)." @@ -1769,7 +1837,7 @@ msgstr "" "Si vous voulez une recherche n'importe où dans *string*, utilisez plutôt :" "meth:`~regex.search` (voir aussi :ref:`search-vs-match`)." -#: ../Doc/library/re.rst:903 +#: ../Doc/library/re.rst:935 msgid "" "If the whole *string* matches this regular expression, return a " "corresponding :ref:`match object `. Return ``None`` if the " @@ -1781,39 +1849,41 @@ msgstr "" "la chaîne ne correspond pas au motif ; notez que cela est différent d'une " "correspondance vide." -#: ../Doc/library/re.rst:921 +#: ../Doc/library/re.rst:953 msgid "Identical to the :func:`split` function, using the compiled pattern." msgstr "Identique à la fonction :func:`split`, en utilisant le motif compilé." -#: ../Doc/library/re.rst:926 +#: ../Doc/library/re.rst:958 +#, fuzzy msgid "" "Similar to the :func:`findall` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " -"region like for :meth:`match`." +"region like for :meth:`search`." msgstr "" "Similaire à la fonction :func:`findall`, en utilisant le motif compilé, mais " "accepte aussi des paramètres *pos* et *endpos* optionnels qui limitent la " "région de recherche comme pour :meth:`match`." -#: ../Doc/library/re.rst:933 +#: ../Doc/library/re.rst:965 +#, fuzzy msgid "" "Similar to the :func:`finditer` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " -"region like for :meth:`match`." +"region like for :meth:`search`." msgstr "" "Similaire à la fonction :func:`finditer`, en utilisant le motif compilé, " "mais accepte aussi des paramètres *pos* et *endpos* optionnels qui limitent " "la région de recherche comme pour :meth:`match`." -#: ../Doc/library/re.rst:940 +#: ../Doc/library/re.rst:972 msgid "Identical to the :func:`sub` function, using the compiled pattern." msgstr "Identique à la fonction :func:`sub`, en utilisant le motif compilé." -#: ../Doc/library/re.rst:945 +#: ../Doc/library/re.rst:977 msgid "Identical to the :func:`subn` function, using the compiled pattern." msgstr "Identique à la fonction :func:`subn`, en utilisant le motif compilé." -#: ../Doc/library/re.rst:950 +#: ../Doc/library/re.rst:982 msgid "" "The regex matching flags. This is a combination of the flags given to :func:" "`.compile`, any ``(?...)`` inline flags in the pattern, and implicit flags " @@ -1824,11 +1894,11 @@ msgstr "" "``(?...)`` dans le motif, et des options implicites comme :data:`UNICODE` si " "le motif est une chaîne Unicode." -#: ../Doc/library/re.rst:957 +#: ../Doc/library/re.rst:989 msgid "The number of capturing groups in the pattern." msgstr "Le nombre de groupes capturants dans le motif." -#: ../Doc/library/re.rst:962 +#: ../Doc/library/re.rst:994 msgid "" "A dictionary mapping any symbolic group names defined by ``(?P)`` to " "group numbers. The dictionary is empty if no symbolic groups were used in " @@ -1838,17 +1908,17 @@ msgstr "" "P)`` aux groupes numérotés. Le dictionnaire est vide si aucun groupe " "symbolique n'est utilisé dans le motif." -#: ../Doc/library/re.rst:969 +#: ../Doc/library/re.rst:1001 msgid "The pattern string from which the RE object was compiled." msgstr "" "La chaîne de motif depuis laquelle l'objet expression rationnelle a été " "compilé." -#: ../Doc/library/re.rst:975 +#: ../Doc/library/re.rst:1007 msgid "Match Objects" msgstr "Objets de correspondance" -#: ../Doc/library/re.rst:977 +#: ../Doc/library/re.rst:1009 msgid "" "Match objects always have a boolean value of ``True``. Since :meth:`~regex." "match` and :meth:`~regex.search` return ``None`` when there is no match, you " @@ -1859,12 +1929,12 @@ msgstr "" "quand il n'y a pas de correspondance, vous pouvez tester s'il y a eu " "correspondance avec une simple instruction ``if`` : ::" -#: ../Doc/library/re.rst:986 +#: ../Doc/library/re.rst:1018 msgid "Match objects support the following methods and attributes:" msgstr "" "Les objets de correspondance supportent les méthodes et attributs suivants :" -#: ../Doc/library/re.rst:991 +#: ../Doc/library/re.rst:1023 msgid "" "Return the string obtained by doing backslash substitution on the template " "string *template*, as done by the :meth:`~regex.sub` method. Escapes such as " @@ -1879,7 +1949,8 @@ msgstr "" "\\g<1>``, ``\\g``) sont remplacées par les contenus des groupes " "correspondant." -#: ../Doc/library/re.rst:1003 +#: ../Doc/library/re.rst:1035 +#, fuzzy msgid "" "Returns one or more subgroups of the match. If there is a single argument, " "the result is a single string; if there are multiple arguments, the result " @@ -1891,7 +1962,7 @@ msgid "" "number of groups defined in the pattern, an :exc:`IndexError` exception is " "raised. If a group is contained in a part of the pattern that did not match, " "the corresponding result is ``None``. If a group is contained in a part of " -"the pattern that matched multiple times, the last match is returned." +"the pattern that matched multiple times, the last match is returned. ::" msgstr "" "Renvoie un ou plus sous-groupes de la correspondance. Si un seul argument " "est donné, le résultat est une chaîne simple ; s'il y a plusieurs arguments, " @@ -1906,7 +1977,7 @@ msgstr "" "sera ``None``. Si un groupe est contenu dans une partie du motif qui a " "plusieurs correspondances, seule la dernière correspondance est renvoyée." -#: ../Doc/library/re.rst:1025 +#: ../Doc/library/re.rst:1057 msgid "" "If the regular expression uses the ``(?P...)`` syntax, the *groupN* " "arguments may also be strings identifying groups by their group name. If a " @@ -1918,28 +1989,32 @@ msgstr "" "groupes par leurs noms. Si une chaîne donnée en argument n'est pas utilisée " "comme nom de groupe dans le motif, une exception :exc:`IndexError` est levée." -#: ../Doc/library/re.rst:1030 -msgid "A moderately complicated example:" +#: ../Doc/library/re.rst:1062 +#, fuzzy +msgid "A moderately complicated example::" msgstr "Un exemple modérément compliqué :" -#: ../Doc/library/re.rst:1038 -msgid "Named groups can also be referred to by their index:" +#: ../Doc/library/re.rst:1070 +#, fuzzy +msgid "Named groups can also be referred to by their index::" msgstr "Les groupes nommés peuvent aussi être référencés par leur index :" -#: ../Doc/library/re.rst:1045 -msgid "If a group matches multiple times, only the last match is accessible:" +#: ../Doc/library/re.rst:1077 +#, fuzzy +msgid "If a group matches multiple times, only the last match is accessible::" msgstr "" "Si un groupe a plusieurs correspondances, seule la dernière est accessible :" -#: ../Doc/library/re.rst:1054 +#: ../Doc/library/re.rst:1086 +#, fuzzy msgid "" "This is identical to ``m.group(g)``. This allows easier access to an " -"individual group from a match:" +"individual group from a match::" msgstr "" "Cela est identique à ``m.group(g)``. Cela permet un accès plus facile à un " "groupe individuel depuis une correspondance :" -#: ../Doc/library/re.rst:1070 +#: ../Doc/library/re.rst:1102 msgid "" "Return a tuple containing all the subgroups of the match, from 1 up to " "however many groups are in the pattern. The *default* argument is used for " @@ -1949,33 +2024,35 @@ msgstr "" "1 jusqu'au nombre de groupes dans le motif. L'argument *default* est " "utilisé pour les groupes sans correspondance ; il vaut ``None`` par défaut." -#: ../Doc/library/re.rst:1074 -msgid "For example:" +#: ../Doc/library/re.rst:1106 ../Doc/library/re.rst:1326 +msgid "For example::" msgstr "Par exemple : ::" -#: ../Doc/library/re.rst:1080 +#: ../Doc/library/re.rst:1112 +#, fuzzy msgid "" "If we make the decimal place and everything after it optional, not all " "groups might participate in the match. These groups will default to " -"``None`` unless the *default* argument is given:" +"``None`` unless the *default* argument is given::" msgstr "" "Si on rend la partie décimale et tout ce qui la suit optionnels, tous les " "groupes ne figureront pas dans la correspondance. Ces groupes sans " "correspondance vaudront ``None`` sauf si une autre valeur est donnée à " "l'argument *default* :" -#: ../Doc/library/re.rst:1093 +#: ../Doc/library/re.rst:1125 +#, fuzzy msgid "" "Return a dictionary containing all the *named* subgroups of the match, keyed " "by the subgroup name. The *default* argument is used for groups that did " -"not participate in the match; it defaults to ``None``. For example:" +"not participate in the match; it defaults to ``None``. For example::" msgstr "" "Renvoie un dictionnaire contenant tous les sous-groupes *nommés* de la " "correspondance, accessibles par leurs noms. L'argument *default* est " "utilisé pour les groupes qui ne figurent pas dans la correspondance ; il " "vaut ``None`` par défaut. Par exemple :" -#: ../Doc/library/re.rst:1105 +#: ../Doc/library/re.rst:1137 msgid "" "Return the indices of the start and end of the substring matched by *group*; " "*group* defaults to zero (meaning the whole matched substring). Return " @@ -1990,7 +2067,7 @@ msgstr "" "groupe *g* qui y figure, la sous-chaîne correspondant au groupe *g* " "(équivalente à ``m.group(g)``) est : ::" -#: ../Doc/library/re.rst:1113 +#: ../Doc/library/re.rst:1145 msgid "" "Note that ``m.start(group)`` will equal ``m.end(group)`` if *group* matched " "a null string. For example, after ``m = re.search('b(c?)', 'cba')``, ``m." @@ -2003,11 +2080,12 @@ msgstr "" "end(1)`` valent tous deux 2, et ``m.start(2)`` lève une exception :exc:" "`IndexError`." -#: ../Doc/library/re.rst:1118 -msgid "An example that will remove *remove_this* from email addresses:" +#: ../Doc/library/re.rst:1150 +#, fuzzy +msgid "An example that will remove *remove_this* from email addresses::" msgstr "Un exemple qui supprimera *remove_this* d'une adresse email :" -#: ../Doc/library/re.rst:1128 +#: ../Doc/library/re.rst:1160 msgid "" "For a match *m*, return the 2-tuple ``(m.start(group), m.end(group))``. Note " "that if *group* did not contribute to the match, this is ``(-1, -1)``. " @@ -2018,7 +2096,7 @@ msgstr "" "``(-1, -1)`` est renvoyé. *group* vaut par défaut zéro, pour la " "correspondance entière." -#: ../Doc/library/re.rst:1135 +#: ../Doc/library/re.rst:1167 msgid "" "The value of *pos* which was passed to the :meth:`~regex.search` or :meth:" "`~regex.match` method of a :ref:`regex object `. This is the " @@ -2029,7 +2107,7 @@ msgstr "" "C'est l'index dans la chaîne à partir duquel le moteur d'expressions " "rationnelles recherche une correspondance." -#: ../Doc/library/re.rst:1142 +#: ../Doc/library/re.rst:1174 msgid "" "The value of *endpos* which was passed to the :meth:`~regex.search` or :meth:" "`~regex.match` method of a :ref:`regex object `. This is the " @@ -2040,7 +2118,7 @@ msgstr "" "objects>`. C'est l'index dans la chaîne que le moteur d'expressions " "rationnelles ne dépassera pas." -#: ../Doc/library/re.rst:1149 +#: ../Doc/library/re.rst:1181 msgid "" "The integer index of the last matched capturing group, or ``None`` if no " "group was matched at all. For example, the expressions ``(a)b``, ``((a)" @@ -2054,7 +2132,7 @@ msgstr "" "``'ab'``, alors que l'expression ``(a)(b)`` aura un ``lastindex == 2`` si " "appliquée à la même chaîne." -#: ../Doc/library/re.rst:1158 +#: ../Doc/library/re.rst:1190 msgid "" "The name of the last matched capturing group, or ``None`` if the group " "didn't have a name, or if no group was matched at all." @@ -2062,27 +2140,28 @@ msgstr "" "Le nom du dernier groupe capturant validé, ou ``None`` si le groupe n'a pas " "de nom, ou si aucun groupe ne correspondait." -#: ../Doc/library/re.rst:1164 +#: ../Doc/library/re.rst:1196 +#, fuzzy msgid "" -"The regular expression object whose :meth:`~regex.match` or :meth:`~regex." -"search` method produced this match instance." +"The :ref:`regular expression object ` whose :meth:`~regex.match` " +"or :meth:`~regex.search` method produced this match instance." msgstr "" "L'expression rationnelle dont la méthode :meth:`~regex.match` ou :meth:" "`~regex.search` a produit cet objet de correspondance." -#: ../Doc/library/re.rst:1170 +#: ../Doc/library/re.rst:1202 msgid "The string passed to :meth:`~regex.match` or :meth:`~regex.search`." msgstr "La chaîne passée à :meth:`~regex.match` ou :meth:`~regex.search`." -#: ../Doc/library/re.rst:1176 +#: ../Doc/library/re.rst:1208 msgid "Regular Expression Examples" msgstr "Exemples d'expressions rationnelles" -#: ../Doc/library/re.rst:1180 +#: ../Doc/library/re.rst:1212 msgid "Checking for a Pair" msgstr "Rechercher une paire" -#: ../Doc/library/re.rst:1182 +#: ../Doc/library/re.rst:1214 msgid "" "In this example, we'll use the following helper function to display match " "objects a little more gracefully:" @@ -2090,7 +2169,7 @@ msgstr "" "Dans cet exemple, nous utiliserons cette fonction de facilité pour afficher " "les objets de correspondance sous une meilleure forme :" -#: ../Doc/library/re.rst:1192 +#: ../Doc/library/re.rst:1224 msgid "" "Suppose you are writing a poker program where a player's hand is represented " "as a 5-character string with each character representing a card, \"a\" for " @@ -2104,23 +2183,25 @@ msgstr "" "(*ten*), et les caractères de \"2\" à \"9\" représentant les cartes avec ces " "valeurs." -#: ../Doc/library/re.rst:1197 -msgid "To see if a given string is a valid hand, one could do the following:" +#: ../Doc/library/re.rst:1229 +#, fuzzy +msgid "To see if a given string is a valid hand, one could do the following::" msgstr "" "Pour vérifier qu'une chaîne donnée est une main valide, on pourrait faire " "comme suit :" -#: ../Doc/library/re.rst:1207 +#: ../Doc/library/re.rst:1239 +#, fuzzy msgid "" "That last hand, ``\"727ak\"``, contained a pair, or two of the same valued " "cards. To match this with a regular expression, one could use backreferences " -"as such:" +"as such::" msgstr "" "La dernière main, ``\"727ak\"``, contenait une paire, deux cartes de la même " "valeur. Pour valider cela avec une expression rationnelle, on pourrait " "utiliser des références arrière comme :" -#: ../Doc/library/re.rst:1217 +#: ../Doc/library/re.rst:1249 msgid "" "To find out what card the pair consists of, one could use the :meth:`~match." "group` method of the match object in the following manner:" @@ -2129,11 +2210,11 @@ msgstr "" "méthode :meth:`~match.group` de l'objet de correspondance de la manière " "suivante :" -#: ../Doc/library/re.rst:1237 +#: ../Doc/library/re.rst:1269 msgid "Simulating scanf()" msgstr "Simuler scanf()" -#: ../Doc/library/re.rst:1241 +#: ../Doc/library/re.rst:1273 msgid "" "Python does not currently have an equivalent to :c:func:`scanf`. Regular " "expressions are generally more powerful, though also more verbose, than :c:" @@ -2147,104 +2228,100 @@ msgstr "" "suivant présente des expressions rationnelles plus ou moins équivalentes aux " "éléments de formats de :c:func:`scanf`." -#: ../Doc/library/re.rst:1248 +#: ../Doc/library/re.rst:1280 msgid ":c:func:`scanf` Token" msgstr "Élément de :c:func:`scanf`" -#: ../Doc/library/re.rst:1248 +#: ../Doc/library/re.rst:1280 msgid "Regular Expression" msgstr "Expression rationnelle" -#: ../Doc/library/re.rst:1250 +#: ../Doc/library/re.rst:1282 msgid "``%c``" msgstr "``%c``" -#: ../Doc/library/re.rst:1250 -msgid "``.``" -msgstr "``.``" - -#: ../Doc/library/re.rst:1252 +#: ../Doc/library/re.rst:1284 msgid "``%5c``" msgstr "``%5c``" -#: ../Doc/library/re.rst:1252 +#: ../Doc/library/re.rst:1284 msgid "``.{5}``" msgstr "``.{5}``" -#: ../Doc/library/re.rst:1254 +#: ../Doc/library/re.rst:1286 msgid "``%d``" msgstr "``%d``" -#: ../Doc/library/re.rst:1254 +#: ../Doc/library/re.rst:1286 msgid "``[-+]?\\d+``" msgstr "``[-+]?\\d+``" -#: ../Doc/library/re.rst:1256 +#: ../Doc/library/re.rst:1288 msgid "``%e``, ``%E``, ``%f``, ``%g``" msgstr "``%e``, ``%E``, ``%f``, ``%g``" -#: ../Doc/library/re.rst:1256 +#: ../Doc/library/re.rst:1288 msgid "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" msgstr "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" -#: ../Doc/library/re.rst:1258 +#: ../Doc/library/re.rst:1290 msgid "``%i``" msgstr "``%i``" -#: ../Doc/library/re.rst:1258 +#: ../Doc/library/re.rst:1290 msgid "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" msgstr "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" -#: ../Doc/library/re.rst:1260 +#: ../Doc/library/re.rst:1292 msgid "``%o``" msgstr "``%o``" -#: ../Doc/library/re.rst:1260 +#: ../Doc/library/re.rst:1292 msgid "``[-+]?[0-7]+``" msgstr "``[-+]?[0-7]+``" -#: ../Doc/library/re.rst:1262 +#: ../Doc/library/re.rst:1294 msgid "``%s``" msgstr "``%s``" -#: ../Doc/library/re.rst:1262 +#: ../Doc/library/re.rst:1294 msgid "``\\S+``" msgstr "``\\S+``" -#: ../Doc/library/re.rst:1264 +#: ../Doc/library/re.rst:1296 msgid "``%u``" msgstr "``%u``" -#: ../Doc/library/re.rst:1264 +#: ../Doc/library/re.rst:1296 msgid "``\\d+``" msgstr "``\\d+``" -#: ../Doc/library/re.rst:1266 +#: ../Doc/library/re.rst:1298 msgid "``%x``, ``%X``" msgstr "``%x``, ``%X``" -#: ../Doc/library/re.rst:1266 +#: ../Doc/library/re.rst:1298 msgid "``[-+]?(0[xX])?[\\dA-Fa-f]+``" msgstr "``[-+]?(0[xX])?[\\dA-Fa-f]+``" -#: ../Doc/library/re.rst:1269 +#: ../Doc/library/re.rst:1301 msgid "To extract the filename and numbers from a string like ::" msgstr "" "Pour extraire le nom de fichier et les nombres depuis une chaîne comme : ::" -#: ../Doc/library/re.rst:1273 +#: ../Doc/library/re.rst:1305 msgid "you would use a :c:func:`scanf` format like ::" msgstr "vous utiliseriez un format :c:func:`scanf` comme : ::" -#: ../Doc/library/re.rst:1277 +#: ../Doc/library/re.rst:1309 msgid "The equivalent regular expression would be ::" msgstr "L'expression rationnelle équivalente serait : ::" -#: ../Doc/library/re.rst:1285 +#: ../Doc/library/re.rst:1317 msgid "search() vs. match()" msgstr "search() vs. match()" -#: ../Doc/library/re.rst:1289 +#: ../Doc/library/re.rst:1321 msgid "" "Python offers two different primitive operations based on regular " "expressions: :func:`re.match` checks for a match only at the beginning of " @@ -2256,11 +2333,7 @@ msgstr "" "début de la chaîne, tandis que :func:`re.search` en recherche une n'importe " "où dans la chaîne (ce que fait Perl par défaut)." -#: ../Doc/library/re.rst:1294 -msgid "For example::" -msgstr "Par exemple : ::" - -#: ../Doc/library/re.rst:1300 +#: ../Doc/library/re.rst:1332 msgid "" "Regular expressions beginning with ``'^'`` can be used with :func:`search` " "to restrict the match at the beginning of the string::" @@ -2268,21 +2341,23 @@ msgstr "" "Les expressions rationnelles commençant par ``'^'`` peuvent être utilisées " "avec :func:`search` pour restreindre la recherche au début de la chaîne : ::" -#: ../Doc/library/re.rst:1308 +#: ../Doc/library/re.rst:1340 +#, fuzzy msgid "" "Note however that in :const:`MULTILINE` mode :func:`match` only matches at " "the beginning of the string, whereas using :func:`search` with a regular " -"expression beginning with ``'^'`` will match at the beginning of each line." +"expression beginning with ``'^'`` will match at the beginning of each " +"line. ::" msgstr "" "Notez cependant qu'en mode :const:`MULTILINE`, :func:`match` ne recherche " "qu'au début de la chaîne, alors que :func:`search` avec une expression " "rationnelle commençant par ``'^'`` recherchera au début de chaque ligne." -#: ../Doc/library/re.rst:1318 +#: ../Doc/library/re.rst:1350 msgid "Making a Phonebook" msgstr "Construire un répertoire téléphonique" -#: ../Doc/library/re.rst:1320 +#: ../Doc/library/re.rst:1352 msgid "" ":func:`split` splits a string into a list delimited by the passed pattern. " "The method is invaluable for converting textual data into data structures " @@ -2294,15 +2369,16 @@ msgstr "" "structures de données qui peuvent être lues et modifiées par Python comme " "démontré dans l'exemple suivant qui crée un répertoire téléphonique." -#: ../Doc/library/re.rst:1325 +#: ../Doc/library/re.rst:1357 +#, fuzzy msgid "" "First, here is the input. Normally it may come from a file, here we are " -"using triple-quoted string syntax:" +"using triple-quoted string syntax::" msgstr "" "Premièrement, voici l'entrée. Elle provient normalement d'un fichier, nous " "utilisons ici une chaîne à guillemets triples :" -#: ../Doc/library/re.rst:1336 +#: ../Doc/library/re.rst:1368 msgid "" "The entries are separated by one or more newlines. Now we convert the string " "into a list with each nonempty line having its own entry:" @@ -2311,7 +2387,7 @@ msgstr "" "maintenant la chaîne en une liste où chaque ligne non vide aura sa propre " "entrée :" -#: ../Doc/library/re.rst:1349 +#: ../Doc/library/re.rst:1381 msgid "" "Finally, split each entry into a list with first name, last name, telephone " "number, and address. We use the ``maxsplit`` parameter of :func:`split` " @@ -2322,7 +2398,7 @@ msgstr "" "`split` parce que l'adresse contient des espaces, qui sont notre motif de " "séparation :" -#: ../Doc/library/re.rst:1362 +#: ../Doc/library/re.rst:1394 msgid "" "The ``:?`` pattern matches the colon after the last name, so that it does " "not occur in the result list. With a ``maxsplit`` of ``4``, we could " @@ -2332,11 +2408,11 @@ msgstr "" "qu'ils n'apparaissent pas dans la liste résultante. Avec un ``maxsplit`` de " "``4``, nous pourrions séparer le numéro du nom de la rue." -#: ../Doc/library/re.rst:1377 +#: ../Doc/library/re.rst:1409 msgid "Text Munging" msgstr "Mélanger les lettres des mots" -#: ../Doc/library/re.rst:1379 +#: ../Doc/library/re.rst:1411 msgid "" ":func:`sub` replaces every occurrence of a pattern with a string or the " "result of a function. This example demonstrates using :func:`sub` with a " @@ -2348,34 +2424,36 @@ msgstr "" "avec une fonction qui mélange aléatoirement les caractères de chaque mot " "dans une phrase (à l'exception des premiers et derniers caractères) : ::" -#: ../Doc/library/re.rst:1396 +#: ../Doc/library/re.rst:1428 msgid "Finding all Adverbs" msgstr "Trouver tous les adverbes" -#: ../Doc/library/re.rst:1398 +#: ../Doc/library/re.rst:1430 +#, fuzzy msgid "" ":func:`findall` matches *all* occurrences of a pattern, not just the first " "one as :func:`search` does. For example, if one was a writer and wanted to " "find all of the adverbs in some text, he or she might use :func:`findall` in " -"the following manner:" +"the following manner::" msgstr "" ":func:`findall` trouve *toutes* les occurrences d'un motif, pas juste la " "première comme le fait :func:`search`. Par exemple, si un(e) écrivain(e) " "voulait trouver tous les adverbes dans un texte, il/elle devrait utiliser :" "func:`findall` de la manière suivante :" -#: ../Doc/library/re.rst:1409 +#: ../Doc/library/re.rst:1441 msgid "Finding all Adverbs and their Positions" msgstr "Trouver tous les adverbes et leurs positions" -#: ../Doc/library/re.rst:1411 +#: ../Doc/library/re.rst:1443 +#, fuzzy msgid "" "If one wants more information about all matches of a pattern than the " "matched text, :func:`finditer` is useful as it provides :ref:`match objects " "` instead of strings. Continuing with the previous example, " "if one was a writer who wanted to find all of the adverbs *and their " "positions* in some text, he or she would use :func:`finditer` in the " -"following manner:" +"following manner::" msgstr "" "Pour obtenir plus d'informations sur les correspondances que juste le texte " "trouvé, :func:`finditer` est utile en fournissant des :ref:`objets de " @@ -2384,16 +2462,17 @@ msgstr "" "leurs positions* dans un texte, il/elle utiliserait :func:`finditer` de la " "manière suivante :" -#: ../Doc/library/re.rst:1425 +#: ../Doc/library/re.rst:1457 msgid "Raw String Notation" msgstr "Notation brutes de chaînes" -#: ../Doc/library/re.rst:1427 +#: ../Doc/library/re.rst:1459 +#, fuzzy msgid "" "Raw string notation (``r\"text\"``) keeps regular expressions sane. Without " "it, every backslash (``'\\'``) in a regular expression would have to be " "prefixed with another one to escape it. For example, the two following " -"lines of code are functionally identical:" +"lines of code are functionally identical::" msgstr "" "La notation brute de chaînes (``r\"text\"``) garde saines les expressions " "rationnelles. Sans elle, chaque *backslash* (``'\\'``) dans une expression " @@ -2401,23 +2480,24 @@ msgstr "" "Par exemple, les deux lignes de code suivantes sont fonctionnellement " "identiques :" -#: ../Doc/library/re.rst:1437 +#: ../Doc/library/re.rst:1469 +#, fuzzy msgid "" "When one wants to match a literal backslash, it must be escaped in the " "regular expression. With raw string notation, this means ``r\"\\\\\"``. " "Without raw string notation, one must use ``\"\\\\\\\\\"``, making the " -"following lines of code functionally identical:" +"following lines of code functionally identical::" msgstr "" "Pour rechercher un *backslash* littéral, il faut l'échapper dans " "l'expression rationnelle. Avec la notation brute, cela signifie ``r\"\\\\" "\"``. Sans elle, il faudrait utiliser ``\"\\\\\\\\\"``, faisant que les " "deux lignes de code suivantes sont fonctionnellement identiques :" -#: ../Doc/library/re.rst:1449 +#: ../Doc/library/re.rst:1481 msgid "Writing a Tokenizer" msgstr "Écrire un analyseur lexical" -#: ../Doc/library/re.rst:1451 +#: ../Doc/library/re.rst:1483 msgid "" "A `tokenizer or scanner `_ " "analyzes a string to categorize groups of characters. This is a useful " @@ -2428,7 +2508,7 @@ msgstr "" "caractères. C'est une première étape utile dans l'écriture d'un compilateur " "ou d'un interpréteur." -#: ../Doc/library/re.rst:1455 +#: ../Doc/library/re.rst:1487 msgid "" "The text categories are specified with regular expressions. The technique " "is to combine those into a single master regular expression and to loop over " @@ -2438,10 +2518,37 @@ msgstr "" "La technique est de les combiner dans une unique expression rationnelle " "maîtresse, et de boucler sur les correspondances successives : ::" -#: ../Doc/library/re.rst:1505 +#: ../Doc/library/re.rst:1537 msgid "The tokenizer produces the following output::" msgstr "L'analyseur produit la sortie suivante : ::" +#~ msgid "``'.'``" +#~ msgstr "``'.'``" + +#~ msgid "``'^'``" +#~ msgstr "``'^'``" + +#~ msgid "``'$'``" +#~ msgstr "``'$'``" + +#~ msgid "``'*'``" +#~ msgstr "``'*'``" + +#~ msgid "``'+'``" +#~ msgstr "``'+'``" + +#~ msgid "``'?'``" +#~ msgstr "``'?'``" + +#~ msgid "``'\\'``" +#~ msgstr "``'\\'``" + +#~ msgid "``'|'``" +#~ msgstr "``'|'``" + +#~ msgid "For example:" +#~ msgstr "Par exemple : ::" + #~ msgid "" #~ "Perform case-insensitive matching; expressions like ``[A-Z]`` will match " #~ "lowercase letters, too. This is not affected by the current locale and " diff --git a/library/sched.po b/library/sched.po index 8d259ef3..e84fa20e 100644 --- a/library/sched.po +++ b/library/sched.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -70,7 +70,7 @@ msgid "" "Schedule a new event. The *time* argument should be a numeric type " "compatible with the return value of the *timefunc* function passed to the " "constructor. Events scheduled for the same *time* will be executed in the " -"order of their *priority*." +"order of their *priority*. A lower number represents a higher priority." msgstr "" #: ../Doc/library/sched.rst:74 diff --git a/library/socket.po b/library/socket.po index 4efffbc0..f9928b5d 100644 --- a/library/socket.po +++ b/library/socket.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1135,6 +1135,10 @@ msgid "" "`setblocking` or :meth:`settimeout`." msgstr "" +#: ../Doc/library/socket.rst:0 +msgid "platform" +msgstr "" + #: ../Doc/library/socket.rst:1026 msgid "Windows" msgstr "Windows" diff --git a/library/sqlite3.po b/library/sqlite3.po index 2e297252..d90897b2 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -395,7 +395,7 @@ msgid "" msgstr "" #: ../Doc/library/sqlite3.rst:344 ../Doc/library/sqlite3.rst:361 -#: ../Doc/library/sqlite3.rst:471 ../Doc/library/sqlite3.rst:571 +#: ../Doc/library/sqlite3.rst:475 ../Doc/library/sqlite3.rst:575 msgid "Example:" msgstr "Exemple :" @@ -492,13 +492,20 @@ msgid "" "method with :const:`None` for *handler*." msgstr "" -#: ../Doc/library/sqlite3.rst:427 +#: ../Doc/library/sqlite3.rst:424 +msgid "" +"Returning a non-zero value from the handler function will terminate the " +"currently executing query and cause it to raise an :exc:`OperationalError` " +"exception." +msgstr "" + +#: ../Doc/library/sqlite3.rst:431 msgid "" "Registers *trace_callback* to be called for each SQL statement that is " "actually executed by the SQLite backend." msgstr "" -#: ../Doc/library/sqlite3.rst:430 +#: ../Doc/library/sqlite3.rst:434 msgid "" "The only argument passed to the callback is the statement (as string) that " "is being executed. The return value of the callback is ignored. Note that " @@ -507,12 +514,12 @@ msgid "" "Python module and the execution of triggers defined in the current database." msgstr "" -#: ../Doc/library/sqlite3.rst:436 +#: ../Doc/library/sqlite3.rst:440 msgid "" "Passing :const:`None` as *trace_callback* will disable the trace callback." msgstr "" -#: ../Doc/library/sqlite3.rst:443 +#: ../Doc/library/sqlite3.rst:447 msgid "" "This routine allows/disallows the SQLite engine to load SQLite extensions " "from shared libraries. SQLite extensions can define new functions, " @@ -520,18 +527,18 @@ msgid "" "extension is the fulltext-search extension distributed with SQLite." msgstr "" -#: ../Doc/library/sqlite3.rst:448 ../Doc/library/sqlite3.rst:460 +#: ../Doc/library/sqlite3.rst:452 ../Doc/library/sqlite3.rst:464 msgid "Loadable extensions are disabled by default. See [#f1]_." msgstr "" -#: ../Doc/library/sqlite3.rst:456 +#: ../Doc/library/sqlite3.rst:460 msgid "" "This routine loads a SQLite extension from a shared library. You have to " "enable extension loading with :meth:`enable_load_extension` before you can " "use this routine." msgstr "" -#: ../Doc/library/sqlite3.rst:466 +#: ../Doc/library/sqlite3.rst:470 msgid "" "You can change this attribute to a callable that accepts the cursor and the " "original row as a tuple and will return the real result row. This way, you " @@ -539,7 +546,7 @@ msgid "" "object that can also access columns by name." msgstr "" -#: ../Doc/library/sqlite3.rst:475 +#: ../Doc/library/sqlite3.rst:479 msgid "" "If returning a tuple doesn't suffice and you want name-based access to " "columns, you should consider setting :attr:`row_factory` to the highly-" @@ -549,7 +556,7 @@ msgid "" "approach or even a db_row based solution." msgstr "" -#: ../Doc/library/sqlite3.rst:487 +#: ../Doc/library/sqlite3.rst:491 msgid "" "Using this attribute you can control what objects are returned for the " "``TEXT`` data type. By default, this attribute is set to :class:`str` and " @@ -557,23 +564,23 @@ msgid "" "want to return bytestrings instead, you can set it to :class:`bytes`." msgstr "" -#: ../Doc/library/sqlite3.rst:492 +#: ../Doc/library/sqlite3.rst:496 msgid "" "You can also set it to any other callable that accepts a single bytestring " "parameter and returns the resulting object." msgstr "" -#: ../Doc/library/sqlite3.rst:495 +#: ../Doc/library/sqlite3.rst:499 msgid "See the following example code for illustration:" msgstr "" -#: ../Doc/library/sqlite3.rst:502 +#: ../Doc/library/sqlite3.rst:506 msgid "" "Returns the total number of database rows that have been modified, inserted, " "or deleted since the database connection was opened." msgstr "" -#: ../Doc/library/sqlite3.rst:508 +#: ../Doc/library/sqlite3.rst:512 msgid "" "Returns an iterator to dump the database in an SQL text format. Useful when " "saving an in-memory database for later restoration. This function provides " @@ -581,19 +588,19 @@ msgid "" "shell." msgstr "" -#: ../Doc/library/sqlite3.rst:513 +#: ../Doc/library/sqlite3.rst:517 msgid "Example::" msgstr "Exemples ::" -#: ../Doc/library/sqlite3.rst:527 +#: ../Doc/library/sqlite3.rst:531 msgid "Cursor Objects" msgstr "" -#: ../Doc/library/sqlite3.rst:531 +#: ../Doc/library/sqlite3.rst:535 msgid "A :class:`Cursor` instance has the following attributes and methods." msgstr "" -#: ../Doc/library/sqlite3.rst:535 +#: ../Doc/library/sqlite3.rst:539 msgid "" "Executes an SQL statement. The SQL statement may be parameterized (i. e. " "placeholders instead of SQL literals). The :mod:`sqlite3` module supports " @@ -601,11 +608,11 @@ msgid "" "placeholders (named style)." msgstr "" -#: ../Doc/library/sqlite3.rst:540 +#: ../Doc/library/sqlite3.rst:544 msgid "Here's an example of both styles:" msgstr "" -#: ../Doc/library/sqlite3.rst:544 +#: ../Doc/library/sqlite3.rst:548 msgid "" ":meth:`execute` will only execute a single SQL statement. If you try to " "execute more than one statement with it, it will raise a :exc:`.Warning`. " @@ -613,41 +620,41 @@ msgid "" "with one call." msgstr "" -#: ../Doc/library/sqlite3.rst:552 +#: ../Doc/library/sqlite3.rst:556 msgid "" "Executes an SQL command against all parameter sequences or mappings found in " "the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows " "using an :term:`iterator` yielding parameters instead of a sequence." msgstr "" -#: ../Doc/library/sqlite3.rst:558 +#: ../Doc/library/sqlite3.rst:562 msgid "Here's a shorter example using a :term:`generator`:" msgstr "" -#: ../Doc/library/sqlite3.rst:565 +#: ../Doc/library/sqlite3.rst:569 msgid "" "This is a nonstandard convenience method for executing multiple SQL " "statements at once. It issues a ``COMMIT`` statement first, then executes " "the SQL script it gets as a parameter." msgstr "" -#: ../Doc/library/sqlite3.rst:569 +#: ../Doc/library/sqlite3.rst:573 msgid "*sql_script* can be an instance of :class:`str`." msgstr "" -#: ../Doc/library/sqlite3.rst:578 +#: ../Doc/library/sqlite3.rst:582 msgid "" "Fetches the next row of a query result set, returning a single sequence, or :" "const:`None` when no more data is available." msgstr "" -#: ../Doc/library/sqlite3.rst:584 +#: ../Doc/library/sqlite3.rst:588 msgid "" "Fetches the next set of rows of a query result, returning a list. An empty " "list is returned when no more rows are available." msgstr "" -#: ../Doc/library/sqlite3.rst:587 +#: ../Doc/library/sqlite3.rst:591 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If it is not given, the cursor's arraysize determines the number of rows to " @@ -656,7 +663,7 @@ msgid "" "not being available, fewer rows may be returned." msgstr "" -#: ../Doc/library/sqlite3.rst:593 +#: ../Doc/library/sqlite3.rst:597 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -664,38 +671,38 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: ../Doc/library/sqlite3.rst:600 +#: ../Doc/library/sqlite3.rst:604 msgid "" "Fetches all (remaining) rows of a query result, returning a list. Note that " "the cursor's arraysize attribute can affect the performance of this " "operation. An empty list is returned when no rows are available." msgstr "" -#: ../Doc/library/sqlite3.rst:606 +#: ../Doc/library/sqlite3.rst:610 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: ../Doc/library/sqlite3.rst:608 +#: ../Doc/library/sqlite3.rst:612 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: ../Doc/library/sqlite3.rst:613 +#: ../Doc/library/sqlite3.rst:617 msgid "" "Although the :class:`Cursor` class of the :mod:`sqlite3` module implements " "this attribute, the database engine's own support for the determination of " "\"rows affected\"/\"rows selected\" is quirky." msgstr "" -#: ../Doc/library/sqlite3.rst:617 +#: ../Doc/library/sqlite3.rst:621 msgid "" "For :meth:`executemany` statements, the number of modifications are summed " "up into :attr:`rowcount`." msgstr "" -#: ../Doc/library/sqlite3.rst:620 +#: ../Doc/library/sqlite3.rst:624 msgid "" "As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is " "-1 in case no ``executeXX()`` has been performed on the cursor or the " @@ -704,13 +711,13 @@ msgid "" "rows a query produced until all rows were fetched." msgstr "" -#: ../Doc/library/sqlite3.rst:626 +#: ../Doc/library/sqlite3.rst:630 msgid "" "With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make " "a ``DELETE FROM table`` without any condition." msgstr "" -#: ../Doc/library/sqlite3.rst:631 +#: ../Doc/library/sqlite3.rst:635 msgid "" "This read-only attribute provides the rowid of the last modified row. It is " "only set if you issued an ``INSERT`` or a ``REPLACE`` statement using the :" @@ -719,35 +726,35 @@ msgid "" "`None`." msgstr "" -#: ../Doc/library/sqlite3.rst:637 +#: ../Doc/library/sqlite3.rst:641 msgid "" "If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous " "successful rowid is returned." msgstr "" -#: ../Doc/library/sqlite3.rst:640 +#: ../Doc/library/sqlite3.rst:644 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: ../Doc/library/sqlite3.rst:645 +#: ../Doc/library/sqlite3.rst:649 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: ../Doc/library/sqlite3.rst:650 +#: ../Doc/library/sqlite3.rst:654 msgid "" "This read-only attribute provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are :const:`None`." msgstr "" -#: ../Doc/library/sqlite3.rst:654 +#: ../Doc/library/sqlite3.rst:658 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: ../Doc/library/sqlite3.rst:658 +#: ../Doc/library/sqlite3.rst:662 msgid "" "This read-only attribute provides the SQLite database :class:`Connection` " "used by the :class:`Cursor` object. A :class:`Cursor` object created by " @@ -755,154 +762,154 @@ msgid "" "`connection` attribute that refers to *con*::" msgstr "" -#: ../Doc/library/sqlite3.rst:671 +#: ../Doc/library/sqlite3.rst:675 msgid "Row Objects" msgstr "" -#: ../Doc/library/sqlite3.rst:675 +#: ../Doc/library/sqlite3.rst:679 msgid "" "A :class:`Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It tries to mimic a tuple in " "most of its features." msgstr "" -#: ../Doc/library/sqlite3.rst:679 +#: ../Doc/library/sqlite3.rst:683 msgid "" "It supports mapping access by column name and index, iteration, " "representation, equality testing and :func:`len`." msgstr "" -#: ../Doc/library/sqlite3.rst:682 +#: ../Doc/library/sqlite3.rst:686 msgid "" "If two :class:`Row` objects have exactly the same columns and their members " "are equal, they compare equal." msgstr "" -#: ../Doc/library/sqlite3.rst:687 +#: ../Doc/library/sqlite3.rst:691 msgid "" "This method returns a list of column names. Immediately after a query, it is " "the first member of each tuple in :attr:`Cursor.description`." msgstr "" -#: ../Doc/library/sqlite3.rst:690 +#: ../Doc/library/sqlite3.rst:694 msgid "Added support of slicing." msgstr "" -#: ../Doc/library/sqlite3.rst:693 +#: ../Doc/library/sqlite3.rst:697 msgid "Let's assume we initialize a table as in the example given above::" msgstr "" -#: ../Doc/library/sqlite3.rst:705 +#: ../Doc/library/sqlite3.rst:709 msgid "Now we plug :class:`Row` in::" msgstr "" -#: ../Doc/library/sqlite3.rst:737 +#: ../Doc/library/sqlite3.rst:741 msgid "Exceptions" msgstr "Les exceptions" -#: ../Doc/library/sqlite3.rst:741 +#: ../Doc/library/sqlite3.rst:745 msgid "A subclass of :exc:`Exception`." msgstr "" -#: ../Doc/library/sqlite3.rst:745 +#: ../Doc/library/sqlite3.rst:749 msgid "" "The base class of the other exceptions in this module. It is a subclass of :" "exc:`Exception`." msgstr "" -#: ../Doc/library/sqlite3.rst:750 +#: ../Doc/library/sqlite3.rst:754 msgid "Exception raised for errors that are related to the database." msgstr "" -#: ../Doc/library/sqlite3.rst:754 +#: ../Doc/library/sqlite3.rst:758 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../Doc/library/sqlite3.rst:759 +#: ../Doc/library/sqlite3.rst:763 msgid "" "Exception raised for programming errors, e.g. table not found or already " "exists, syntax error in the SQL statement, wrong number of parameters " "specified, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../Doc/library/sqlite3.rst:767 +#: ../Doc/library/sqlite3.rst:771 msgid "SQLite and Python types" msgstr "" -#: ../Doc/library/sqlite3.rst:771 +#: ../Doc/library/sqlite3.rst:775 msgid "Introduction" msgstr "Introduction" -#: ../Doc/library/sqlite3.rst:773 +#: ../Doc/library/sqlite3.rst:777 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: ../Doc/library/sqlite3.rst:776 +#: ../Doc/library/sqlite3.rst:780 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: ../Doc/library/sqlite3.rst:779 ../Doc/library/sqlite3.rst:796 +#: ../Doc/library/sqlite3.rst:783 ../Doc/library/sqlite3.rst:800 msgid "Python type" msgstr "Type Python" -#: ../Doc/library/sqlite3.rst:779 ../Doc/library/sqlite3.rst:796 +#: ../Doc/library/sqlite3.rst:783 ../Doc/library/sqlite3.rst:800 msgid "SQLite type" msgstr "" -#: ../Doc/library/sqlite3.rst:781 ../Doc/library/sqlite3.rst:798 +#: ../Doc/library/sqlite3.rst:785 ../Doc/library/sqlite3.rst:802 msgid ":const:`None`" msgstr "" -#: ../Doc/library/sqlite3.rst:781 ../Doc/library/sqlite3.rst:798 +#: ../Doc/library/sqlite3.rst:785 ../Doc/library/sqlite3.rst:802 msgid "``NULL``" msgstr "``NULL``" -#: ../Doc/library/sqlite3.rst:783 ../Doc/library/sqlite3.rst:800 +#: ../Doc/library/sqlite3.rst:787 ../Doc/library/sqlite3.rst:804 msgid ":class:`int`" msgstr ":class:`int`" -#: ../Doc/library/sqlite3.rst:783 ../Doc/library/sqlite3.rst:800 +#: ../Doc/library/sqlite3.rst:787 ../Doc/library/sqlite3.rst:804 msgid "``INTEGER``" msgstr "``INTEGER``" -#: ../Doc/library/sqlite3.rst:785 ../Doc/library/sqlite3.rst:802 +#: ../Doc/library/sqlite3.rst:789 ../Doc/library/sqlite3.rst:806 msgid ":class:`float`" msgstr ":class:`float`" -#: ../Doc/library/sqlite3.rst:785 ../Doc/library/sqlite3.rst:802 +#: ../Doc/library/sqlite3.rst:789 ../Doc/library/sqlite3.rst:806 msgid "``REAL``" msgstr "``REAL``" -#: ../Doc/library/sqlite3.rst:787 +#: ../Doc/library/sqlite3.rst:791 msgid ":class:`str`" msgstr "" -#: ../Doc/library/sqlite3.rst:787 ../Doc/library/sqlite3.rst:804 +#: ../Doc/library/sqlite3.rst:791 ../Doc/library/sqlite3.rst:808 msgid "``TEXT``" msgstr "``TEXT``" -#: ../Doc/library/sqlite3.rst:789 ../Doc/library/sqlite3.rst:807 +#: ../Doc/library/sqlite3.rst:793 ../Doc/library/sqlite3.rst:811 msgid ":class:`bytes`" msgstr "" -#: ../Doc/library/sqlite3.rst:789 ../Doc/library/sqlite3.rst:807 +#: ../Doc/library/sqlite3.rst:793 ../Doc/library/sqlite3.rst:811 msgid "``BLOB``" msgstr "``BLOB``" -#: ../Doc/library/sqlite3.rst:793 +#: ../Doc/library/sqlite3.rst:797 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: ../Doc/library/sqlite3.rst:804 +#: ../Doc/library/sqlite3.rst:808 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: ../Doc/library/sqlite3.rst:810 +#: ../Doc/library/sqlite3.rst:814 msgid "" "The type system of the :mod:`sqlite3` module is extensible in two ways: you " "can store additional Python types in a SQLite database via object " @@ -910,11 +917,11 @@ msgid "" "to different Python types via converters." msgstr "" -#: ../Doc/library/sqlite3.rst:817 +#: ../Doc/library/sqlite3.rst:821 msgid "Using adapters to store additional Python types in SQLite databases" msgstr "" -#: ../Doc/library/sqlite3.rst:819 +#: ../Doc/library/sqlite3.rst:823 msgid "" "As described before, SQLite supports only a limited set of types natively. " "To use other Python types with SQLite, you must **adapt** them to one of the " @@ -922,23 +929,23 @@ msgid "" "str, bytes." msgstr "" -#: ../Doc/library/sqlite3.rst:824 +#: ../Doc/library/sqlite3.rst:828 msgid "" "There are two ways to enable the :mod:`sqlite3` module to adapt a custom " "Python type to one of the supported ones." msgstr "" -#: ../Doc/library/sqlite3.rst:829 +#: ../Doc/library/sqlite3.rst:833 msgid "Letting your object adapt itself" msgstr "" -#: ../Doc/library/sqlite3.rst:831 +#: ../Doc/library/sqlite3.rst:835 msgid "" "This is a good approach if you write the class yourself. Let's suppose you " "have a class like this::" msgstr "" -#: ../Doc/library/sqlite3.rst:838 +#: ../Doc/library/sqlite3.rst:842 msgid "" "Now you want to store the point in a single SQLite column. First you'll " "have to choose one of the supported types first to be used for representing " @@ -948,18 +955,18 @@ msgid "" "will be :class:`PrepareProtocol`." msgstr "" -#: ../Doc/library/sqlite3.rst:848 +#: ../Doc/library/sqlite3.rst:852 msgid "Registering an adapter callable" msgstr "" -#: ../Doc/library/sqlite3.rst:850 +#: ../Doc/library/sqlite3.rst:854 msgid "" "The other possibility is to create a function that converts the type to the " "string representation and register the function with :meth:" "`register_adapter`." msgstr "" -#: ../Doc/library/sqlite3.rst:855 +#: ../Doc/library/sqlite3.rst:859 msgid "" "The :mod:`sqlite3` module has two default adapters for Python's built-in :" "class:`datetime.date` and :class:`datetime.datetime` types. Now let's " @@ -967,151 +974,151 @@ msgid "" "representation, but as a Unix timestamp." msgstr "" -#: ../Doc/library/sqlite3.rst:864 +#: ../Doc/library/sqlite3.rst:868 msgid "Converting SQLite values to custom Python types" msgstr "" -#: ../Doc/library/sqlite3.rst:866 +#: ../Doc/library/sqlite3.rst:870 msgid "" "Writing an adapter lets you send custom Python types to SQLite. But to make " "it really useful we need to make the Python to SQLite to Python roundtrip " "work." msgstr "" -#: ../Doc/library/sqlite3.rst:869 +#: ../Doc/library/sqlite3.rst:873 msgid "Enter converters." msgstr "" -#: ../Doc/library/sqlite3.rst:871 +#: ../Doc/library/sqlite3.rst:875 msgid "" "Let's go back to the :class:`Point` class. We stored the x and y coordinates " "separated via semicolons as strings in SQLite." msgstr "" -#: ../Doc/library/sqlite3.rst:874 +#: ../Doc/library/sqlite3.rst:878 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`Point` object from it." msgstr "" -#: ../Doc/library/sqlite3.rst:879 +#: ../Doc/library/sqlite3.rst:883 msgid "" "Converter functions **always** get called with a :class:`bytes` object, no " "matter under which data type you sent the value to SQLite." msgstr "" -#: ../Doc/library/sqlite3.rst:888 +#: ../Doc/library/sqlite3.rst:892 msgid "" "Now you need to make the :mod:`sqlite3` module know that what you select " "from the database is actually a point. There are two ways of doing this:" msgstr "" -#: ../Doc/library/sqlite3.rst:891 +#: ../Doc/library/sqlite3.rst:895 msgid "Implicitly via the declared type" msgstr "" -#: ../Doc/library/sqlite3.rst:893 +#: ../Doc/library/sqlite3.rst:897 msgid "Explicitly via the column name" msgstr "" -#: ../Doc/library/sqlite3.rst:895 +#: ../Doc/library/sqlite3.rst:899 msgid "" "Both ways are described in section :ref:`sqlite3-module-contents`, in the " "entries for the constants :const:`PARSE_DECLTYPES` and :const:" "`PARSE_COLNAMES`." msgstr "" -#: ../Doc/library/sqlite3.rst:898 +#: ../Doc/library/sqlite3.rst:902 msgid "The following example illustrates both approaches." msgstr "" -#: ../Doc/library/sqlite3.rst:904 +#: ../Doc/library/sqlite3.rst:908 msgid "Default adapters and converters" msgstr "" -#: ../Doc/library/sqlite3.rst:906 +#: ../Doc/library/sqlite3.rst:910 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: ../Doc/library/sqlite3.rst:909 +#: ../Doc/library/sqlite3.rst:913 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: ../Doc/library/sqlite3.rst:913 +#: ../Doc/library/sqlite3.rst:917 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: ../Doc/library/sqlite3.rst:917 +#: ../Doc/library/sqlite3.rst:921 msgid "The following example demonstrates this." msgstr "" -#: ../Doc/library/sqlite3.rst:921 +#: ../Doc/library/sqlite3.rst:925 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: ../Doc/library/sqlite3.rst:929 +#: ../Doc/library/sqlite3.rst:933 msgid "Controlling Transactions" msgstr "" -#: ../Doc/library/sqlite3.rst:931 +#: ../Doc/library/sqlite3.rst:935 msgid "" "By default, the :mod:`sqlite3` module opens transactions implicitly before a " "Data Modification Language (DML) statement (i.e. ``INSERT``/``UPDATE``/" "``DELETE``/``REPLACE``)." msgstr "" -#: ../Doc/library/sqlite3.rst:935 +#: ../Doc/library/sqlite3.rst:939 msgid "" "You can control which kind of ``BEGIN`` statements sqlite3 implicitly " "executes (or none at all) via the *isolation_level* parameter to the :func:" "`connect` call, or via the :attr:`isolation_level` property of connections." msgstr "" -#: ../Doc/library/sqlite3.rst:939 +#: ../Doc/library/sqlite3.rst:943 msgid "" "If you want **autocommit mode**, then set :attr:`isolation_level` to " "``None``." msgstr "" -#: ../Doc/library/sqlite3.rst:941 +#: ../Doc/library/sqlite3.rst:945 msgid "" "Otherwise leave it at its default, which will result in a plain \"BEGIN\" " "statement, or set it to one of SQLite's supported isolation levels: " "\"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\"." msgstr "" -#: ../Doc/library/sqlite3.rst:945 +#: ../Doc/library/sqlite3.rst:949 msgid "" "The current transaction state is exposed through the :attr:`Connection." "in_transaction` attribute of the connection object." msgstr "" -#: ../Doc/library/sqlite3.rst:948 +#: ../Doc/library/sqlite3.rst:952 msgid "" ":mod:`sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -#: ../Doc/library/sqlite3.rst:954 +#: ../Doc/library/sqlite3.rst:958 msgid "Using :mod:`sqlite3` efficiently" msgstr "" -#: ../Doc/library/sqlite3.rst:958 +#: ../Doc/library/sqlite3.rst:962 msgid "Using shortcut methods" msgstr "" -#: ../Doc/library/sqlite3.rst:960 +#: ../Doc/library/sqlite3.rst:964 msgid "" "Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:" "`executescript` methods of the :class:`Connection` object, your code can be " @@ -1123,42 +1130,42 @@ msgid "" "object." msgstr "" -#: ../Doc/library/sqlite3.rst:972 +#: ../Doc/library/sqlite3.rst:976 msgid "Accessing columns by name instead of by index" msgstr "" -#: ../Doc/library/sqlite3.rst:974 +#: ../Doc/library/sqlite3.rst:978 msgid "" "One useful feature of the :mod:`sqlite3` module is the built-in :class:" "`sqlite3.Row` class designed to be used as a row factory." msgstr "" -#: ../Doc/library/sqlite3.rst:977 +#: ../Doc/library/sqlite3.rst:981 msgid "" "Rows wrapped with this class can be accessed both by index (like tuples) and " "case-insensitively by name:" msgstr "" -#: ../Doc/library/sqlite3.rst:984 +#: ../Doc/library/sqlite3.rst:988 msgid "Using the connection as a context manager" msgstr "" -#: ../Doc/library/sqlite3.rst:986 +#: ../Doc/library/sqlite3.rst:990 msgid "" "Connection objects can be used as context managers that automatically commit " "or rollback transactions. In the event of an exception, the transaction is " "rolled back; otherwise, the transaction is committed:" msgstr "" -#: ../Doc/library/sqlite3.rst:995 +#: ../Doc/library/sqlite3.rst:999 msgid "Common issues" msgstr "" -#: ../Doc/library/sqlite3.rst:998 +#: ../Doc/library/sqlite3.rst:1002 msgid "Multithreading" msgstr "Multi threads" -#: ../Doc/library/sqlite3.rst:1000 +#: ../Doc/library/sqlite3.rst:1004 msgid "" "Older SQLite versions had issues with sharing connections between threads. " "That's why the Python module disallows sharing connections and cursors " @@ -1166,17 +1173,17 @@ msgid "" "runtime." msgstr "" -#: ../Doc/library/sqlite3.rst:1004 +#: ../Doc/library/sqlite3.rst:1008 msgid "" "The only exception is calling the :meth:`~Connection.interrupt` method, " "which only makes sense to call from a different thread." msgstr "" -#: ../Doc/library/sqlite3.rst:1008 +#: ../Doc/library/sqlite3.rst:1012 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/sqlite3.rst:1009 +#: ../Doc/library/sqlite3.rst:1013 msgid "" "The sqlite3 module is not built with loadable extension support by default, " "because some platforms (notably Mac OS X) have SQLite libraries which are " diff --git a/library/stdtypes.po b/library/stdtypes.po index 7a146867..360443fe 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-10-27 17:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -145,7 +145,7 @@ msgstr "Résultat" #: ../Doc/library/stdtypes.rst:85 ../Doc/library/stdtypes.rst:271 #: ../Doc/library/stdtypes.rst:410 ../Doc/library/stdtypes.rst:846 #: ../Doc/library/stdtypes.rst:1041 ../Doc/library/stdtypes.rst:2154 -#: ../Doc/library/stdtypes.rst:3256 +#: ../Doc/library/stdtypes.rst:3258 msgid "Notes" msgstr "Notes" @@ -160,7 +160,7 @@ msgstr "si *x* est faux, alors *y*, sinon *x*" #: ../Doc/library/stdtypes.rst:87 ../Doc/library/stdtypes.rst:281 #: ../Doc/library/stdtypes.rst:848 ../Doc/library/stdtypes.rst:851 #: ../Doc/library/stdtypes.rst:1052 ../Doc/library/stdtypes.rst:2160 -#: ../Doc/library/stdtypes.rst:3262 +#: ../Doc/library/stdtypes.rst:3264 msgid "\\(1)" msgstr "\\(1)" @@ -175,7 +175,7 @@ msgstr "si *x* est faux, alors *x*, sinon *y*" #: ../Doc/library/stdtypes.rst:90 ../Doc/library/stdtypes.rst:284 #: ../Doc/library/stdtypes.rst:304 ../Doc/library/stdtypes.rst:1080 #: ../Doc/library/stdtypes.rst:2164 ../Doc/library/stdtypes.rst:2166 -#: ../Doc/library/stdtypes.rst:3266 ../Doc/library/stdtypes.rst:3268 +#: ../Doc/library/stdtypes.rst:3268 ../Doc/library/stdtypes.rst:3270 msgid "\\(2)" msgstr "\\(2)" @@ -190,16 +190,16 @@ msgstr "si *x* est faux, alors ``True``, sinon ``False``" #: ../Doc/library/stdtypes.rst:93 ../Doc/library/stdtypes.rst:860 #: ../Doc/library/stdtypes.rst:1083 ../Doc/library/stdtypes.rst:2168 #: ../Doc/library/stdtypes.rst:2170 ../Doc/library/stdtypes.rst:2172 -#: ../Doc/library/stdtypes.rst:2174 ../Doc/library/stdtypes.rst:3270 -#: ../Doc/library/stdtypes.rst:3272 ../Doc/library/stdtypes.rst:3274 -#: ../Doc/library/stdtypes.rst:3276 +#: ../Doc/library/stdtypes.rst:2174 ../Doc/library/stdtypes.rst:3272 +#: ../Doc/library/stdtypes.rst:3274 ../Doc/library/stdtypes.rst:3276 +#: ../Doc/library/stdtypes.rst:3278 msgid "\\(3)" msgstr "\\(3)" #: ../Doc/library/stdtypes.rst:102 ../Doc/library/stdtypes.rst:315 #: ../Doc/library/stdtypes.rst:428 ../Doc/library/stdtypes.rst:887 #: ../Doc/library/stdtypes.rst:1091 ../Doc/library/stdtypes.rst:2200 -#: ../Doc/library/stdtypes.rst:3306 +#: ../Doc/library/stdtypes.rst:3308 msgid "Notes:" msgstr "Notes : " @@ -252,8 +252,8 @@ msgid "This table summarizes the comparison operations:" msgstr "Ce tableau résume les opérations de comparaison :" #: ../Doc/library/stdtypes.rst:143 ../Doc/library/stdtypes.rst:2131 -#: ../Doc/library/stdtypes.rst:2154 ../Doc/library/stdtypes.rst:3233 -#: ../Doc/library/stdtypes.rst:3256 +#: ../Doc/library/stdtypes.rst:2154 ../Doc/library/stdtypes.rst:3235 +#: ../Doc/library/stdtypes.rst:3258 msgid "Meaning" msgstr "Signification" @@ -588,7 +588,7 @@ msgstr "" "imaginaire. *im* vaut zéro par défaut." #: ../Doc/library/stdtypes.rst:297 ../Doc/library/stdtypes.rst:1073 -#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3293 +#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3295 msgid "\\(6)" msgstr "\\(6)" @@ -627,8 +627,8 @@ msgstr "*x* à la puissance *y*" #: ../Doc/library/stdtypes.rst:306 ../Doc/library/stdtypes.rst:308 #: ../Doc/library/stdtypes.rst:1062 ../Doc/library/stdtypes.rst:1065 #: ../Doc/library/stdtypes.rst:2187 ../Doc/library/stdtypes.rst:2190 -#: ../Doc/library/stdtypes.rst:2193 ../Doc/library/stdtypes.rst:3289 -#: ../Doc/library/stdtypes.rst:3296 +#: ../Doc/library/stdtypes.rst:2193 ../Doc/library/stdtypes.rst:3291 +#: ../Doc/library/stdtypes.rst:3298 msgid "\\(5)" msgstr "\\(5)" @@ -1487,7 +1487,7 @@ msgstr "" "indice de la première occurrence de *x* dans *s* (à ou après l'indice *i* et " "avant indice *j*)" -#: ../Doc/library/stdtypes.rst:873 ../Doc/library/stdtypes.rst:3264 +#: ../Doc/library/stdtypes.rst:873 ../Doc/library/stdtypes.rst:3266 msgid "\\(8)" msgstr "\\(8)" @@ -1859,8 +1859,8 @@ msgid "reverses the items of *s* in place" msgstr "inverse sur place les éléments de *s*" #: ../Doc/library/stdtypes.rst:1086 ../Doc/library/stdtypes.rst:2176 -#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3278 -#: ../Doc/library/stdtypes.rst:3282 +#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3280 +#: ../Doc/library/stdtypes.rst:3284 msgid "\\(4)" msgstr "\\(4)" @@ -3113,14 +3113,14 @@ msgstr "" #: ../Doc/library/stdtypes.rst:1848 ../Doc/library/stdtypes.rst:1864 #: ../Doc/library/stdtypes.rst:1916 ../Doc/library/stdtypes.rst:1984 -#: ../Doc/library/stdtypes.rst:2048 ../Doc/library/stdtypes.rst:2788 -#: ../Doc/library/stdtypes.rst:2804 ../Doc/library/stdtypes.rst:2895 -#: ../Doc/library/stdtypes.rst:2911 ../Doc/library/stdtypes.rst:2926 -#: ../Doc/library/stdtypes.rst:2940 ../Doc/library/stdtypes.rst:2968 -#: ../Doc/library/stdtypes.rst:2982 ../Doc/library/stdtypes.rst:3000 -#: ../Doc/library/stdtypes.rst:3027 ../Doc/library/stdtypes.rst:3050 -#: ../Doc/library/stdtypes.rst:3077 ../Doc/library/stdtypes.rst:3119 -#: ../Doc/library/stdtypes.rst:3143 +#: ../Doc/library/stdtypes.rst:2048 ../Doc/library/stdtypes.rst:2790 +#: ../Doc/library/stdtypes.rst:2806 ../Doc/library/stdtypes.rst:2897 +#: ../Doc/library/stdtypes.rst:2913 ../Doc/library/stdtypes.rst:2928 +#: ../Doc/library/stdtypes.rst:2942 ../Doc/library/stdtypes.rst:2970 +#: ../Doc/library/stdtypes.rst:2984 ../Doc/library/stdtypes.rst:3002 +#: ../Doc/library/stdtypes.rst:3029 ../Doc/library/stdtypes.rst:3052 +#: ../Doc/library/stdtypes.rst:3079 ../Doc/library/stdtypes.rst:3121 +#: ../Doc/library/stdtypes.rst:3145 msgid "For example::" msgstr "Par exemple : ::" @@ -3328,7 +3328,7 @@ msgstr "" "Renvoie une version en initiales majuscules de la chaîne où les mots " "commencent par une capitale et les caractères restants sont en minuscules." -#: ../Doc/library/stdtypes.rst:1989 ../Doc/library/stdtypes.rst:3087 +#: ../Doc/library/stdtypes.rst:1989 ../Doc/library/stdtypes.rst:3089 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3341,7 +3341,7 @@ msgstr "" "(typiquement dela forme possessive en Anglais) forment les limites de mot, " "ce qui n'est pas toujours le résultat souhaité : ::" -#: ../Doc/library/stdtypes.rst:1997 ../Doc/library/stdtypes.rst:3095 +#: ../Doc/library/stdtypes.rst:1997 ../Doc/library/stdtypes.rst:3097 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" @@ -3467,7 +3467,7 @@ msgstr "" "d'éléments spécifiés par la chaîne de format, ou un seul objet de " "correspondances ( *mapping object*, par exemple, un dictionnaire)." -#: ../Doc/library/stdtypes.rst:2092 ../Doc/library/stdtypes.rst:3194 +#: ../Doc/library/stdtypes.rst:2092 ../Doc/library/stdtypes.rst:3196 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" @@ -3475,11 +3475,11 @@ msgstr "" "Un indicateur de conversion contient deux ou plusieurs caractères et " "comporte les éléments suivants, qui doivent apparaître dans cet ordre :" -#: ../Doc/library/stdtypes.rst:2095 ../Doc/library/stdtypes.rst:3197 +#: ../Doc/library/stdtypes.rst:2095 ../Doc/library/stdtypes.rst:3199 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "Le caractère ``'%'``, qui marque le début du marqueur." -#: ../Doc/library/stdtypes.rst:2097 ../Doc/library/stdtypes.rst:3199 +#: ../Doc/library/stdtypes.rst:2097 ../Doc/library/stdtypes.rst:3201 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." @@ -3487,7 +3487,7 @@ msgstr "" "La clé de correspondance (facultative), composée d'une suite de caractères " "entre parenthèse (par exemple, ``(somename)``)." -#: ../Doc/library/stdtypes.rst:2100 ../Doc/library/stdtypes.rst:3202 +#: ../Doc/library/stdtypes.rst:2100 ../Doc/library/stdtypes.rst:3204 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." @@ -3495,7 +3495,7 @@ msgstr "" "Des options de conversion, facultatives, qui affectent le résultat de " "certains types de conversion." -#: ../Doc/library/stdtypes.rst:2103 ../Doc/library/stdtypes.rst:3205 +#: ../Doc/library/stdtypes.rst:2103 ../Doc/library/stdtypes.rst:3207 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " @@ -3505,7 +3505,7 @@ msgstr "" "est lue de l'élément suivant du tuple *values*, et l'objet à convertir vient " "après la largeur de champ minimale et la précision facultative." -#: ../Doc/library/stdtypes.rst:2107 ../Doc/library/stdtypes.rst:3209 +#: ../Doc/library/stdtypes.rst:2107 ../Doc/library/stdtypes.rst:3211 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3517,11 +3517,11 @@ msgstr "" "lue à partir de l'élément suivant du tuple *values* et la valeur à convertir " "vient ensuite." -#: ../Doc/library/stdtypes.rst:2112 ../Doc/library/stdtypes.rst:3214 +#: ../Doc/library/stdtypes.rst:2112 ../Doc/library/stdtypes.rst:3216 msgid "Length modifier (optional)." msgstr "Modificateur de longueur (facultatif)." -#: ../Doc/library/stdtypes.rst:2114 ../Doc/library/stdtypes.rst:3216 +#: ../Doc/library/stdtypes.rst:2114 ../Doc/library/stdtypes.rst:3218 msgid "Conversion type." msgstr "Type de conversion." @@ -3538,7 +3538,7 @@ msgstr "" "caractère ``'%'``. La clé indique quelle valeur du dictionnaire doit être " "formatée. Par exemple :" -#: ../Doc/library/stdtypes.rst:2125 ../Doc/library/stdtypes.rst:3227 +#: ../Doc/library/stdtypes.rst:2125 ../Doc/library/stdtypes.rst:3229 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." @@ -3546,36 +3546,36 @@ msgstr "" "Dans ce cas, aucune ``*`` ne peuvent se trouver dans le format (car ces " "``*`` nécessitent une liste (accès séquentiel) de paramètres)." -#: ../Doc/library/stdtypes.rst:2128 ../Doc/library/stdtypes.rst:3230 +#: ../Doc/library/stdtypes.rst:2128 ../Doc/library/stdtypes.rst:3232 msgid "The conversion flag characters are:" msgstr "Les caractères indicateurs de conversion sont :" -#: ../Doc/library/stdtypes.rst:2131 ../Doc/library/stdtypes.rst:3233 +#: ../Doc/library/stdtypes.rst:2131 ../Doc/library/stdtypes.rst:3235 msgid "Flag" msgstr "Option" -#: ../Doc/library/stdtypes.rst:2133 ../Doc/library/stdtypes.rst:3235 +#: ../Doc/library/stdtypes.rst:2133 ../Doc/library/stdtypes.rst:3237 msgid "``'#'``" msgstr "``'#'``" -#: ../Doc/library/stdtypes.rst:2133 ../Doc/library/stdtypes.rst:3235 +#: ../Doc/library/stdtypes.rst:2133 ../Doc/library/stdtypes.rst:3237 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "La conversion utilisera la \"forme alternative\" (définie ci-dessous)." -#: ../Doc/library/stdtypes.rst:2136 ../Doc/library/stdtypes.rst:3238 +#: ../Doc/library/stdtypes.rst:2136 ../Doc/library/stdtypes.rst:3240 msgid "``'0'``" msgstr "``'0'``" -#: ../Doc/library/stdtypes.rst:2136 ../Doc/library/stdtypes.rst:3238 +#: ../Doc/library/stdtypes.rst:2136 ../Doc/library/stdtypes.rst:3240 msgid "The conversion will be zero padded for numeric values." msgstr "Les valeurs numériques converties seront complétée de zéros." -#: ../Doc/library/stdtypes.rst:2138 ../Doc/library/stdtypes.rst:3240 +#: ../Doc/library/stdtypes.rst:2138 ../Doc/library/stdtypes.rst:3242 msgid "``'-'``" msgstr "``'-'``" -#: ../Doc/library/stdtypes.rst:2138 ../Doc/library/stdtypes.rst:3240 +#: ../Doc/library/stdtypes.rst:2138 ../Doc/library/stdtypes.rst:3242 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." @@ -3583,11 +3583,11 @@ msgstr "" "La valeur convertie est ajustée à gauche (remplace la conversion ``'0'`` si " "les deux sont données)." -#: ../Doc/library/stdtypes.rst:2141 ../Doc/library/stdtypes.rst:3243 +#: ../Doc/library/stdtypes.rst:2141 ../Doc/library/stdtypes.rst:3245 msgid "``' '``" msgstr "``' '``" -#: ../Doc/library/stdtypes.rst:2141 ../Doc/library/stdtypes.rst:3243 +#: ../Doc/library/stdtypes.rst:2141 ../Doc/library/stdtypes.rst:3245 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." @@ -3595,11 +3595,11 @@ msgstr "" "(un espace) Un espace doit être laissé avant un nombre positif (ou chaîne " "vide) produite par la conversion d'une valeur signée." -#: ../Doc/library/stdtypes.rst:2144 ../Doc/library/stdtypes.rst:3246 +#: ../Doc/library/stdtypes.rst:2144 ../Doc/library/stdtypes.rst:3248 msgid "``'+'``" msgstr "``'+'``" -#: ../Doc/library/stdtypes.rst:2144 ../Doc/library/stdtypes.rst:3246 +#: ../Doc/library/stdtypes.rst:2144 ../Doc/library/stdtypes.rst:3248 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." @@ -3607,7 +3607,7 @@ msgstr "" "Un caractère de signe (``'+'`` ou ``'-'``) précéde la valeur convertie " "(remplace le marqueur \"espace\")." -#: ../Doc/library/stdtypes.rst:2148 ../Doc/library/stdtypes.rst:3250 +#: ../Doc/library/stdtypes.rst:2148 ../Doc/library/stdtypes.rst:3252 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." @@ -3616,93 +3616,93 @@ msgstr "" "est ignoré car il est pas nécessaire pour Python - donc par exemple ``%ld`` " "est identique à ``%d``." -#: ../Doc/library/stdtypes.rst:2151 ../Doc/library/stdtypes.rst:3253 +#: ../Doc/library/stdtypes.rst:2151 ../Doc/library/stdtypes.rst:3255 msgid "The conversion types are:" msgstr "Les types utilisables dans les conversion sont :" -#: ../Doc/library/stdtypes.rst:2154 ../Doc/library/stdtypes.rst:3256 +#: ../Doc/library/stdtypes.rst:2154 ../Doc/library/stdtypes.rst:3258 msgid "Conversion" msgstr "Conversion" -#: ../Doc/library/stdtypes.rst:2156 ../Doc/library/stdtypes.rst:3258 +#: ../Doc/library/stdtypes.rst:2156 ../Doc/library/stdtypes.rst:3260 msgid "``'d'``" msgstr "``'d'``" #: ../Doc/library/stdtypes.rst:2156 ../Doc/library/stdtypes.rst:2158 -#: ../Doc/library/stdtypes.rst:3258 ../Doc/library/stdtypes.rst:3260 +#: ../Doc/library/stdtypes.rst:3260 ../Doc/library/stdtypes.rst:3262 msgid "Signed integer decimal." msgstr "Entier décimal signé." -#: ../Doc/library/stdtypes.rst:2158 ../Doc/library/stdtypes.rst:3260 +#: ../Doc/library/stdtypes.rst:2158 ../Doc/library/stdtypes.rst:3262 msgid "``'i'``" msgstr "``'i'``" -#: ../Doc/library/stdtypes.rst:2160 ../Doc/library/stdtypes.rst:3262 +#: ../Doc/library/stdtypes.rst:2160 ../Doc/library/stdtypes.rst:3264 msgid "``'o'``" msgstr "``'o'``" -#: ../Doc/library/stdtypes.rst:2160 ../Doc/library/stdtypes.rst:3262 +#: ../Doc/library/stdtypes.rst:2160 ../Doc/library/stdtypes.rst:3264 msgid "Signed octal value." msgstr "Valeur octale signée." -#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3264 +#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3266 msgid "``'u'``" msgstr "``'u'``" -#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3264 +#: ../Doc/library/stdtypes.rst:2162 ../Doc/library/stdtypes.rst:3266 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "Type obsolète - identique à ``'d'``." -#: ../Doc/library/stdtypes.rst:2164 ../Doc/library/stdtypes.rst:3266 +#: ../Doc/library/stdtypes.rst:2164 ../Doc/library/stdtypes.rst:3268 msgid "``'x'``" msgstr "``'x'``" -#: ../Doc/library/stdtypes.rst:2164 ../Doc/library/stdtypes.rst:3266 +#: ../Doc/library/stdtypes.rst:2164 ../Doc/library/stdtypes.rst:3268 msgid "Signed hexadecimal (lowercase)." msgstr "Hexadécimal signé (en minuscules)." -#: ../Doc/library/stdtypes.rst:2166 ../Doc/library/stdtypes.rst:3268 +#: ../Doc/library/stdtypes.rst:2166 ../Doc/library/stdtypes.rst:3270 msgid "``'X'``" msgstr "``'X'``" -#: ../Doc/library/stdtypes.rst:2166 ../Doc/library/stdtypes.rst:3268 +#: ../Doc/library/stdtypes.rst:2166 ../Doc/library/stdtypes.rst:3270 msgid "Signed hexadecimal (uppercase)." msgstr "Hexadécimal signé (capitales)." -#: ../Doc/library/stdtypes.rst:2168 ../Doc/library/stdtypes.rst:3270 +#: ../Doc/library/stdtypes.rst:2168 ../Doc/library/stdtypes.rst:3272 msgid "``'e'``" msgstr "``'e'``" -#: ../Doc/library/stdtypes.rst:2168 ../Doc/library/stdtypes.rst:3270 +#: ../Doc/library/stdtypes.rst:2168 ../Doc/library/stdtypes.rst:3272 msgid "Floating point exponential format (lowercase)." msgstr "Format exponentiel pour un *float* (minuscule)." -#: ../Doc/library/stdtypes.rst:2170 ../Doc/library/stdtypes.rst:3272 +#: ../Doc/library/stdtypes.rst:2170 ../Doc/library/stdtypes.rst:3274 msgid "``'E'``" msgstr "``'E'``" -#: ../Doc/library/stdtypes.rst:2170 ../Doc/library/stdtypes.rst:3272 +#: ../Doc/library/stdtypes.rst:2170 ../Doc/library/stdtypes.rst:3274 msgid "Floating point exponential format (uppercase)." msgstr "Format exponentiel pour un *float* (en capitales)." -#: ../Doc/library/stdtypes.rst:2172 ../Doc/library/stdtypes.rst:3274 +#: ../Doc/library/stdtypes.rst:2172 ../Doc/library/stdtypes.rst:3276 msgid "``'f'``" msgstr "``'f'``" #: ../Doc/library/stdtypes.rst:2172 ../Doc/library/stdtypes.rst:2174 -#: ../Doc/library/stdtypes.rst:3274 ../Doc/library/stdtypes.rst:3276 +#: ../Doc/library/stdtypes.rst:3276 ../Doc/library/stdtypes.rst:3278 msgid "Floating point decimal format." msgstr "Format décimal pour un *float*." -#: ../Doc/library/stdtypes.rst:2174 ../Doc/library/stdtypes.rst:3276 +#: ../Doc/library/stdtypes.rst:2174 ../Doc/library/stdtypes.rst:3278 msgid "``'F'``" msgstr "``'F'``" -#: ../Doc/library/stdtypes.rst:2176 ../Doc/library/stdtypes.rst:3278 +#: ../Doc/library/stdtypes.rst:2176 ../Doc/library/stdtypes.rst:3280 msgid "``'g'``" msgstr "``'g'``" -#: ../Doc/library/stdtypes.rst:2176 ../Doc/library/stdtypes.rst:3278 +#: ../Doc/library/stdtypes.rst:2176 ../Doc/library/stdtypes.rst:3280 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -3710,11 +3710,11 @@ msgstr "" "Format *float*. Utilise le format exponentiel minuscules si l'exposant est " "inférieur à -4 ou pas plus petit que la précision, sinon le format décimal." -#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3282 +#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3284 msgid "``'G'``" msgstr "``'G'``" -#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3282 +#: ../Doc/library/stdtypes.rst:2180 ../Doc/library/stdtypes.rst:3284 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -3722,7 +3722,7 @@ msgstr "" "Format *float*. Utilise le format exponentiel en capitales si l'exposant est " "inférieur à -4 ou pas plus petit que la précision, sinon le format décimal." -#: ../Doc/library/stdtypes.rst:2184 ../Doc/library/stdtypes.rst:3286 +#: ../Doc/library/stdtypes.rst:2184 ../Doc/library/stdtypes.rst:3288 msgid "``'c'``" msgstr "``'c'``" @@ -3731,7 +3731,7 @@ msgid "Single character (accepts integer or single character string)." msgstr "" "Un seul caractère (accepte des entiers ou une chaîne d'un seul caractère)." -#: ../Doc/library/stdtypes.rst:2187 ../Doc/library/stdtypes.rst:3299 +#: ../Doc/library/stdtypes.rst:2187 ../Doc/library/stdtypes.rst:3301 msgid "``'r'``" msgstr "``'r'``" @@ -3739,7 +3739,7 @@ msgstr "``'r'``" msgid "String (converts any Python object using :func:`repr`)." msgstr "String (convertit n'importe quel objet Python avec :func:`repr`)." -#: ../Doc/library/stdtypes.rst:2190 ../Doc/library/stdtypes.rst:3293 +#: ../Doc/library/stdtypes.rst:2190 ../Doc/library/stdtypes.rst:3295 msgid "``'s'``" msgstr "``'s'``" @@ -3747,7 +3747,7 @@ msgstr "``'s'``" msgid "String (converts any Python object using :func:`str`)." msgstr "String (convertit n'importe quel objet Python avec :func:`str`)." -#: ../Doc/library/stdtypes.rst:2193 ../Doc/library/stdtypes.rst:3296 +#: ../Doc/library/stdtypes.rst:2193 ../Doc/library/stdtypes.rst:3298 msgid "``'a'``" msgstr "``'a'``" @@ -3756,17 +3756,17 @@ msgid "String (converts any Python object using :func:`ascii`)." msgstr "" "String (convertit n'importe quel objet Python en utilisant :func:`ascii`)." -#: ../Doc/library/stdtypes.rst:2196 ../Doc/library/stdtypes.rst:3302 +#: ../Doc/library/stdtypes.rst:2196 ../Doc/library/stdtypes.rst:3304 msgid "``'%'``" msgstr "``'%'``" -#: ../Doc/library/stdtypes.rst:2196 ../Doc/library/stdtypes.rst:3302 +#: ../Doc/library/stdtypes.rst:2196 ../Doc/library/stdtypes.rst:3304 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" "Aucun argument n'est converti, donne un caractère de ``'%'`` dans le " "résultat." -#: ../Doc/library/stdtypes.rst:2203 ../Doc/library/stdtypes.rst:3309 +#: ../Doc/library/stdtypes.rst:2203 ../Doc/library/stdtypes.rst:3311 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." @@ -3774,7 +3774,7 @@ msgstr "" "La forme alternative entraîne l'insertion d'un préfix octal (``'0o'``) avant " "le premier chiffre." -#: ../Doc/library/stdtypes.rst:2207 ../Doc/library/stdtypes.rst:3313 +#: ../Doc/library/stdtypes.rst:2207 ../Doc/library/stdtypes.rst:3315 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " @@ -3784,7 +3784,7 @@ msgstr "" "(respectivement pour les formats ``'x'`` et ``'X'``) avant le premier " "chiffre." -#: ../Doc/library/stdtypes.rst:2211 ../Doc/library/stdtypes.rst:3317 +#: ../Doc/library/stdtypes.rst:2211 ../Doc/library/stdtypes.rst:3319 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." @@ -3792,14 +3792,14 @@ msgstr "" "La forme alternative implique la présence d'un point décimal, même si aucun " "chiffre ne le suit." -#: ../Doc/library/stdtypes.rst:2214 ../Doc/library/stdtypes.rst:3320 +#: ../Doc/library/stdtypes.rst:2214 ../Doc/library/stdtypes.rst:3322 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" "La précision détermine le nombre de chiffres après la virgule, 6 par défaut." -#: ../Doc/library/stdtypes.rst:2218 ../Doc/library/stdtypes.rst:3324 +#: ../Doc/library/stdtypes.rst:2218 ../Doc/library/stdtypes.rst:3326 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." @@ -3807,7 +3807,7 @@ msgstr "" "La forme alternative implique la présence d'un point décimal et les zéros " "non significatifs sont conservés (ils ne le seraient pas autrement)." -#: ../Doc/library/stdtypes.rst:2221 ../Doc/library/stdtypes.rst:3327 +#: ../Doc/library/stdtypes.rst:2221 ../Doc/library/stdtypes.rst:3329 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." @@ -3815,11 +3815,11 @@ msgstr "" "La précision détermine le nombre de chiffres significatifs avant et après la " "virgule. 6 par défaut." -#: ../Doc/library/stdtypes.rst:2225 ../Doc/library/stdtypes.rst:3331 +#: ../Doc/library/stdtypes.rst:2225 ../Doc/library/stdtypes.rst:3333 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "Si la précision est ``N``, la sortie est tronquée à ``N`` caractères." -#: ../Doc/library/stdtypes.rst:2228 ../Doc/library/stdtypes.rst:3340 +#: ../Doc/library/stdtypes.rst:2228 ../Doc/library/stdtypes.rst:3342 msgid "See :pep:`237`." msgstr "Voir la :pep:`237`." @@ -4242,8 +4242,8 @@ msgstr "" "*start* et *end* sont interprétés comme pour un *slice*." #: ../Doc/library/stdtypes.rst:2465 ../Doc/library/stdtypes.rst:2512 -#: ../Doc/library/stdtypes.rst:2534 ../Doc/library/stdtypes.rst:2599 -#: ../Doc/library/stdtypes.rst:2612 +#: ../Doc/library/stdtypes.rst:2534 ../Doc/library/stdtypes.rst:2600 +#: ../Doc/library/stdtypes.rst:2613 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." @@ -4252,8 +4252,8 @@ msgstr "" "object` ou un nombre entier compris entre 0 et 255." #: ../Doc/library/stdtypes.rst:2468 ../Doc/library/stdtypes.rst:2524 -#: ../Doc/library/stdtypes.rst:2537 ../Doc/library/stdtypes.rst:2602 -#: ../Doc/library/stdtypes.rst:2615 +#: ../Doc/library/stdtypes.rst:2537 ../Doc/library/stdtypes.rst:2603 +#: ../Doc/library/stdtypes.rst:2616 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" "Accepte aussi un nombre entier compris entre 0 et 255 comme sous-séquence." @@ -4369,12 +4369,13 @@ msgstr "" "longueur." #: ../Doc/library/stdtypes.rst:2566 +#, fuzzy msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " -"containing the part before the separator, the separator, and the part after " -"the separator. If the separator is not found, return a 3-tuple containing a " -"copy of the original sequence, followed by two empty bytes or bytearray " -"objects." +"containing the part before the separator, the separator itself or its " +"bytearray copy, and the part after the separator. If the separator is not " +"found, return a 3-tuple containing a copy of the original sequence, followed " +"by two empty bytes or bytearray objects." msgstr "" "Divise la séquence à la première occurrence de *sep*, et renvoie un 3-tuple " "contenant la partie précédant le séparateur, le séparateur, et la partie " @@ -4382,11 +4383,11 @@ msgstr "" "contiendra une copie de la séquence d'origine, suivi de deux *bytes* ou " "*bytearray* vides." -#: ../Doc/library/stdtypes.rst:2572 ../Doc/library/stdtypes.rst:2628 +#: ../Doc/library/stdtypes.rst:2573 ../Doc/library/stdtypes.rst:2630 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "Le séparateur à rechercher peut être tout :term:`bytes-like object`." -#: ../Doc/library/stdtypes.rst:2578 +#: ../Doc/library/stdtypes.rst:2579 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " @@ -4396,7 +4397,7 @@ msgstr "" "séquence *old* sont remplacées par *new*. Si l'argument optionnel *count* " "est donné, seules les *count* premières occurrences de sont remplacés." -#: ../Doc/library/stdtypes.rst:2582 +#: ../Doc/library/stdtypes.rst:2583 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." @@ -4404,14 +4405,14 @@ msgstr "" "La sous-séquence à rechercher et son remplacement peuvent être n'importe " "quel :term:`bytes-like object`." -#: ../Doc/library/stdtypes.rst:2587 ../Doc/library/stdtypes.rst:2679 -#: ../Doc/library/stdtypes.rst:2693 ../Doc/library/stdtypes.rst:2717 -#: ../Doc/library/stdtypes.rst:2731 ../Doc/library/stdtypes.rst:2766 -#: ../Doc/library/stdtypes.rst:2836 ../Doc/library/stdtypes.rst:2854 -#: ../Doc/library/stdtypes.rst:2882 ../Doc/library/stdtypes.rst:3011 -#: ../Doc/library/stdtypes.rst:3066 ../Doc/library/stdtypes.rst:3109 -#: ../Doc/library/stdtypes.rst:3130 ../Doc/library/stdtypes.rst:3152 -#: ../Doc/library/stdtypes.rst:3344 +#: ../Doc/library/stdtypes.rst:2588 ../Doc/library/stdtypes.rst:2681 +#: ../Doc/library/stdtypes.rst:2695 ../Doc/library/stdtypes.rst:2719 +#: ../Doc/library/stdtypes.rst:2733 ../Doc/library/stdtypes.rst:2768 +#: ../Doc/library/stdtypes.rst:2838 ../Doc/library/stdtypes.rst:2856 +#: ../Doc/library/stdtypes.rst:2884 ../Doc/library/stdtypes.rst:3013 +#: ../Doc/library/stdtypes.rst:3068 ../Doc/library/stdtypes.rst:3111 +#: ../Doc/library/stdtypes.rst:3132 ../Doc/library/stdtypes.rst:3154 +#: ../Doc/library/stdtypes.rst:3346 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." @@ -4420,7 +4421,7 @@ msgstr "" "produit toujours un nouvel objet, même si aucune modification n'a été " "effectuée." -#: ../Doc/library/stdtypes.rst:2594 +#: ../Doc/library/stdtypes.rst:2595 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4432,7 +4433,7 @@ msgstr "" "sont interprétés comme dans lanotation des *slices*. Donne ``-1`` si *sub* " "n'est pas trouvable." -#: ../Doc/library/stdtypes.rst:2609 +#: ../Doc/library/stdtypes.rst:2610 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." @@ -4440,13 +4441,14 @@ msgstr "" "Semblable à :meth:`~bytes.rfind` mais lève une :exc:`ValueError` lorsque " "*sub* est introuvable." -#: ../Doc/library/stdtypes.rst:2622 +#: ../Doc/library/stdtypes.rst:2623 +#, fuzzy msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " -"containing the part before the separator, the separator, and the part after " -"the separator. If the separator is not found, return a 3-tuple containing a " -"copy of the original sequence, followed by two empty bytes or bytearray " -"objects." +"containing the part before the separator, the separator itself or its " +"bytearray copy, and the part after the separator. If the separator is not " +"found, return a 3-tuple containing a copy of the original sequence, followed " +"by two empty bytes or bytearray objects." msgstr "" "Coupe la séquence à la dernière occurrence de *sep*, et renvoie un tuple de " "trois elements contenant la partie précédent le séparateur, le séparateur, " @@ -4454,7 +4456,7 @@ msgstr "" "tuple contiendra une copie de la séquence d'origine, suivi de deux *bytes* " "ou *bytesarray* vides." -#: ../Doc/library/stdtypes.rst:2634 +#: ../Doc/library/stdtypes.rst:2636 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4466,13 +4468,13 @@ msgstr "" "Avec l'argument *start* la recherche commence à cette position. Avec " "l'argument *end* option, la recherche s'arrête à cette position." -#: ../Doc/library/stdtypes.rst:2639 +#: ../Doc/library/stdtypes.rst:2641 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" "Le préfixe(s) à rechercher peuvent être n'importe quel :term:`bytes-like " "object`." -#: ../Doc/library/stdtypes.rst:2645 +#: ../Doc/library/stdtypes.rst:2647 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -4483,25 +4485,25 @@ msgstr "" "*delete* sont supprimés, et les octets restants changés par la table de " "correspondance donnée, qui doit être un objet *bytes* d'une longueur de 256." -#: ../Doc/library/stdtypes.rst:2650 +#: ../Doc/library/stdtypes.rst:2652 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" "Vous pouvez utiliser la méthode :func:`bytes.maketrans` pour créer une table " "de correspondance." -#: ../Doc/library/stdtypes.rst:2653 +#: ../Doc/library/stdtypes.rst:2655 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" "Donnez ``None`` comme *table* pour seulement supprimer des caractères : ::" -#: ../Doc/library/stdtypes.rst:2659 +#: ../Doc/library/stdtypes.rst:2661 msgid "*delete* is now supported as a keyword argument." msgstr "*delete* est maintenant accepté comme argument nommé" -#: ../Doc/library/stdtypes.rst:2663 +#: ../Doc/library/stdtypes.rst:2665 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -4515,7 +4517,7 @@ msgstr "" "appropriés. Notez que toutes les méthodes de *bytearray* de cette section " "ne travaillent jamais sur l'objet lui même, mais renvoient un nouvel objet." -#: ../Doc/library/stdtypes.rst:2672 +#: ../Doc/library/stdtypes.rst:2674 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4527,7 +4529,7 @@ msgstr "" "espace ASCII). Pour les objets :class:`bytes`, la séquence initiale est " "renvoyée si *width* est inférieur ou égal à ``len(s)``." -#: ../Doc/library/stdtypes.rst:2686 +#: ../Doc/library/stdtypes.rst:2688 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4539,7 +4541,7 @@ msgstr "" "espace ASCII). Pour les objets :class:`bytes`, la séquence initiale est " "renvoyée si *width* est inférieure ou égale à ``len(s)``." -#: ../Doc/library/stdtypes.rst:2700 +#: ../Doc/library/stdtypes.rst:2702 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4556,15 +4558,15 @@ msgstr "" "*chars* n’est pas un préfixe, toutes les combinaisons de ses valeurs sont " "supprimées ::" -#: ../Doc/library/stdtypes.rst:2712 ../Doc/library/stdtypes.rst:2761 -#: ../Doc/library/stdtypes.rst:2831 +#: ../Doc/library/stdtypes.rst:2714 ../Doc/library/stdtypes.rst:2763 +#: ../Doc/library/stdtypes.rst:2833 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" "La séquence de valeurs à supprimer peut être tout :term:`bytes-like object`." -#: ../Doc/library/stdtypes.rst:2724 +#: ../Doc/library/stdtypes.rst:2726 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4576,7 +4578,7 @@ msgstr "" "défaut est un espace ASCII). Pour les objets :class:`bytes`, la séquence " "d'origine est renvoyée si *width* est inférieure ou égale à ``len(s)``." -#: ../Doc/library/stdtypes.rst:2738 +#: ../Doc/library/stdtypes.rst:2740 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -4593,7 +4595,7 @@ msgstr "" "meth:`rsplit` se comporte comme :meth:`split` qui est décrit en détail ci-" "dessous." -#: ../Doc/library/stdtypes.rst:2749 +#: ../Doc/library/stdtypes.rst:2751 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4608,7 +4610,7 @@ msgstr "" "supprimés. L'argument *chars* n'est pas un suffixe : toutes les combinaisons " "de ses valeurs sont retirées : ::" -#: ../Doc/library/stdtypes.rst:2773 +#: ../Doc/library/stdtypes.rst:2775 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -4622,7 +4624,7 @@ msgstr "" "éléments), Si *maxsplit* n'est pas spécifié ou faut ``-1``, il n'y a aucune " "limite au nombre de découpes (elles sont toutes effectuées)." -#: ../Doc/library/stdtypes.rst:2779 +#: ../Doc/library/stdtypes.rst:2781 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -4640,7 +4642,7 @@ msgstr "" "``[b'']`` ou ``[bytearray(b'')]`` en fonction du type de l'objet découpé. " "L'argument *sep* peut être n'importe quel :term:`bytes-like object`." -#: ../Doc/library/stdtypes.rst:2797 +#: ../Doc/library/stdtypes.rst:2799 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -4656,7 +4658,7 @@ msgstr "" "diviser une séquence vide ou une séquence composée d'espaces ASCII avec un " "séparateur ``None`` renvoie ``[]``." -#: ../Doc/library/stdtypes.rst:2818 +#: ../Doc/library/stdtypes.rst:2820 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -4672,7 +4674,7 @@ msgstr "" "espaces ASCII sont supprimés. L'argument *chars* n'est ni un préfixe ni un " "suffixe, toutes les combinaisons de ses valeurs sont supprimées : ::" -#: ../Doc/library/stdtypes.rst:2840 +#: ../Doc/library/stdtypes.rst:2842 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -4685,7 +4687,7 @@ msgstr "" "que toutes les méthodes de *bytearray* de cette section *ne modifient pas* " "les octets, ils produisent de nouveaux objets." -#: ../Doc/library/stdtypes.rst:2848 +#: ../Doc/library/stdtypes.rst:2850 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " @@ -4695,7 +4697,7 @@ msgstr "" "caractère ASCII, le premier octet en capitale et le reste en minuscules. Les " "octets non-ASCII ne sont pas modifiés." -#: ../Doc/library/stdtypes.rst:2861 +#: ../Doc/library/stdtypes.rst:2863 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -4726,7 +4728,7 @@ msgstr "" "cours est incrémentée de un indépendamment de la façon dont l'octet est " "représenté lors de l’affichage : ::" -#: ../Doc/library/stdtypes.rst:2889 +#: ../Doc/library/stdtypes.rst:2891 msgid "" "Return true if all bytes in the sequence are alphabetical ASCII characters " "or ASCII decimal digits and the sequence is not empty, false otherwise. " @@ -4740,7 +4742,7 @@ msgstr "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'`` et les " "chiffres : ``b'0123456789'``." -#: ../Doc/library/stdtypes.rst:2906 +#: ../Doc/library/stdtypes.rst:2908 msgid "" "Return true if all bytes in the sequence are alphabetic ASCII characters and " "the sequence is not empty, false otherwise. Alphabetic ASCII characters are " @@ -4752,7 +4754,7 @@ msgstr "" "Les caractères ASCIIalphabétiques sont : " "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." -#: ../Doc/library/stdtypes.rst:2922 +#: ../Doc/library/stdtypes.rst:2924 msgid "" "Return true if all bytes in the sequence are ASCII decimal digits and the " "sequence is not empty, false otherwise. ASCII decimal digits are those byte " @@ -4762,7 +4764,7 @@ msgstr "" "que la séquence n'est pas vide, sinon ``False``. Les chiffres ASCII sont " "``b'0123456789'``." -#: ../Doc/library/stdtypes.rst:2937 +#: ../Doc/library/stdtypes.rst:2939 msgid "" "Return true if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, false otherwise." @@ -4770,9 +4772,9 @@ msgstr "" "Donne ``True`` s'il y a au moins un caractère ASCII minuscule dans la " "séquence et aucune capitale, sinon ``False``." -#: ../Doc/library/stdtypes.rst:2947 ../Doc/library/stdtypes.rst:2989 -#: ../Doc/library/stdtypes.rst:3005 ../Doc/library/stdtypes.rst:3055 -#: ../Doc/library/stdtypes.rst:3124 +#: ../Doc/library/stdtypes.rst:2949 ../Doc/library/stdtypes.rst:2991 +#: ../Doc/library/stdtypes.rst:3007 ../Doc/library/stdtypes.rst:3057 +#: ../Doc/library/stdtypes.rst:3126 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4781,7 +4783,7 @@ msgstr "" "Lea caractères ASCII minuscules sont ``b'abcdefghijklmnopqrstuvwxyz'``. Les " "capitales ASCII sont ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." -#: ../Doc/library/stdtypes.rst:2955 +#: ../Doc/library/stdtypes.rst:2957 msgid "" "Return true if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, false otherwise. ASCII whitespace characters are " @@ -4793,7 +4795,7 @@ msgstr "" "\\t\\n\\r\\x0b\\f'`` (espace, tabulation,saut de ligne, retour chariot, " "tabulation verticale, *form feed*)." -#: ../Doc/library/stdtypes.rst:2964 +#: ../Doc/library/stdtypes.rst:2966 msgid "" "Return true if the sequence is ASCII titlecase and the sequence is not " "empty, false otherwise. See :meth:`bytes.title` for more details on the " @@ -4803,7 +4805,7 @@ msgstr "" "vide, sinon ``False``. Voir :meth:`bytes.title` pour plus de détails sur " "ladéfinition de *titlecase*." -#: ../Doc/library/stdtypes.rst:2979 +#: ../Doc/library/stdtypes.rst:2981 msgid "" "Return true if there is at least one uppercase alphabetic ASCII character in " "the sequence and no lowercase ASCII characters, false otherwise." @@ -4811,7 +4813,7 @@ msgstr "" "Donne ``True`` s'il y a au moins un caractère alphabétique majuscule ASCII " "dans la séquence et aucun caractères ASCII minuscules, sinon ``False``." -#: ../Doc/library/stdtypes.rst:2997 +#: ../Doc/library/stdtypes.rst:2999 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." @@ -4819,7 +4821,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII en " "majuscules sont convertis en leur équivalent en minuscules." -#: ../Doc/library/stdtypes.rst:3022 +#: ../Doc/library/stdtypes.rst:3024 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -4831,7 +4833,7 @@ msgstr "" "newlines` pour découper les lignes. Les fins de ligne ne sont pas inclus " "dans la liste des résultats, sauf si *keepends* est donné et vrai." -#: ../Doc/library/stdtypes.rst:3034 +#: ../Doc/library/stdtypes.rst:3036 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -4841,7 +4843,7 @@ msgstr "" "cette méthode renvoie une liste vide pour la chaîne vide, et un saut de " "ligne à la fin ne se traduit pas par une ligne supplémentaire : ::" -#: ../Doc/library/stdtypes.rst:3047 +#: ../Doc/library/stdtypes.rst:3049 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." @@ -4849,7 +4851,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII minuscules " "sont convertis en majuscules et vice-versa." -#: ../Doc/library/stdtypes.rst:3059 +#: ../Doc/library/stdtypes.rst:3061 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4860,7 +4862,7 @@ msgstr "" "bin`` est toujours vrai. Les conversions majuscule/minuscule en ASCII étant " "toujours symétrique, ce qui n'est pas toujours vrai avec Unicode." -#: ../Doc/library/stdtypes.rst:3073 +#: ../Doc/library/stdtypes.rst:3075 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " @@ -4870,7 +4872,7 @@ msgstr "" "commencent par un caractère ASCII majuscule et les caractères restants sont " "en minuscules. Les octets non capitalisables ne sont pas modifiés." -#: ../Doc/library/stdtypes.rst:3082 +#: ../Doc/library/stdtypes.rst:3084 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4881,7 +4883,7 @@ msgstr "" "caractères ASCII majuscules sont ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. Aucun " "autre octet n'est capitalisable." -#: ../Doc/library/stdtypes.rst:3116 +#: ../Doc/library/stdtypes.rst:3118 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." @@ -4889,7 +4891,7 @@ msgstr "" "Renvoie une copie de la séquence dont tous les caractères ASCII minuscules " "sont convertis en leur équivalent majuscule." -#: ../Doc/library/stdtypes.rst:3137 +#: ../Doc/library/stdtypes.rst:3139 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'`` is " @@ -4904,11 +4906,11 @@ msgstr "" "séquence d'origine est renvoyée si *width* est inférieur ou égale à " "``len(seq)``." -#: ../Doc/library/stdtypes.rst:3159 +#: ../Doc/library/stdtypes.rst:3161 msgid "``printf``-style Bytes Formatting" msgstr "Formatage de *bytes* a la ``printf``" -#: ../Doc/library/stdtypes.rst:3177 +#: ../Doc/library/stdtypes.rst:3179 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -4921,7 +4923,7 @@ msgstr "" "correctement). Si la valeur à afficher peut être un tuple ou un " "dictionnaire, mettez le a l'intérieur d'un autre tuple." -#: ../Doc/library/stdtypes.rst:3182 +#: ../Doc/library/stdtypes.rst:3184 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4937,7 +4939,7 @@ msgstr "" "plus de *values*. L'effet est similaire à la fonction :c:func:`sprintf` du " "langage C." -#: ../Doc/library/stdtypes.rst:3189 +#: ../Doc/library/stdtypes.rst:3191 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -4949,7 +4951,7 @@ msgstr "" "d'éléments spécifiés dans le format en *bytes*, ou un seul objet de " "correspondances ( *mapping object*, par exemple, un dictionnaire)." -#: ../Doc/library/stdtypes.rst:3218 +#: ../Doc/library/stdtypes.rst:3220 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -4962,15 +4964,15 @@ msgstr "" "caractère ``'%'``. La clé indique quelle valeur du dictionnaire doit être " "formatée. Par exemple :" -#: ../Doc/library/stdtypes.rst:3286 +#: ../Doc/library/stdtypes.rst:3288 msgid "Single byte (accepts integer or single byte objects)." msgstr "Octet simple (Accepte un nombre entier ou un seul objet *byte*)." -#: ../Doc/library/stdtypes.rst:3289 +#: ../Doc/library/stdtypes.rst:3291 msgid "``'b'``" msgstr "``'b'``" -#: ../Doc/library/stdtypes.rst:3289 +#: ../Doc/library/stdtypes.rst:3291 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`__bytes__`)." @@ -4978,7 +4980,7 @@ msgstr "" "*Bytes* (tout objet respectant le :ref:`buffer protocol ` ou " "ayant la méthode :meth:`__bytes__`)." -#: ../Doc/library/stdtypes.rst:3293 +#: ../Doc/library/stdtypes.rst:3295 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." @@ -4986,7 +4988,7 @@ msgstr "" "``'s'`` est un alias de ``'b'`` et ne devrait être utilisé que pour du code " "Python2/3." -#: ../Doc/library/stdtypes.rst:3296 +#: ../Doc/library/stdtypes.rst:3298 msgid "" "Bytes (converts any Python object using ``repr(obj)." "encode('ascii','backslashreplace)``)." @@ -4994,7 +4996,7 @@ msgstr "" "*Bytes* (convertis n'importe quel objet Python en utilisant ``repr(obj)." "encode('ascii', 'backslashreplace)``)." -#: ../Doc/library/stdtypes.rst:3299 +#: ../Doc/library/stdtypes.rst:3301 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." @@ -5002,27 +5004,27 @@ msgstr "" "``'r'`` est un alias de ``'a'`` et ne devrait être utilise que dans du code " "Python2/3." -#: ../Doc/library/stdtypes.rst:3299 +#: ../Doc/library/stdtypes.rst:3301 msgid "\\(7)" msgstr "\\(7)" -#: ../Doc/library/stdtypes.rst:3334 +#: ../Doc/library/stdtypes.rst:3336 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%s'`` est déprécié, mais ne sera pas retiré des version 3.x." -#: ../Doc/library/stdtypes.rst:3337 +#: ../Doc/library/stdtypes.rst:3339 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%r'`` est déprécié mais ne sera pas retiré dans Python 3.x." -#: ../Doc/library/stdtypes.rst:3347 +#: ../Doc/library/stdtypes.rst:3349 msgid ":pep:`461`." msgstr ":pep:`461`." -#: ../Doc/library/stdtypes.rst:3353 +#: ../Doc/library/stdtypes.rst:3355 msgid "Memory Views" msgstr "Memory Views" -#: ../Doc/library/stdtypes.rst:3355 +#: ../Doc/library/stdtypes.rst:3357 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " @@ -5032,7 +5034,7 @@ msgstr "" "données internes d'un objet pendant en charge le :ref:`buffer protocol " "`." -#: ../Doc/library/stdtypes.rst:3361 +#: ../Doc/library/stdtypes.rst:3363 msgid "" "Create a :class:`memoryview` that references *obj*. *obj* must support the " "buffer protocol. Built-in objects that support the buffer protocol include :" @@ -5042,7 +5044,7 @@ msgstr "" "le *buffer protocol*. Les objets natifs pendant en charge le *buffer " "protocol* sont :class:`bytes` et :class:`bytearray`." -#: ../Doc/library/stdtypes.rst:3365 +#: ../Doc/library/stdtypes.rst:3367 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating object *obj*. For many simple types " @@ -5055,7 +5057,7 @@ msgstr "" "d'autres types tels que :class:`array.array` les éléments peuvent être plus " "grands." -#: ../Doc/library/stdtypes.rst:3371 +#: ../Doc/library/stdtypes.rst:3373 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`. If " "``view.ndim = 0``, the length is 1. If ``view.ndim = 1``, the length is " @@ -5071,7 +5073,7 @@ msgstr "" "L'attribut :class:`~memoryview.itemsize` vous donnera la taille en octets " "d'un élément." -#: ../Doc/library/stdtypes.rst:3378 +#: ../Doc/library/stdtypes.rst:3380 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" @@ -5079,7 +5081,7 @@ msgstr "" "Une :class:`memoryview` autorise le découpage et l'indicage de ses données. " "Découper sur une dimension donnera une sous-vue::" -#: ../Doc/library/stdtypes.rst:3391 +#: ../Doc/library/stdtypes.rst:3393 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -5098,11 +5100,11 @@ msgstr "" "dimensions. Les *memoryviews* à zéro dimension peuvent être indexées avec " "un *tuple* vide." -#: ../Doc/library/stdtypes.rst:3400 +#: ../Doc/library/stdtypes.rst:3402 msgid "Here is an example with a non-byte format::" msgstr "Voici un exemple avec un autre format que *byte*::" -#: ../Doc/library/stdtypes.rst:3412 +#: ../Doc/library/stdtypes.rst:3414 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" @@ -5111,7 +5113,7 @@ msgstr "" "autorisera les assignations de tranches à une dimension. Redimensionner " "n'est cependant pas autorisé::" -#: ../Doc/library/stdtypes.rst:3433 +#: ../Doc/library/stdtypes.rst:3435 msgid "" "One-dimensional memoryviews of hashable (read-only) types with formats 'B', " "'b' or 'c' are also hashable. The hash is defined as ``hash(m) == hash(m." @@ -5121,7 +5123,7 @@ msgstr "" "les formats 'B', 'b', ou 'c' sont aussi hachables. La fonction de hachage " "est définie tel que ``hash(m) == hash(m.tobytes())``::" -#: ../Doc/library/stdtypes.rst:3445 +#: ../Doc/library/stdtypes.rst:3447 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now hashable." @@ -5130,7 +5132,7 @@ msgstr "" "*memoryviews* à une dimension avec les formats 'B', 'b', ou 'c' sont " "mainteannt hachables." -#: ../Doc/library/stdtypes.rst:3449 +#: ../Doc/library/stdtypes.rst:3451 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" @@ -5138,16 +5140,16 @@ msgstr "" "*memoryview* est maintenant enregistrée automatiquement avec :class:" "`collections.abc.Sequence`" -#: ../Doc/library/stdtypes.rst:3453 +#: ../Doc/library/stdtypes.rst:3455 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" "Les *memoryviews* peut maintenant être indexées par un tuple d'entiers." -#: ../Doc/library/stdtypes.rst:3456 +#: ../Doc/library/stdtypes.rst:3458 msgid ":class:`memoryview` has several methods:" msgstr "La :class:`memoryview` dispose de plusieurs méthodes :" -#: ../Doc/library/stdtypes.rst:3460 +#: ../Doc/library/stdtypes.rst:3462 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " @@ -5158,7 +5160,7 @@ msgstr "" "égales, le format respectifs des opérandes étant interprétés en utilisant la " "syntaxe de :mod:`struct`." -#: ../Doc/library/stdtypes.rst:3464 +#: ../Doc/library/stdtypes.rst:3466 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" @@ -5166,7 +5168,7 @@ msgstr "" "Pour le sous-ensemble des formats de :mod:`struct` supportés par :meth:" "`tolist`, ``v`` et ``w`` sont égaux si ``v.tolist() ==w.tolist()`` ::" -#: ../Doc/library/stdtypes.rst:3483 +#: ../Doc/library/stdtypes.rst:3485 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " @@ -5176,7 +5178,7 @@ msgstr "" "objets seront toujours considérés différents (même si les formats et les " "valeurs contenues sont identiques) : ::" -#: ../Doc/library/stdtypes.rst:3499 +#: ../Doc/library/stdtypes.rst:3501 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." @@ -5184,7 +5186,7 @@ msgstr "" "Notez que pour les *memoryview*, comme pour les nombres à virgule flottante, " "``v is w`` *n'implique pas* ``v == w``." -#: ../Doc/library/stdtypes.rst:3502 +#: ../Doc/library/stdtypes.rst:3504 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." @@ -5192,7 +5194,7 @@ msgstr "" "Les versions précédentes comparaient la mémoire brute sans tenir compte du " "format de l'objet ni de sa structure logique." -#: ../Doc/library/stdtypes.rst:3508 +#: ../Doc/library/stdtypes.rst:3510 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" @@ -5200,7 +5202,7 @@ msgstr "" "Renvoie les données du *buffer* sous forme de *bytes*. Cela équivaut à " "appeler le constructeur :class:`bytes` sur le memoryview. ::" -#: ../Doc/library/stdtypes.rst:3517 +#: ../Doc/library/stdtypes.rst:3519 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -5212,7 +5214,7 @@ msgstr "" "`tobytes` supporte toutes les chaînes de format, y compris celles qui ne " "sont pas connues du module :mod:`struct`." -#: ../Doc/library/stdtypes.rst:3524 +#: ../Doc/library/stdtypes.rst:3526 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" @@ -5220,12 +5222,12 @@ msgstr "" "Renvoie une chaîne contenant deux chiffres hexadécimaux pour chaque octet du " "buffer. ::" -#: ../Doc/library/stdtypes.rst:3535 +#: ../Doc/library/stdtypes.rst:3537 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" "Renvoie les données du buffer suus la forme d'une liste d'éléments. ::::" -#: ../Doc/library/stdtypes.rst:3545 +#: ../Doc/library/stdtypes.rst:3547 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." @@ -5233,7 +5235,7 @@ msgstr "" ":meth:`tolist` prend désormais en charge tous les formats d'un caractère du " "module :mod:`struct` ainsi que des représentationsmultidimensionnelles." -#: ../Doc/library/stdtypes.rst:3552 +#: ../Doc/library/stdtypes.rst:3554 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -5248,7 +5250,7 @@ msgstr "" "lever ces restrictions (et en libérer les resources liées) aussi tôt que " "possible." -#: ../Doc/library/stdtypes.rst:3558 +#: ../Doc/library/stdtypes.rst:3560 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release()` itself which can be called " @@ -5258,7 +5260,7 @@ msgstr "" "*view* léve une :class:`ValueError` (sauf :meth:`release()` elle-même qui " "peut être appelée plusieurs fois) : ::" -#: ../Doc/library/stdtypes.rst:3569 +#: ../Doc/library/stdtypes.rst:3571 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" @@ -5266,7 +5268,7 @@ msgstr "" "Le protocole de gestion de contexte peut être utilisé pour obtenir un effet " "similaire, via l'instruction ``with`` : ::" -#: ../Doc/library/stdtypes.rst:3585 +#: ../Doc/library/stdtypes.rst:3587 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -5280,7 +5282,7 @@ msgstr "" "mais buffer lui-même est pas copié. Les changements supportés sont 1D -> C-:" "term:`contiguous` et *C-contiguous* -> 1D." -#: ../Doc/library/stdtypes.rst:3591 +#: ../Doc/library/stdtypes.rst:3593 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " @@ -5291,37 +5293,37 @@ msgstr "" "'c'). La longueur du résultat en octets doit être la même que la longueur " "initiale." -#: ../Doc/library/stdtypes.rst:3596 +#: ../Doc/library/stdtypes.rst:3598 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "Transforme *1D/long* en *1D/unsigned bytes* : ::" -#: ../Doc/library/stdtypes.rst:3619 +#: ../Doc/library/stdtypes.rst:3621 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "Transforme *1D/unsigned bytes* en *1D/char* : ::" -#: ../Doc/library/stdtypes.rst:3632 +#: ../Doc/library/stdtypes.rst:3634 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "Transforme *1D/bytes* en *3D/ints* en *1D/signed char* : ::" -#: ../Doc/library/stdtypes.rst:3658 +#: ../Doc/library/stdtypes.rst:3660 msgid "Cast 1D/unsigned char to 2D/unsigned long::" msgstr "Transforme *1D/unsigned char* en *2D/unsigned long* : ::" -#: ../Doc/library/stdtypes.rst:3672 +#: ../Doc/library/stdtypes.rst:3674 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" "Le format de la source n'est plus restreint lors de la transformation vers " "une vue d'octets." -#: ../Doc/library/stdtypes.rst:3675 +#: ../Doc/library/stdtypes.rst:3677 msgid "There are also several readonly attributes available:" msgstr "Plusieurs attributs en lecture seule sont également disponibles :" -#: ../Doc/library/stdtypes.rst:3679 +#: ../Doc/library/stdtypes.rst:3681 msgid "The underlying object of the memoryview::" msgstr "L'objet sous-jacent de la *memoryview* : ::" -#: ../Doc/library/stdtypes.rst:3690 +#: ../Doc/library/stdtypes.rst:3692 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " @@ -5331,15 +5333,15 @@ msgstr "" "l'espace que l'array utiliserait en octets, dans unereprésentation contiguë. " "Ce n'est pas nécessairement égale à ``len(m)`` : ::" -#: ../Doc/library/stdtypes.rst:3709 +#: ../Doc/library/stdtypes.rst:3711 msgid "Multi-dimensional arrays::" msgstr "Tableaux multidimensionnels : ::" -#: ../Doc/library/stdtypes.rst:3726 +#: ../Doc/library/stdtypes.rst:3728 msgid "A bool indicating whether the memory is read only." msgstr "Un booléen indiquant si la mémoire est en lecture seule." -#: ../Doc/library/stdtypes.rst:3730 +#: ../Doc/library/stdtypes.rst:3732 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -5351,7 +5353,7 @@ msgstr "" "de formats arbitraires, mais certaines méthodes (comme :meth:`tolist`) sont " "limitées aux formats natifs à un seul élément." -#: ../Doc/library/stdtypes.rst:3735 +#: ../Doc/library/stdtypes.rst:3737 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." @@ -5359,11 +5361,11 @@ msgstr "" "Le format ``'B'`` est maintenant traité selon la syntaxe du module *struct*. " "Cela signifie que ``memoryview(b'abc')[0] == b'abc'[0] == 97``." -#: ../Doc/library/stdtypes.rst:3741 +#: ../Doc/library/stdtypes.rst:3743 msgid "The size in bytes of each element of the memoryview::" msgstr "La taille en octets de chaque élément d'une *memoryview*::" -#: ../Doc/library/stdtypes.rst:3754 +#: ../Doc/library/stdtypes.rst:3756 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." @@ -5371,7 +5373,7 @@ msgstr "" "Un nombre entier indiquant le nombre de dimensions d'un tableau multi-" "dimensionnel représenté par la *memoryview*." -#: ../Doc/library/stdtypes.rst:3759 +#: ../Doc/library/stdtypes.rst:3761 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." @@ -5379,11 +5381,11 @@ msgstr "" "Un *tuple* d'entiers de longueur :attr:`ndim` donnant la forme de la " "*memoryview* sous forme d'un tableau à N dimensions." -#: ../Doc/library/stdtypes.rst:3762 ../Doc/library/stdtypes.rst:3770 +#: ../Doc/library/stdtypes.rst:3764 ../Doc/library/stdtypes.rst:3772 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "Un *tuple* vide au lieu de ``None`` lorsque *ndim = 0*." -#: ../Doc/library/stdtypes.rst:3767 +#: ../Doc/library/stdtypes.rst:3769 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." @@ -5391,29 +5393,29 @@ msgstr "" "Un *tuple* d'entiers de longueur :attr:`ndim` donnant la taille en octets " "permettant d'accéder à chaque dimensions du tableau." -#: ../Doc/library/stdtypes.rst:3775 +#: ../Doc/library/stdtypes.rst:3777 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" "Détail de l'implémentation des *PIL-style arrays*. La valeur n'est donné " "qu'a titre d'information." -#: ../Doc/library/stdtypes.rst:3779 +#: ../Doc/library/stdtypes.rst:3781 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est C-:term:`contiguous`." -#: ../Doc/library/stdtypes.rst:3785 +#: ../Doc/library/stdtypes.rst:3787 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est Fortran :term:`contiguous`." -#: ../Doc/library/stdtypes.rst:3791 +#: ../Doc/library/stdtypes.rst:3793 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Un booléen indiquant si la mémoire est :term:`contiguous`." -#: ../Doc/library/stdtypes.rst:3799 +#: ../Doc/library/stdtypes.rst:3801 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Types d'ensembles --- :class:`set`, :class:`frozenset`" -#: ../Doc/library/stdtypes.rst:3803 +#: ../Doc/library/stdtypes.rst:3805 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5429,7 +5431,7 @@ msgstr "" "(Pour les autres conteneurs, voir les classes natives :class:`dict`, :class:" "`list`, et :class:`tuple`, ainsi que le module :mod:`collections`.)" -#: ../Doc/library/stdtypes.rst:3810 +#: ../Doc/library/stdtypes.rst:3812 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -5442,7 +5444,7 @@ msgstr "" "d'insertion. En conséquence, les *sets* n'autorisent ni l'indexation, ni le " "découpage, ou tout autre comportement de séquence." -#: ../Doc/library/stdtypes.rst:3815 +#: ../Doc/library/stdtypes.rst:3817 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5462,7 +5464,7 @@ msgstr "" "--- son contenu ne peut être modifié après sa création, il peut ainsi être " "utilisé comme clef de dictionnaire ou élément d'un autre *set*." -#: ../Doc/library/stdtypes.rst:3823 +#: ../Doc/library/stdtypes.rst:3825 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5472,11 +5474,11 @@ msgstr "" "d'éléments séparés par des virgules et entre accolades, par exemple : " "``{'jack', 'sjoerd'}``, en plus du constructeur de la classe :class:`set`." -#: ../Doc/library/stdtypes.rst:3827 +#: ../Doc/library/stdtypes.rst:3829 msgid "The constructors for both classes work the same:" msgstr "Les constructeurs des deux classes fonctionnent pareil :" -#: ../Doc/library/stdtypes.rst:3832 +#: ../Doc/library/stdtypes.rst:3834 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -5489,7 +5491,7 @@ msgstr "" "class:`frozenset`. Si *iterable* n'est pas spécifié, un nouveau *set* vide " "est renvoyé." -#: ../Doc/library/stdtypes.rst:3838 +#: ../Doc/library/stdtypes.rst:3840 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" @@ -5497,19 +5499,19 @@ msgstr "" "Les instances de :class:`set` et :class:`frozenset` fournissent les " "opérations suivantes :" -#: ../Doc/library/stdtypes.rst:3843 +#: ../Doc/library/stdtypes.rst:3845 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "Donne le nombre d'éléments dans le *set* *s* (cardinalité de *s*)." -#: ../Doc/library/stdtypes.rst:3847 +#: ../Doc/library/stdtypes.rst:3849 msgid "Test *x* for membership in *s*." msgstr "Test d'appartenance de *x* dans *s*." -#: ../Doc/library/stdtypes.rst:3851 +#: ../Doc/library/stdtypes.rst:3853 msgid "Test *x* for non-membership in *s*." msgstr "Test de non-appartenance de *x* dans *s*." -#: ../Doc/library/stdtypes.rst:3855 +#: ../Doc/library/stdtypes.rst:3857 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -5518,11 +5520,11 @@ msgstr "" "Les ensembles sont disjoints si et seulement si leurs intersection est un " "ensemble vide." -#: ../Doc/library/stdtypes.rst:3861 +#: ../Doc/library/stdtypes.rst:3863 msgid "Test whether every element in the set is in *other*." msgstr "Teste si tous les éléments du set sont dans *other*." -#: ../Doc/library/stdtypes.rst:3865 +#: ../Doc/library/stdtypes.rst:3867 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5530,11 +5532,11 @@ msgstr "" "Teste si l'ensemble est un sous-ensemble de *other*, c'est-à-dire, ``set <= " "other and set != other``." -#: ../Doc/library/stdtypes.rst:3871 +#: ../Doc/library/stdtypes.rst:3873 msgid "Test whether every element in *other* is in the set." msgstr "Teste si tous les éléments de *other* sont dans l'ensemble." -#: ../Doc/library/stdtypes.rst:3875 +#: ../Doc/library/stdtypes.rst:3877 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5542,36 +5544,36 @@ msgstr "" "Teste si l'ensemble est un sur-ensemble de *other*, c'est-à-dire, ``set >= " "other and set != other``." -#: ../Doc/library/stdtypes.rst:3881 +#: ../Doc/library/stdtypes.rst:3883 msgid "Return a new set with elements from the set and all others." msgstr "" "Renvoie un nouvel ensemble dont les éléments viennent de l'ensemble et de " "tous les autres." -#: ../Doc/library/stdtypes.rst:3886 +#: ../Doc/library/stdtypes.rst:3888 msgid "Return a new set with elements common to the set and all others." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont commun à l'ensemble et à " "tous les autres." -#: ../Doc/library/stdtypes.rst:3891 +#: ../Doc/library/stdtypes.rst:3893 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont dans l'ensemble mais ne " "sont dans aucun des autres." -#: ../Doc/library/stdtypes.rst:3896 +#: ../Doc/library/stdtypes.rst:3898 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Renvoie un nouvel ensemble dont les éléments sont soit dans l'ensemble, soit " "dans les autres, mais pas dans les deux." -#: ../Doc/library/stdtypes.rst:3900 +#: ../Doc/library/stdtypes.rst:3902 msgid "Return a new set with a shallow copy of *s*." msgstr "Renvoie un nouvel ensemble, copie de surface de *s*." -#: ../Doc/library/stdtypes.rst:3903 +#: ../Doc/library/stdtypes.rst:3905 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and :" @@ -5588,7 +5590,7 @@ msgstr "" "typiques d'erreurs, en faveur d'une construction plus lisible : ``set('abc')." "intersection('cbs')``." -#: ../Doc/library/stdtypes.rst:3910 +#: ../Doc/library/stdtypes.rst:3912 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -5606,7 +5608,7 @@ msgstr "" "autre ensemble si et seulement si le premier est un sur-ensemble du second " "(est un sur-ensemble mais n'est pas égal)." -#: ../Doc/library/stdtypes.rst:3917 +#: ../Doc/library/stdtypes.rst:3919 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5617,7 +5619,7 @@ msgstr "" "frozenset('abc')`` envoie ``True``, ainsi que ``set('abc') in " "set([frozenset('abc')])``." -#: ../Doc/library/stdtypes.rst:3921 +#: ../Doc/library/stdtypes.rst:3923 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -5629,7 +5631,7 @@ msgstr "" "vides ne sont ni égaux et ni des sous-ensembles l'un de l'autre, donc toutes " "ces comparaisons donnent ``False`` : ``ab``." -#: ../Doc/library/stdtypes.rst:3926 +#: ../Doc/library/stdtypes.rst:3928 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5638,13 +5640,13 @@ msgstr "" "de sous-ensembles), la sortie de la méthode :meth:`list.sort` n'est pas " "définie pour des listes d'ensembles." -#: ../Doc/library/stdtypes.rst:3929 +#: ../Doc/library/stdtypes.rst:3931 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "" "Les éléments des *sets*, comme les clefs de dictionnaires, doivent être :" "term:`hashable`." -#: ../Doc/library/stdtypes.rst:3931 +#: ../Doc/library/stdtypes.rst:3933 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5654,7 +5656,7 @@ msgstr "" "`frozenset` renvoient le type de la première opérande. Par exemple : " "``frozenset('ab') | set('bc')`` renvoie une instance de :class:`frozenset`." -#: ../Doc/library/stdtypes.rst:3935 +#: ../Doc/library/stdtypes.rst:3937 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5662,32 +5664,32 @@ msgstr "" "La table suivante liste les opérations disponibles pour les :class:`set` " "mais qui ne s'appliquent pas aux instances de :class:`frozenset` :" -#: ../Doc/library/stdtypes.rst:3941 +#: ../Doc/library/stdtypes.rst:3943 msgid "Update the set, adding elements from all others." msgstr "Met à jour l'ensemble, ajoutant les éléments de tous les autres." -#: ../Doc/library/stdtypes.rst:3946 +#: ../Doc/library/stdtypes.rst:3948 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Met à jour l'ensemble, ne gardant que les éléments trouvés dans tous les " "autres." -#: ../Doc/library/stdtypes.rst:3951 +#: ../Doc/library/stdtypes.rst:3953 msgid "Update the set, removing elements found in others." msgstr "Met à jour l'ensemble, retirant les éléments trouvés dans les autres." -#: ../Doc/library/stdtypes.rst:3956 +#: ../Doc/library/stdtypes.rst:3958 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Met à jour le set, ne gardant que les éléments trouvés dans un des ensembles " "mais pas dans les deux." -#: ../Doc/library/stdtypes.rst:3960 +#: ../Doc/library/stdtypes.rst:3962 msgid "Add element *elem* to the set." msgstr "Ajoute l'élément *elem* au set." -#: ../Doc/library/stdtypes.rst:3964 +#: ../Doc/library/stdtypes.rst:3966 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5695,11 +5697,11 @@ msgstr "" "Retire l'élément *elem* de l'ensemble. Lève une exception :exc:`KeyError` si " "*elem* n'est pas dans l'ensemble." -#: ../Doc/library/stdtypes.rst:3969 +#: ../Doc/library/stdtypes.rst:3971 msgid "Remove element *elem* from the set if it is present." msgstr "Retire l'élément *elem* de l'ensemble s'il y est." -#: ../Doc/library/stdtypes.rst:3973 +#: ../Doc/library/stdtypes.rst:3975 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5707,11 +5709,11 @@ msgstr "" "Retire et renvoie un élément arbitraire de l'ensemble. Lève une exception :" "exc:`KeyError` si l'ensemble est vide." -#: ../Doc/library/stdtypes.rst:3978 +#: ../Doc/library/stdtypes.rst:3980 msgid "Remove all elements from the set." msgstr "Supprime tous les éléments du *set*." -#: ../Doc/library/stdtypes.rst:3981 +#: ../Doc/library/stdtypes.rst:3983 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5723,7 +5725,7 @@ msgstr "" "`symmetric_difference_update` acceptent n'importe quel itérable comme " "argument." -#: ../Doc/library/stdtypes.rst:3986 +#: ../Doc/library/stdtypes.rst:3988 msgid "" "Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" "meth:`discard` methods may be a set. To support searching for an equivalent " @@ -5734,11 +5736,11 @@ msgstr "" "recherche d'un *frozenset* équivalent, un *frozenset* temporaire est crée " "depuis *elem*." -#: ../Doc/library/stdtypes.rst:3994 +#: ../Doc/library/stdtypes.rst:3996 msgid "Mapping Types --- :class:`dict`" msgstr "Les types de correspondances --- :class:`dict`" -#: ../Doc/library/stdtypes.rst:4004 +#: ../Doc/library/stdtypes.rst:4006 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5752,7 +5754,7 @@ msgstr "" "(Pour les autres conteneurs, voir les types natifs :class:`list`, :class:" "`set`, and :class:`tuple`, et le module :mod:`collections`.)" -#: ../Doc/library/stdtypes.rst:4010 +#: ../Doc/library/stdtypes.rst:4012 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -5775,7 +5777,7 @@ msgstr "" "d'approximations, il est généralement imprudent de les utiliser comme clefs " "de dictionnaires.)" -#: ../Doc/library/stdtypes.rst:4019 +#: ../Doc/library/stdtypes.rst:4021 msgid "" "Dictionaries can be created by placing a comma-separated list of ``key: " "value`` pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` " @@ -5786,7 +5788,7 @@ msgstr "" "``{'jack': 4098, 'sjoerd': 4127}`` ou ``{4098: 'jack', 4127: 'sjoerd'}``, ou " "en utilisant le constructeur de :class:`dict`." -#: ../Doc/library/stdtypes.rst:4027 +#: ../Doc/library/stdtypes.rst:4029 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5794,7 +5796,7 @@ msgstr "" "Renvoie un nouveau dictionnaire initialisé depuis un argument positionnel " "optionnel, et un ensemble (vide ou non) d'arguments par mot clef." -#: ../Doc/library/stdtypes.rst:4030 +#: ../Doc/library/stdtypes.rst:4032 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -5816,7 +5818,7 @@ msgstr "" "pour cette clef devient la valeur correspondante à cette clef dans le " "nouveau dictionnaire." -#: ../Doc/library/stdtypes.rst:4040 +#: ../Doc/library/stdtypes.rst:4042 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -5827,7 +5829,7 @@ msgstr "" "depuis l'argument positionnel. Si une clef est déjà présente, la valeur de " "l'argument nommé remplace la valeur reçue par l'argument positionnel." -#: ../Doc/library/stdtypes.rst:4045 +#: ../Doc/library/stdtypes.rst:4047 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" @@ -5835,7 +5837,7 @@ msgstr "" "Typiquement, les exemples suivants renvoient tous un dictionnaire valant " "``{\"one\": 1, \"two\": 2, \"three\": 3}`` : ::" -#: ../Doc/library/stdtypes.rst:4056 +#: ../Doc/library/stdtypes.rst:4058 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." @@ -5844,7 +5846,7 @@ msgstr "" "pour des clefs qui sont des identifiants valide en Python. Dans les autres " "cas, toutes les clefs valides sont utilisables." -#: ../Doc/library/stdtypes.rst:4060 +#: ../Doc/library/stdtypes.rst:4062 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" @@ -5852,11 +5854,11 @@ msgstr "" "Voici les opérations gérées par les dictionnaires, (par conséquent, d'autres " "types de *mapping* peuvent les gérer aussi) :" -#: ../Doc/library/stdtypes.rst:4065 +#: ../Doc/library/stdtypes.rst:4067 msgid "Return the number of items in the dictionary *d*." msgstr "Renvoie le nombre d'éléments dans le dictionnaire *d*." -#: ../Doc/library/stdtypes.rst:4069 +#: ../Doc/library/stdtypes.rst:4071 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." @@ -5864,7 +5866,7 @@ msgstr "" "Donne l'élément de *d* dont la clef est *key*. Lève une exception :exc:" "`KeyError` si *key* n'est pas dans le dictionnaire." -#: ../Doc/library/stdtypes.rst:4074 +#: ../Doc/library/stdtypes.rst:4076 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -5883,7 +5885,7 @@ msgstr "" "meth:`__missing__` doit être une méthode; ça ne peut être une variable " "d'instance." -#: ../Doc/library/stdtypes.rst:4092 +#: ../Doc/library/stdtypes.rst:4094 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." @@ -5893,11 +5895,11 @@ msgstr "" "`collections.Counter`. :class:`collections.defaultdict` implémente aussi " "``__missing__``." -#: ../Doc/library/stdtypes.rst:4098 +#: ../Doc/library/stdtypes.rst:4100 msgid "Set ``d[key]`` to *value*." msgstr "Assigne ``d[key]`` à *value*." -#: ../Doc/library/stdtypes.rst:4102 +#: ../Doc/library/stdtypes.rst:4104 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." @@ -5905,15 +5907,15 @@ msgstr "" "Supprime ``d[key]`` de *d*. Lève une exception :exc:`KeyError` si *key* " "n'est pas dans le dictionnaire." -#: ../Doc/library/stdtypes.rst:4107 +#: ../Doc/library/stdtypes.rst:4109 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "Renvoie ``True`` si *d* a la clef *key*, sinon ``False``." -#: ../Doc/library/stdtypes.rst:4111 +#: ../Doc/library/stdtypes.rst:4113 msgid "Equivalent to ``not key in d``." msgstr "Équivalent à ``not key in d``." -#: ../Doc/library/stdtypes.rst:4115 +#: ../Doc/library/stdtypes.rst:4117 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." @@ -5921,21 +5923,21 @@ msgstr "" "Renvoie un itérateur sur les clefs du dictionnaire. C'est un raccourci pour " "``iter(d.keys())``." -#: ../Doc/library/stdtypes.rst:4120 +#: ../Doc/library/stdtypes.rst:4122 msgid "Remove all items from the dictionary." msgstr "Supprime tous les éléments du dictionnaire." -#: ../Doc/library/stdtypes.rst:4124 +#: ../Doc/library/stdtypes.rst:4126 msgid "Return a shallow copy of the dictionary." msgstr "Renvoie une copie de surface du dictionnaire." -#: ../Doc/library/stdtypes.rst:4128 +#: ../Doc/library/stdtypes.rst:4130 msgid "Create a new dictionary with keys from *seq* and values set to *value*." msgstr "" "Crée un nouveau dictionnaire avec les clefs de *seq* et les valeurs à " "*value*." -#: ../Doc/library/stdtypes.rst:4130 +#: ../Doc/library/stdtypes.rst:4132 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``." @@ -5943,7 +5945,7 @@ msgstr "" ":meth:`fromkeys` est une *class method* qui renvoie un nouveau dictionnaire. " "*value* vaut ``None`` par défaut." -#: ../Doc/library/stdtypes.rst:4135 +#: ../Doc/library/stdtypes.rst:4137 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " @@ -5953,7 +5955,7 @@ msgstr "" "*default*. Si *default* n'est pas donné, il vaut ``None`` par défaut, de " "manière à ce que cette méthode ne lève jamais :exc:`KeyError`." -#: ../Doc/library/stdtypes.rst:4141 +#: ../Doc/library/stdtypes.rst:4143 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." @@ -5961,7 +5963,7 @@ msgstr "" "Renvoie une nouvelle vue des éléments du dictionnaire (paires de ``(key, " "value)``). Voir la :ref:`documentation des vues `." -#: ../Doc/library/stdtypes.rst:4146 +#: ../Doc/library/stdtypes.rst:4148 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." @@ -5969,7 +5971,7 @@ msgstr "" "Renvoie une nouvelle vue des clefs du dictionnaire. Voir la :ref:" "`documentation des vues `." -#: ../Doc/library/stdtypes.rst:4151 +#: ../Doc/library/stdtypes.rst:4153 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" @@ -5979,12 +5981,12 @@ msgstr "" "renvoyée, sinon renvoie *default*. Si *default* n'est pas donné et que " "*key* n'est pas dans le dictionnaire, une :exc:`KeyError` est levée." -#: ../Doc/library/stdtypes.rst:4157 +#: ../Doc/library/stdtypes.rst:4159 msgid "" "Remove and return an arbitrary ``(key, value)`` pair from the dictionary." msgstr "Supprime et renvoie une ``(key, value)`` arbitraire du dictionnaire." -#: ../Doc/library/stdtypes.rst:4159 +#: ../Doc/library/stdtypes.rst:4161 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" @@ -5994,7 +5996,7 @@ msgstr "" "destrictive, comme souvent dans les algorithmes sur les ensembles. Si le " "dictionnaire est vide, appeler :meth:`popitem` lève une :exc:`KeyError`." -#: ../Doc/library/stdtypes.rst:4165 +#: ../Doc/library/stdtypes.rst:4167 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." @@ -6003,7 +6005,7 @@ msgstr "" "*key* avec comme valeur *default* et renvoie *default*. *default* vaut " "``None`` par défaut." -#: ../Doc/library/stdtypes.rst:4171 +#: ../Doc/library/stdtypes.rst:4173 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." @@ -6011,7 +6013,7 @@ msgstr "" "Met à jour le dictionnaire avec les paires de clef/valeur d'*other*, " "écrasant les clefs existantes. Renvoie ``None``." -#: ../Doc/library/stdtypes.rst:4174 +#: ../Doc/library/stdtypes.rst:4176 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -6023,7 +6025,7 @@ msgstr "" "Si des paramètres par mot-clef sont donnés, le dictionnaire et ensuite mis à " "jour avec ces pairs de clef/valeurs : ``d.update(red=1, blue=2)``." -#: ../Doc/library/stdtypes.rst:4181 +#: ../Doc/library/stdtypes.rst:4183 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." @@ -6031,7 +6033,7 @@ msgstr "" "Renvoie une nouvelle vue des valeurs du dictionnaire. Voir la :ref:" "`documentation des vues `." -#: ../Doc/library/stdtypes.rst:4184 +#: ../Doc/library/stdtypes.rst:4186 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs. Order comparisons ('<', '<=', '>=', '>') raise :exc:" @@ -6041,7 +6043,7 @@ msgstr "" "clef-valeur. Les comparaisons d'ordre ('<', '<=', '>=', '>') lèvent une :" "exc:`TypeError`." -#: ../Doc/library/stdtypes.rst:4189 +#: ../Doc/library/stdtypes.rst:4191 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." @@ -6049,11 +6051,11 @@ msgstr "" ":class:`types.MappingProxyType` peut être utilisé pour créer une vue en " "lecture seule d'un :class:`dict`." -#: ../Doc/library/stdtypes.rst:4196 +#: ../Doc/library/stdtypes.rst:4198 msgid "Dictionary view objects" msgstr "Les vues de dictionnaires" -#: ../Doc/library/stdtypes.rst:4198 +#: ../Doc/library/stdtypes.rst:4200 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -6065,7 +6067,7 @@ msgstr "" "éléments du dictionnaire, ce qui signifie que si le dictionnaire change, la " "vue reflète ces changements." -#: ../Doc/library/stdtypes.rst:4203 +#: ../Doc/library/stdtypes.rst:4205 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" @@ -6073,11 +6075,11 @@ msgstr "" "Les vues de dictonnaires peuvent être itérées et ainsi renvoyer les données " "du dictionnaire, elle gèrent aussi les tests de présence :" -#: ../Doc/library/stdtypes.rst:4208 +#: ../Doc/library/stdtypes.rst:4210 msgid "Return the number of entries in the dictionary." msgstr "Renvoie le nombre d'entrées du dictionnaire." -#: ../Doc/library/stdtypes.rst:4212 +#: ../Doc/library/stdtypes.rst:4214 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." @@ -6085,7 +6087,7 @@ msgstr "" "Renvoie un itérateur sur les clefs, les valeurs, ou les éléments " "(représentés par des *tuples* de ``(key, value)`` du dictionnaire." -#: ../Doc/library/stdtypes.rst:4215 +#: ../Doc/library/stdtypes.rst:4217 msgid "" "Keys and values are iterated over in an arbitrary order which is non-random, " "varies across Python implementations, and depends on the dictionary's " @@ -6106,7 +6108,7 @@ msgstr "" "moyen de construire la même liste est ``pairs = [(v, k) for (k, v) in d." "items()]``." -#: ../Doc/library/stdtypes.rst:4223 +#: ../Doc/library/stdtypes.rst:4225 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." @@ -6115,7 +6117,7 @@ msgstr "" "dictionnaire peut lever une :exc:`RuntimeError` ou ne pas fournir toutes les " "entrées." -#: ../Doc/library/stdtypes.rst:4228 +#: ../Doc/library/stdtypes.rst:4230 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." @@ -6124,7 +6126,7 @@ msgstr "" "dictionnaire sous-jacent (dans le dernier cas, *x* doit être un *tuple* " "``(key, value)``)." -#: ../Doc/library/stdtypes.rst:4232 +#: ../Doc/library/stdtypes.rst:4234 msgid "" "Keys views are set-like since their entries are unique and hashable. If all " "values are hashable, so that ``(key, value)`` pairs are unique and hashable, " @@ -6143,15 +6145,15 @@ msgstr "" "abstraite :class:`collections.abc.Set` sont disponnibles (comme ``==``, " "``<``, ou ``^``)." -#: ../Doc/library/stdtypes.rst:4239 +#: ../Doc/library/stdtypes.rst:4241 msgid "An example of dictionary view usage::" msgstr "Exemple d'utilisation de vue de dictionnaire : ::" -#: ../Doc/library/stdtypes.rst:4274 +#: ../Doc/library/stdtypes.rst:4276 msgid "Context Manager Types" msgstr "Le type Gestionnaire de Contexte" -#: ../Doc/library/stdtypes.rst:4281 +#: ../Doc/library/stdtypes.rst:4283 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -6164,7 +6166,7 @@ msgstr "" "entré avant l'exécution du corps de l'instruction, et qui est quitté lorsque " "l'instruction se termine :" -#: ../Doc/library/stdtypes.rst:4289 +#: ../Doc/library/stdtypes.rst:4291 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -6176,7 +6178,7 @@ msgstr "" "cette méthode est liée à l'indentifiant donné au :keyword:`as` de " "l'instruction :keyword:`with` utilisant ce gestionnaire de contexte." -#: ../Doc/library/stdtypes.rst:4294 +#: ../Doc/library/stdtypes.rst:4296 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" @@ -6187,7 +6189,7 @@ msgstr "" "autorisent :func:`open` à être utilisé comme contexte à une instruction :" "keyword:`with`." -#: ../Doc/library/stdtypes.rst:4298 +#: ../Doc/library/stdtypes.rst:4300 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -6202,7 +6204,7 @@ msgstr "" "renvoyée. Ça permet de changer le contexte courant dans le corps du :keyword:" "`with` sans affecter le code en dehors de l'instruction :keyword:`with`." -#: ../Doc/library/stdtypes.rst:4308 +#: ../Doc/library/stdtypes.rst:4310 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -6216,7 +6218,7 @@ msgstr "" "l'exception, sa valeur, et la trace de la pile (*traceback*). Sinon les " "trois arguments valent ``None``." -#: ../Doc/library/stdtypes.rst:4313 +#: ../Doc/library/stdtypes.rst:4315 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -6232,7 +6234,7 @@ msgstr "" "pendant l'exécution de cette méthode remplaceront toute exception qui s'est " "produite dans le corps du :keyword:`with`." -#: ../Doc/library/stdtypes.rst:4320 +#: ../Doc/library/stdtypes.rst:4322 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -6246,7 +6248,7 @@ msgstr "" "Ceci permet au code de gestion du contexte de comprendre si une méthode :" "meth:`__exit__` a échoué." -#: ../Doc/library/stdtypes.rst:4326 +#: ../Doc/library/stdtypes.rst:4328 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -6261,7 +6263,7 @@ msgstr "" "gestion du contexte. Voir les examples dans la documentation du module :mod:" "`contextlib`." -#: ../Doc/library/stdtypes.rst:4332 +#: ../Doc/library/stdtypes.rst:4334 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -6277,7 +6279,7 @@ msgstr "" "`__enter__` et :meth:`__exit__`, plutôt que l'itérateur produit par un " "générateur non décoré." -#: ../Doc/library/stdtypes.rst:4339 +#: ../Doc/library/stdtypes.rst:4341 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -6291,11 +6293,11 @@ msgstr "" "Python. Comparé au coût de la mise en place du contexte d'exécution, les le " "coût d'un accès au dictionnaire d'une classe unique est négligeable." -#: ../Doc/library/stdtypes.rst:4349 +#: ../Doc/library/stdtypes.rst:4351 msgid "Other Built-in Types" msgstr "Autres types natifs" -#: ../Doc/library/stdtypes.rst:4351 +#: ../Doc/library/stdtypes.rst:4353 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6303,11 +6305,11 @@ msgstr "" "L'interpréteur gère aussi d'autres types d'objets, la pluspart ne supportant " "cependant qu'une ou deux opérations." -#: ../Doc/library/stdtypes.rst:4358 +#: ../Doc/library/stdtypes.rst:4360 msgid "Modules" msgstr "Modules" -#: ../Doc/library/stdtypes.rst:4360 +#: ../Doc/library/stdtypes.rst:4362 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -6325,7 +6327,7 @@ msgstr "" "objet module nommé *foo* existe, il nécessite cependant une *définition* " "(externe) d'un module nommé *foo* quelque part.)" -#: ../Doc/library/stdtypes.rst:4367 +#: ../Doc/library/stdtypes.rst:4369 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6343,7 +6345,7 @@ msgstr "" "vous ne pouvez pas écrire ``m.__dict__ = {}``). Modifier :attr:`~object." "__dict__` directement n'est pas recommandé." -#: ../Doc/library/stdtypes.rst:4375 +#: ../Doc/library/stdtypes.rst:4377 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. S'ils sont chargés depuis un fichier, ils sont représentés " "````." -#: ../Doc/library/stdtypes.rst:4383 +#: ../Doc/library/stdtypes.rst:4385 msgid "Classes and Class Instances" msgstr "Les Classes et Instances de Classes" -#: ../Doc/library/stdtypes.rst:4385 +#: ../Doc/library/stdtypes.rst:4387 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Voir :ref:`objects` et :ref:`class`." -#: ../Doc/library/stdtypes.rst:4391 +#: ../Doc/library/stdtypes.rst:4393 msgid "Functions" msgstr "Fonctions" -#: ../Doc/library/stdtypes.rst:4393 +#: ../Doc/library/stdtypes.rst:4395 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6374,7 +6376,7 @@ msgstr "" "opération applicable à un objet fonction est de l'appeler : ``func(argument-" "list)``." -#: ../Doc/library/stdtypes.rst:4396 +#: ../Doc/library/stdtypes.rst:4398 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6386,15 +6388,15 @@ msgstr "" "opérations (l'appel à la fonction), mais leur implémentation est différente, " "d'où les deux types distincts." -#: ../Doc/library/stdtypes.rst:4400 +#: ../Doc/library/stdtypes.rst:4402 msgid "See :ref:`function` for more information." msgstr "Voir :ref:`function` pour plus d'information." -#: ../Doc/library/stdtypes.rst:4406 +#: ../Doc/library/stdtypes.rst:4408 msgid "Methods" msgstr "Méthodes" -#: ../Doc/library/stdtypes.rst:4410 +#: ../Doc/library/stdtypes.rst:4412 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: built-in methods (such as :meth:`append` on lists) and " @@ -6406,7 +6408,7 @@ msgstr "" "listes), et les méthodes d'instances de classes. Les méthodes natives sont " "représentées avec le type qui les supporte." -#: ../Doc/library/stdtypes.rst:4415 +#: ../Doc/library/stdtypes.rst:4417 msgid "" "If you access a method (a function defined in a class namespace) through an " "instance, you get a special object: a :dfn:`bound method` (also called :dfn:" @@ -6427,7 +6429,7 @@ msgstr "" "n)`` est tout à fait équivalent à appeler ``m.__func__(m.__self__, arg-1, " "arg-2, …, arg-n)``." -#: ../Doc/library/stdtypes.rst:4424 +#: ../Doc/library/stdtypes.rst:4426 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6444,15 +6446,15 @@ msgstr "" "`AttributeError`. Pour affecter l'attribut, vous devrez explicitement " "l'affecter à sa fonction sous-jascente::" -#: ../Doc/library/stdtypes.rst:4444 ../Doc/library/stdtypes.rst:4472 +#: ../Doc/library/stdtypes.rst:4446 ../Doc/library/stdtypes.rst:4474 msgid "See :ref:`types` for more information." msgstr "Voir :ref:`types` pour plus d'information." -#: ../Doc/library/stdtypes.rst:4452 +#: ../Doc/library/stdtypes.rst:4454 msgid "Code Objects" msgstr "Objets Code" -#: ../Doc/library/stdtypes.rst:4458 +#: ../Doc/library/stdtypes.rst:4460 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6468,7 +6470,7 @@ msgstr "" "fonction native :func:`compile` et peuvent être obtenus des objets fonction " "via leur attribut :attr:`__code__`. Voir aussi le module :mod:`code`." -#: ../Doc/library/stdtypes.rst:4469 +#: ../Doc/library/stdtypes.rst:4471 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -6477,11 +6479,11 @@ msgstr "" "d'une chaîne contenant du code) aux fonction natives :func:`exec` ou :func:" "`eval`." -#: ../Doc/library/stdtypes.rst:4478 +#: ../Doc/library/stdtypes.rst:4480 msgid "Type Objects" msgstr "Objets Type" -#: ../Doc/library/stdtypes.rst:4484 +#: ../Doc/library/stdtypes.rst:4486 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -6493,15 +6495,15 @@ msgstr "" "opération spéciale sur les types. Le module standard :mod:`types` définit " "les noms de tous les types natifs." -#: ../Doc/library/stdtypes.rst:4489 +#: ../Doc/library/stdtypes.rst:4491 msgid "Types are written like this: ````." msgstr "Les types sont représentés : ````." -#: ../Doc/library/stdtypes.rst:4495 +#: ../Doc/library/stdtypes.rst:4497 msgid "The Null Object" msgstr "L'objet Null" -#: ../Doc/library/stdtypes.rst:4497 +#: ../Doc/library/stdtypes.rst:4499 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -6511,15 +6513,15 @@ msgstr "" "valeur. Il ne supporte aucune opération spéciale. Il existe exactement un " "objet *null* nommé ``None`` (c'est un nom natif). ``type(None)()``." -#: ../Doc/library/stdtypes.rst:4501 +#: ../Doc/library/stdtypes.rst:4503 msgid "It is written as ``None``." msgstr "C'est écrit ``None``." -#: ../Doc/library/stdtypes.rst:4507 +#: ../Doc/library/stdtypes.rst:4509 msgid "The Ellipsis Object" msgstr "L'objet Points de Suspension" -#: ../Doc/library/stdtypes.rst:4509 +#: ../Doc/library/stdtypes.rst:4511 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6531,15 +6533,15 @@ msgstr "" "objet *ellipsis*, nommé :const:`Ellipsis` (un nom natif). ``type(Ellipsis)" "()`` produit le *singleton* :const:`Ellipsis`." -#: ../Doc/library/stdtypes.rst:4514 +#: ../Doc/library/stdtypes.rst:4516 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "C'est écrit ``Ellipsis`` ou ``...``." -#: ../Doc/library/stdtypes.rst:4520 +#: ../Doc/library/stdtypes.rst:4522 msgid "The NotImplemented Object" msgstr "L'objet *NotImplemented*" -#: ../Doc/library/stdtypes.rst:4522 +#: ../Doc/library/stdtypes.rst:4524 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -6551,15 +6553,15 @@ msgstr "" "pour plus d'informations. Il n'y a qu'un seul objet ``NotImplemented``. " "``type(NotImplemented)()`` renvoit un *singleton*." -#: ../Doc/library/stdtypes.rst:4527 +#: ../Doc/library/stdtypes.rst:4529 msgid "It is written as ``NotImplemented``." msgstr "C'est écrit ``NotImplemented``." -#: ../Doc/library/stdtypes.rst:4533 +#: ../Doc/library/stdtypes.rst:4535 msgid "Boolean Values" msgstr "Valeurs Booléennes" -#: ../Doc/library/stdtypes.rst:4535 +#: ../Doc/library/stdtypes.rst:4537 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -6578,15 +6580,15 @@ msgstr "" "valeur en booléen tant que la valeur peut être interprétée en une valeur de " "vérité (voir :ref:`truth` au dessus)." -#: ../Doc/library/stdtypes.rst:4548 +#: ../Doc/library/stdtypes.rst:4550 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Ils s'écrivent ``False`` et ``True``, respectivement." -#: ../Doc/library/stdtypes.rst:4554 +#: ../Doc/library/stdtypes.rst:4556 msgid "Internal Objects" msgstr "Objets Internes" -#: ../Doc/library/stdtypes.rst:4556 +#: ../Doc/library/stdtypes.rst:4558 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6594,11 +6596,11 @@ msgstr "" "Voir :ref:`types`. Ils décrivent les objets *stack frame*, *traceback*, et " "*slice*." -#: ../Doc/library/stdtypes.rst:4563 +#: ../Doc/library/stdtypes.rst:4565 msgid "Special Attributes" msgstr "Attributs Spéciaux" -#: ../Doc/library/stdtypes.rst:4565 +#: ../Doc/library/stdtypes.rst:4567 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -6608,7 +6610,7 @@ msgstr "" "certains types, lorsque ça a du sens. Certains ne sont *pas* listés par la " "fonction native :func:`dir`." -#: ../Doc/library/stdtypes.rst:4572 +#: ../Doc/library/stdtypes.rst:4574 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6616,20 +6618,20 @@ msgstr "" "Un dictionnaire ou un autre *mapping object* utilisé pour stocker les " "attributs (modifiables) de l'objet." -#: ../Doc/library/stdtypes.rst:4578 +#: ../Doc/library/stdtypes.rst:4580 msgid "The class to which a class instance belongs." msgstr "La classe de l'instance de classe." -#: ../Doc/library/stdtypes.rst:4583 +#: ../Doc/library/stdtypes.rst:4585 msgid "The tuple of base classes of a class object." msgstr "Le *tuple* des classes parentes d'un objet classe." -#: ../Doc/library/stdtypes.rst:4588 +#: ../Doc/library/stdtypes.rst:4590 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Le nom de la classe, fonction, méthode, descripteur, ou générateur." -#: ../Doc/library/stdtypes.rst:4594 +#: ../Doc/library/stdtypes.rst:4596 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6637,7 +6639,7 @@ msgstr "" "Le :term:`qualified name` de la classe, fonction, méthode, descripteur, ou " "générateur." -#: ../Doc/library/stdtypes.rst:4602 +#: ../Doc/library/stdtypes.rst:4604 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6645,7 +6647,7 @@ msgstr "" "Cet attribut est un *tuple* contenant les classes parents prises en compte " "lors de la résolution de méthode." -#: ../Doc/library/stdtypes.rst:4608 +#: ../Doc/library/stdtypes.rst:4610 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6656,7 +6658,7 @@ msgstr "" "la l'initialisation de la classe, et son résultat est stocké dans " "l'attribut :attr:`~class.__mro__`." -#: ../Doc/library/stdtypes.rst:4615 +#: ../Doc/library/stdtypes.rst:4617 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. Example::" @@ -6665,11 +6667,11 @@ msgstr "" "immédiates. Cette méthode renvoie la liste de toutes ces références encore " "valables. Exemple : ::" -#: ../Doc/library/stdtypes.rst:4624 +#: ../Doc/library/stdtypes.rst:4626 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/stdtypes.rst:4625 +#: ../Doc/library/stdtypes.rst:4627 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -6677,7 +6679,7 @@ msgstr "" "Plus d'informations sur ces méthodes spéciales peuvent être trouvées dans le " "*Python Reference Manual* (:ref:`customization`)" -#: ../Doc/library/stdtypes.rst:4628 +#: ../Doc/library/stdtypes.rst:4630 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -6685,13 +6687,13 @@ msgstr "" "Par conséquent, la liste ``[1, 2]`` est considérée égale à ``[1.0, 2.0]``. " "Idem avec des tuples." -#: ../Doc/library/stdtypes.rst:4631 +#: ../Doc/library/stdtypes.rst:4633 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Nécessairement, puisque le parseur ne peut pas discerner le type des " "opérandes." -#: ../Doc/library/stdtypes.rst:4633 +#: ../Doc/library/stdtypes.rst:4635 msgid "" "Cased characters are those with general category property being one of \"Lu" "\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -6701,7 +6703,7 @@ msgstr "" "category* est soit \"Lu\" (pour *Letter*, *uppercase*), soit \"Ll\" (pour " "*Letter*, *lowercase*), soit \"Lt\" (pour *Letter*, *titlecase*)." -#: ../Doc/library/stdtypes.rst:4636 +#: ../Doc/library/stdtypes.rst:4638 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." diff --git a/library/string.po b/library/string.po index 4f7949be..91c6035c 100644 --- a/library/string.po +++ b/library/string.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-09-22 10:19+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/library/string.rst:2 @@ -1273,18 +1273,30 @@ msgstr "" "`re.escape` sur cette chaîne si nécessaire." #: ../Doc/library/string.rst:747 +#, fuzzy msgid "" "*idpattern* -- This is the regular expression describing the pattern for non-" -"braced placeholders (the braces will be added automatically as " -"appropriate). The default value is the regular expression ``[_a-z][_a-" -"z0-9]*``." +"braced placeholders (the braces will be added automatically as appropriate). " +"The default value is the regular expression ``(?-i:[_a-zA-Z][_a-zA-Z0-9]*)``." msgstr "" "*idpattern* -- L'expression rationnelle décrivant le motif pour les " "substituants non entourés d'accolades (les accolades sont ajoutées " "automatiquement si c'est approprié). La valeur par défaut de cette " "expression rationnelle est ``[_a-z][_a-z0-9]*``." -#: ../Doc/library/string.rst:752 +#: ../Doc/library/string.rst:754 +msgid "" +"Since default *flags* is ``re.IGNORECASE``, pattern ``[a-z]`` can match with " +"some non-ASCII characters. That's why we use local ``-i`` flag here." +msgstr "" + +#: ../Doc/library/string.rst:757 +msgid "" +"While *flags* is kept to ``re.IGNORECASE`` for backward compatibility, you " +"can override it to ``0`` or ``re.IGNORECASE | re.ASCII`` when subclassing." +msgstr "" + +#: ../Doc/library/string.rst:762 msgid "" "*flags* -- The regular expression flags that will be applied when compiling " "the regular expression used for recognizing substitutions. The default " @@ -1299,7 +1311,7 @@ msgstr "" "personnalisé doit suivre les conventions des expressions rationnelles " "*verbose*." -#: ../Doc/library/string.rst:760 +#: ../Doc/library/string.rst:770 msgid "" "Alternatively, you can provide the entire regular expression pattern by " "overriding the class attribute *pattern*. If you do this, the value must be " @@ -1313,7 +1325,7 @@ msgstr "" "noms. Les groupes de capture correspondent aux règles données au-dessus, " "ainsi qu'à la règle du substituant invalide :" -#: ../Doc/library/string.rst:766 +#: ../Doc/library/string.rst:776 msgid "" "*escaped* -- This group matches the escape sequence, e.g. ``$$``, in the " "default pattern." @@ -1321,7 +1333,7 @@ msgstr "" "*escaped* -- Ce groupe lie les séquences échappées (par exemple ``$$``) dans " "le motif par défaut." -#: ../Doc/library/string.rst:769 +#: ../Doc/library/string.rst:779 msgid "" "*named* -- This group matches the unbraced placeholder name; it should not " "include the delimiter in capturing group." @@ -1329,7 +1341,7 @@ msgstr "" "*named* -- Ce groupe lie les substituants non entourés d'accolades ; il ne " "devrait pas inclure le délimiteur dans le groupe de capture." -#: ../Doc/library/string.rst:772 +#: ../Doc/library/string.rst:782 msgid "" "*braced* -- This group matches the brace enclosed placeholder name; it " "should not include either the delimiter or braces in the capturing group." @@ -1337,7 +1349,7 @@ msgstr "" "*braced* -- Ce groupe lie le nom entouré d'accolades ; il ne devrait inclure " "ni le délimiteur, ni les accolades dans le groupe de capture." -#: ../Doc/library/string.rst:775 +#: ../Doc/library/string.rst:785 msgid "" "*invalid* -- This group matches any other delimiter pattern (usually a " "single delimiter), and it should appear last in the regular expression." @@ -1346,11 +1358,11 @@ msgstr "" "un seul délimiteur) et il devrait apparaître un dernier dans l'expression " "rationnelle." -#: ../Doc/library/string.rst:780 +#: ../Doc/library/string.rst:790 msgid "Helper functions" msgstr "Fonctions d'assistance" -#: ../Doc/library/string.rst:784 +#: ../Doc/library/string.rst:794 msgid "" "Split the argument into words using :meth:`str.split`, capitalize each word " "using :meth:`str.capitalize`, and join the capitalized words using :meth:" diff --git a/library/subprocess.po b/library/subprocess.po index 7991406a..811a2ec7 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-10-13 23:26+0200\n" "Last-Translator: \n" "Language-Team: LANGUAGE \n" @@ -1024,9 +1024,10 @@ msgstr "" "Les instances de la classe :class:`Popen` possèdent les méthodes suivantes :" #: ../Doc/library/subprocess.rst:586 +#, fuzzy msgid "" "Check if child process has terminated. Set and return :attr:`~Popen." -"returncode` attribute." +"returncode` attribute. Otherwise, returns ``None``." msgstr "" "Vérifie que le processus enfant s'est terminé. Modifie l'attribut :attr:" "`~Popen.returncode` et le renvoie." diff --git a/library/termios.po b/library/termios.po index d530184f..fcfa2d39 100644 --- a/library/termios.po +++ b/library/termios.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -24,7 +24,7 @@ msgstr "" #: ../Doc/library/termios.rst:14 msgid "" "This module provides an interface to the POSIX calls for tty I/O control. " -"For a complete description of these calls, see :manpage:`termios(2)` Unix " +"For a complete description of these calls, see :manpage:`termios(3)` Unix " "manual page. It is only available for those Unix versions that support " "POSIX *termios* style tty I/O control configured during installation." msgstr "" diff --git a/library/threading.po b/library/threading.po index 81d0f1e4..408e8ef9 100644 --- a/library/threading.po +++ b/library/threading.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-29 14:32+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -385,10 +385,10 @@ msgstr "" #: ../Doc/library/threading.rst:293 msgid "" "The 'thread identifier' of this thread or ``None`` if the thread has not " -"been started. This is a nonzero integer. See the :func:`_thread." -"get_ident()` function. Thread identifiers may be recycled when a thread " -"exits and another thread is created. The identifier is available even after " -"the thread has exited." +"been started. This is a nonzero integer. See the :func:`get_ident` " +"function. Thread identifiers may be recycled when a thread exits and " +"another thread is created. The identifier is available even after the " +"thread has exited." msgstr "" #: ../Doc/library/threading.rst:301 diff --git a/library/time.po b/library/time.po index 670b5d94..16231096 100644 --- a/library/time.po +++ b/library/time.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:55+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -176,18 +176,11 @@ msgstr "" msgid ":func:`mktime`" msgstr "" -#: ../Doc/library/time.rst:121 -msgid "The module defines the following functions and data items:" +#: ../Doc/library/time.rst:124 +msgid "Functions" msgstr "" -#: ../Doc/library/time.rst:125 -msgid "" -"The offset of the local DST timezone, in seconds west of UTC, if one is " -"defined. This is negative if the local DST timezone is east of UTC (as in " -"Western Europe, including the UK). Only use this if ``daylight`` is nonzero." -msgstr "" - -#: ../Doc/library/time.rst:132 +#: ../Doc/library/time.rst:128 msgid "" "Convert a tuple or :class:`struct_time` representing a time as returned by :" "func:`gmtime` or :func:`localtime` to a string of the following form: ``'Sun " @@ -196,13 +189,13 @@ msgid "" "func:`asctime`." msgstr "" -#: ../Doc/library/time.rst:140 +#: ../Doc/library/time.rst:136 msgid "" "Unlike the C function of the same name, :func:`asctime` does not add a " "trailing newline." msgstr "" -#: ../Doc/library/time.rst:151 +#: ../Doc/library/time.rst:147 msgid "" "On Unix, return the current processor time as a floating point number " "expressed in seconds. The precision, and in fact the very definition of the " @@ -210,7 +203,7 @@ msgid "" "name." msgstr "" -#: ../Doc/library/time.rst:155 +#: ../Doc/library/time.rst:151 msgid "" "On Windows, this function returns wall-clock seconds elapsed since the first " "call to this function, as a floating point number, based on the Win32 " @@ -218,74 +211,39 @@ msgid "" "better than one microsecond." msgstr "" -#: ../Doc/library/time.rst:160 +#: ../Doc/library/time.rst:156 msgid "" "The behaviour of this function depends on the platform: use :func:" "`perf_counter` or :func:`process_time` instead, depending on your " "requirements, to have a well defined behaviour." msgstr "" -#: ../Doc/library/time.rst:168 -msgid "Return the resolution (precision) of the specified clock *clk_id*." +#: ../Doc/library/time.rst:164 +msgid "" +"Return the resolution (precision) of the specified clock *clk_id*. Refer " +"to :ref:`time-clock-id-constants` for a list of accepted values for *clk_id*." msgstr "" -#: ../Doc/library/time.rst:170 ../Doc/library/time.rst:179 -#: ../Doc/library/time.rst:188 ../Doc/library/time.rst:209 -#: ../Doc/library/time.rst:228 ../Doc/library/time.rst:238 -#: ../Doc/library/time.rst:247 ../Doc/library/time.rst:628 +#: ../Doc/library/time.rst:167 ../Doc/library/time.rst:177 +#: ../Doc/library/time.rst:187 ../Doc/library/time.rst:551 +#: ../Doc/library/time.rst:653 ../Doc/library/time.rst:672 +#: ../Doc/library/time.rst:681 ../Doc/library/time.rst:694 msgid "Availability: Unix." msgstr "Disponibilité : Unix." -#: ../Doc/library/time.rst:177 -msgid "Return the time of the specified clock *clk_id*." -msgstr "" - -#: ../Doc/library/time.rst:186 -msgid "Set the time of the specified clock *clk_id*." -msgstr "" - -#: ../Doc/library/time.rst:195 +#: ../Doc/library/time.rst:174 msgid "" -"The Solaris OS has a CLOCK_HIGHRES timer that attempts to use an optimal " -"hardware source, and may give close to nanosecond resolution. CLOCK_HIGHRES " -"is the nonadjustable, high-resolution clock." +"Return the time of the specified clock *clk_id*. Refer to :ref:`time-clock-" +"id-constants` for a list of accepted values for *clk_id*." msgstr "" -#: ../Doc/library/time.rst:199 -msgid "Availability: Solaris." -msgstr "" - -#: ../Doc/library/time.rst:206 +#: ../Doc/library/time.rst:184 msgid "" -"Clock that cannot be set and represents monotonic time since some " -"unspecified starting point." +"Set the time of the specified clock *clk_id*. Currently, :data:" +"`CLOCK_REALTIME` is the only accepted value for *clk_id*." msgstr "" -#: ../Doc/library/time.rst:216 -msgid "" -"Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw hardware-" -"based time that is not subject to NTP adjustments." -msgstr "" - -#: ../Doc/library/time.rst:219 -msgid "Availability: Linux 2.6.28 or later." -msgstr "" - -#: ../Doc/library/time.rst:226 -msgid "High-resolution per-process timer from the CPU." -msgstr "" - -#: ../Doc/library/time.rst:235 -msgid "" -"System-wide real-time clock. Setting this clock requires appropriate " -"privileges." -msgstr "" - -#: ../Doc/library/time.rst:245 -msgid "Thread-specific CPU-time clock." -msgstr "" - -#: ../Doc/library/time.rst:254 +#: ../Doc/library/time.rst:194 msgid "" "Convert a time expressed in seconds since the epoch to a string representing " "local time. If *secs* is not provided or :const:`None`, the current time as " @@ -294,62 +252,58 @@ msgid "" "`ctime`." msgstr "" -#: ../Doc/library/time.rst:262 -msgid "Nonzero if a DST timezone is defined." -msgstr "" - -#: ../Doc/library/time.rst:267 +#: ../Doc/library/time.rst:202 msgid "" "Get information on the specified clock as a namespace object. Supported " "clock names and the corresponding functions to read their value are:" msgstr "" -#: ../Doc/library/time.rst:271 +#: ../Doc/library/time.rst:206 msgid "``'clock'``: :func:`time.clock`" msgstr "``'clock'``: :func:`time.clock`" -#: ../Doc/library/time.rst:272 +#: ../Doc/library/time.rst:207 msgid "``'monotonic'``: :func:`time.monotonic`" msgstr "``'monotonic'``: :func:`time.monotonic`" -#: ../Doc/library/time.rst:273 +#: ../Doc/library/time.rst:208 msgid "``'perf_counter'``: :func:`time.perf_counter`" msgstr "``'perf_counter'``: :func:`time.perf_counter`" -#: ../Doc/library/time.rst:274 +#: ../Doc/library/time.rst:209 msgid "``'process_time'``: :func:`time.process_time`" msgstr "``'process_time'``: :func:`time.process_time`" -#: ../Doc/library/time.rst:275 +#: ../Doc/library/time.rst:210 msgid "``'time'``: :func:`time.time`" msgstr "``'time'``: :func:`time.time`" -#: ../Doc/library/time.rst:277 +#: ../Doc/library/time.rst:212 msgid "The result has the following attributes:" msgstr "" -#: ../Doc/library/time.rst:279 +#: ../Doc/library/time.rst:214 msgid "" "*adjustable*: ``True`` if the clock can be changed automatically (e.g. by a " "NTP daemon) or manually by the system administrator, ``False`` otherwise" msgstr "" -#: ../Doc/library/time.rst:281 +#: ../Doc/library/time.rst:216 msgid "" "*implementation*: The name of the underlying C function used to get the " -"clock value" +"clock value. Refer to :ref:`time-clock-id-constants` for possible values." msgstr "" -#: ../Doc/library/time.rst:283 +#: ../Doc/library/time.rst:218 msgid "" "*monotonic*: ``True`` if the clock cannot go backward, ``False`` otherwise" msgstr "" -#: ../Doc/library/time.rst:285 +#: ../Doc/library/time.rst:220 msgid "*resolution*: The resolution of the clock in seconds (:class:`float`)" msgstr "" -#: ../Doc/library/time.rst:292 +#: ../Doc/library/time.rst:227 msgid "" "Convert a time expressed in seconds since the epoch to a :class:" "`struct_time` in UTC in which the dst flag is always zero. If *secs* is not " @@ -359,14 +313,14 @@ msgid "" "of this function." msgstr "" -#: ../Doc/library/time.rst:302 +#: ../Doc/library/time.rst:237 msgid "" "Like :func:`gmtime` but converts to local time. If *secs* is not provided " "or :const:`None`, the current time as returned by :func:`.time` is used. " "The dst flag is set to ``1`` when DST applies to the given time." msgstr "" -#: ../Doc/library/time.rst:309 +#: ../Doc/library/time.rst:244 msgid "" "This is the inverse function of :func:`localtime`. Its argument is the :" "class:`struct_time` or full 9-tuple (since the dst flag is needed; use " @@ -379,7 +333,7 @@ msgid "" "dependent." msgstr "" -#: ../Doc/library/time.rst:321 +#: ../Doc/library/time.rst:256 msgid "" "Return the value (in fractional seconds) of a monotonic clock, i.e. a clock " "that cannot go backwards. The clock is not affected by system clock " @@ -387,7 +341,7 @@ msgid "" "only the difference between the results of consecutive calls is valid." msgstr "" -#: ../Doc/library/time.rst:326 +#: ../Doc/library/time.rst:261 msgid "" "On Windows versions older than Vista, :func:`monotonic` detects :c:func:" "`GetTickCount` integer overflow (32 bits, roll-over after 49.7 days). It " @@ -398,11 +352,11 @@ msgid "" "other operating systems, :func:`monotonic` is system-wide." msgstr "" -#: ../Doc/library/time.rst:335 +#: ../Doc/library/time.rst:270 msgid "The function is now always available." msgstr "" -#: ../Doc/library/time.rst:341 +#: ../Doc/library/time.rst:276 msgid "" "Return the value (in fractional seconds) of a performance counter, i.e. a " "clock with the highest available resolution to measure a short duration. It " @@ -411,7 +365,7 @@ msgid "" "between the results of consecutive calls is valid." msgstr "" -#: ../Doc/library/time.rst:352 +#: ../Doc/library/time.rst:287 msgid "" "Return the value (in fractional seconds) of the sum of the system and user " "CPU time of the current process. It does not include time elapsed during " @@ -420,7 +374,7 @@ msgid "" "of consecutive calls is valid." msgstr "" -#: ../Doc/library/time.rst:362 +#: ../Doc/library/time.rst:297 msgid "" "Suspend execution of the calling thread for the given number of seconds. The " "argument may be a floating point number to indicate a more precise sleep " @@ -431,14 +385,14 @@ msgid "" "in the system." msgstr "" -#: ../Doc/library/time.rst:370 +#: ../Doc/library/time.rst:305 msgid "" "The function now sleeps at least *secs* even if the sleep is interrupted by " "a signal, except if the signal handler raises an exception (see :pep:`475` " "for the rationale)." msgstr "" -#: ../Doc/library/time.rst:378 +#: ../Doc/library/time.rst:313 msgid "" "Convert a tuple or :class:`struct_time` representing a time as returned by :" "func:`gmtime` or :func:`localtime` to a string as specified by the *format* " @@ -447,267 +401,267 @@ msgid "" "raised if any field in *t* is outside of the allowed range." msgstr "" -#: ../Doc/library/time.rst:384 +#: ../Doc/library/time.rst:319 msgid "" "0 is a legal argument for any position in the time tuple; if it is normally " "illegal the value is forced to a correct one." msgstr "" -#: ../Doc/library/time.rst:387 +#: ../Doc/library/time.rst:322 msgid "" "The following directives can be embedded in the *format* string. They are " "shown without the optional field width and precision specification, and are " "replaced by the indicated characters in the :func:`strftime` result:" msgstr "" -#: ../Doc/library/time.rst:392 +#: ../Doc/library/time.rst:327 msgid "Directive" msgstr "Directive" -#: ../Doc/library/time.rst:392 +#: ../Doc/library/time.rst:327 msgid "Meaning" msgstr "Signification" -#: ../Doc/library/time.rst:392 +#: ../Doc/library/time.rst:327 msgid "Notes" msgstr "Notes" -#: ../Doc/library/time.rst:394 +#: ../Doc/library/time.rst:329 msgid "``%a``" msgstr "``%a``" -#: ../Doc/library/time.rst:394 +#: ../Doc/library/time.rst:329 msgid "Locale's abbreviated weekday name." msgstr "" -#: ../Doc/library/time.rst:397 +#: ../Doc/library/time.rst:332 msgid "``%A``" msgstr "``%A``" -#: ../Doc/library/time.rst:397 +#: ../Doc/library/time.rst:332 msgid "Locale's full weekday name." msgstr "" -#: ../Doc/library/time.rst:399 +#: ../Doc/library/time.rst:334 msgid "``%b``" msgstr "``%b``" -#: ../Doc/library/time.rst:399 +#: ../Doc/library/time.rst:334 msgid "Locale's abbreviated month name." msgstr "" -#: ../Doc/library/time.rst:402 +#: ../Doc/library/time.rst:337 msgid "``%B``" msgstr "``%B``" -#: ../Doc/library/time.rst:402 +#: ../Doc/library/time.rst:337 msgid "Locale's full month name." msgstr "" -#: ../Doc/library/time.rst:404 +#: ../Doc/library/time.rst:339 msgid "``%c``" msgstr "``%c``" -#: ../Doc/library/time.rst:404 +#: ../Doc/library/time.rst:339 msgid "Locale's appropriate date and time representation." msgstr "Représentation locale de la date et de l'heure." -#: ../Doc/library/time.rst:407 +#: ../Doc/library/time.rst:342 msgid "``%d``" msgstr "``%d``" -#: ../Doc/library/time.rst:407 +#: ../Doc/library/time.rst:342 msgid "Day of the month as a decimal number [01,31]." msgstr "" -#: ../Doc/library/time.rst:410 +#: ../Doc/library/time.rst:345 msgid "``%H``" msgstr "``%H``" -#: ../Doc/library/time.rst:410 +#: ../Doc/library/time.rst:345 msgid "Hour (24-hour clock) as a decimal number [00,23]." msgstr "" -#: ../Doc/library/time.rst:413 +#: ../Doc/library/time.rst:348 msgid "``%I``" msgstr "``%I``" -#: ../Doc/library/time.rst:413 +#: ../Doc/library/time.rst:348 msgid "Hour (12-hour clock) as a decimal number [01,12]." msgstr "" -#: ../Doc/library/time.rst:416 +#: ../Doc/library/time.rst:351 msgid "``%j``" msgstr "``%j``" -#: ../Doc/library/time.rst:416 +#: ../Doc/library/time.rst:351 msgid "Day of the year as a decimal number [001,366]." msgstr "" -#: ../Doc/library/time.rst:419 +#: ../Doc/library/time.rst:354 msgid "``%m``" msgstr "``%m``" -#: ../Doc/library/time.rst:419 +#: ../Doc/library/time.rst:354 msgid "Month as a decimal number [01,12]." msgstr "" -#: ../Doc/library/time.rst:422 +#: ../Doc/library/time.rst:357 msgid "``%M``" msgstr "``%M``" -#: ../Doc/library/time.rst:422 +#: ../Doc/library/time.rst:357 msgid "Minute as a decimal number [00,59]." msgstr "" -#: ../Doc/library/time.rst:425 +#: ../Doc/library/time.rst:360 msgid "``%p``" msgstr "``%p``" -#: ../Doc/library/time.rst:425 +#: ../Doc/library/time.rst:360 msgid "Locale's equivalent of either AM or PM." msgstr "Équivalent local à AM/PM." -#: ../Doc/library/time.rst:425 +#: ../Doc/library/time.rst:360 msgid "\\(1)" msgstr "\\(1)" -#: ../Doc/library/time.rst:428 +#: ../Doc/library/time.rst:363 msgid "``%S``" msgstr "``%S``" -#: ../Doc/library/time.rst:428 +#: ../Doc/library/time.rst:363 msgid "Second as a decimal number [00,61]." msgstr "" -#: ../Doc/library/time.rst:428 +#: ../Doc/library/time.rst:363 msgid "\\(2)" msgstr "\\(2)" -#: ../Doc/library/time.rst:431 +#: ../Doc/library/time.rst:366 msgid "``%U``" msgstr "``%U``" -#: ../Doc/library/time.rst:431 +#: ../Doc/library/time.rst:366 msgid "" "Week number of the year (Sunday as the first day of the week) as a decimal " "number [00,53]. All days in a new year preceding the first Sunday are " "considered to be in week 0." msgstr "" -#: ../Doc/library/time.rst:431 ../Doc/library/time.rst:442 +#: ../Doc/library/time.rst:366 ../Doc/library/time.rst:377 msgid "\\(3)" msgstr "\\(3)" -#: ../Doc/library/time.rst:439 +#: ../Doc/library/time.rst:374 msgid "``%w``" msgstr "``%w``" -#: ../Doc/library/time.rst:439 +#: ../Doc/library/time.rst:374 msgid "Weekday as a decimal number [0(Sunday),6]." msgstr "" -#: ../Doc/library/time.rst:442 +#: ../Doc/library/time.rst:377 msgid "``%W``" msgstr "``%W``" -#: ../Doc/library/time.rst:442 +#: ../Doc/library/time.rst:377 msgid "" "Week number of the year (Monday as the first day of the week) as a decimal " "number [00,53]. All days in a new year preceding the first Monday are " "considered to be in week 0." msgstr "" -#: ../Doc/library/time.rst:450 +#: ../Doc/library/time.rst:385 msgid "``%x``" msgstr "``%x``" -#: ../Doc/library/time.rst:450 +#: ../Doc/library/time.rst:385 msgid "Locale's appropriate date representation." msgstr "Représentation locale de la date." -#: ../Doc/library/time.rst:453 +#: ../Doc/library/time.rst:388 msgid "``%X``" msgstr "``%X``" -#: ../Doc/library/time.rst:453 +#: ../Doc/library/time.rst:388 msgid "Locale's appropriate time representation." msgstr "Représentation locale de l'heure." -#: ../Doc/library/time.rst:456 +#: ../Doc/library/time.rst:391 msgid "``%y``" msgstr "``%y``" -#: ../Doc/library/time.rst:456 +#: ../Doc/library/time.rst:391 msgid "Year without century as a decimal number [00,99]." msgstr "" -#: ../Doc/library/time.rst:459 +#: ../Doc/library/time.rst:394 msgid "``%Y``" msgstr "``%Y``" -#: ../Doc/library/time.rst:459 +#: ../Doc/library/time.rst:394 msgid "Year with century as a decimal number." msgstr "Année complète sur quatre chiffres." -#: ../Doc/library/time.rst:462 +#: ../Doc/library/time.rst:397 msgid "``%z``" msgstr "``%z``" -#: ../Doc/library/time.rst:462 +#: ../Doc/library/time.rst:397 msgid "" "Time zone offset indicating a positive or negative time difference from UTC/" "GMT of the form +HHMM or -HHMM, where H represents decimal hour digits and M " "represents decimal minute digits [-23:59, +23:59]." msgstr "" -#: ../Doc/library/time.rst:468 +#: ../Doc/library/time.rst:403 msgid "``%Z``" msgstr "``%Z``" -#: ../Doc/library/time.rst:468 +#: ../Doc/library/time.rst:403 msgid "Time zone name (no characters if no time zone exists)." msgstr "" -#: ../Doc/library/time.rst:471 +#: ../Doc/library/time.rst:406 msgid "``%%``" msgstr "``%%``" -#: ../Doc/library/time.rst:471 +#: ../Doc/library/time.rst:406 msgid "A literal ``'%'`` character." msgstr "Un caractère ``'%'`` littéral." -#: ../Doc/library/time.rst:474 +#: ../Doc/library/time.rst:409 msgid "Notes:" msgstr "Notes : " -#: ../Doc/library/time.rst:477 +#: ../Doc/library/time.rst:412 msgid "" "When used with the :func:`strptime` function, the ``%p`` directive only " "affects the output hour field if the ``%I`` directive is used to parse the " "hour." msgstr "" -#: ../Doc/library/time.rst:481 +#: ../Doc/library/time.rst:416 msgid "" "The range really is ``0`` to ``61``; value ``60`` is valid in timestamps " "representing `leap seconds`_ and value ``61`` is supported for historical " "reasons." msgstr "" -#: ../Doc/library/time.rst:486 +#: ../Doc/library/time.rst:421 msgid "" "When used with the :func:`strptime` function, ``%U`` and ``%W`` are only " "used in calculations when the day of the week and the year are specified." msgstr "" -#: ../Doc/library/time.rst:489 +#: ../Doc/library/time.rst:424 msgid "" "Here is an example, a format for dates compatible with that specified in " "the :rfc:`2822` Internet email standard. [#]_ ::" msgstr "" -#: ../Doc/library/time.rst:496 +#: ../Doc/library/time.rst:431 msgid "" "Additional directives may be supported on certain platforms, but only the " "ones listed here have a meaning standardized by ANSI C. To see the full set " @@ -715,7 +669,7 @@ msgid "" "`strftime(3)` documentation." msgstr "" -#: ../Doc/library/time.rst:501 +#: ../Doc/library/time.rst:436 msgid "" "On some platforms, an optional field width and precision specification can " "immediately follow the initial ``'%'`` of a directive in the following " @@ -723,13 +677,13 @@ msgid "" "%j`` where it is 3." msgstr "" -#: ../Doc/library/time.rst:509 +#: ../Doc/library/time.rst:444 msgid "" "Parse a string representing a time according to a format. The return value " "is a :class:`struct_time` as returned by :func:`gmtime` or :func:`localtime`." msgstr "" -#: ../Doc/library/time.rst:513 +#: ../Doc/library/time.rst:448 msgid "" "The *format* parameter uses the same directives as those used by :func:" "`strftime`; it defaults to ``\"%a %b %d %H:%M:%S %Y\"`` which matches the " @@ -740,11 +694,11 @@ msgid "" "Both *string* and *format* must be strings." msgstr "" -#: ../Doc/library/time.rst:521 +#: ../Doc/library/time.rst:456 msgid "For example:" msgstr "Par exemple : ::" -#: ../Doc/library/time.rst:528 +#: ../Doc/library/time.rst:463 msgid "" "Support for the ``%Z`` directive is based on the values contained in " "``tzname`` and whether ``daylight`` is true. Because of this, it is " @@ -752,7 +706,7 @@ msgid "" "(and are considered to be non-daylight savings timezones)." msgstr "" -#: ../Doc/library/time.rst:533 +#: ../Doc/library/time.rst:468 msgid "" "Only the directives specified in the documentation are supported. Because " "``strftime()`` is implemented per platform it can sometimes offer more " @@ -761,7 +715,7 @@ msgid "" "are not documented as supported." msgstr "" -#: ../Doc/library/time.rst:542 +#: ../Doc/library/time.rst:477 msgid "" "The type of the time value sequence returned by :func:`gmtime`, :func:" "`localtime`, and :func:`strptime`. It is an object with a :term:`named " @@ -769,153 +723,153 @@ msgid "" "The following values are present:" msgstr "" -#: ../Doc/library/time.rst:548 +#: ../Doc/library/time.rst:483 msgid "Index" msgstr "" -#: ../Doc/library/time.rst:548 +#: ../Doc/library/time.rst:483 msgid "Attribute" msgstr "Attribut" -#: ../Doc/library/time.rst:548 +#: ../Doc/library/time.rst:483 msgid "Values" msgstr "Valeurs" -#: ../Doc/library/time.rst:550 +#: ../Doc/library/time.rst:485 msgid "0" msgstr "0" -#: ../Doc/library/time.rst:550 +#: ../Doc/library/time.rst:485 msgid ":attr:`tm_year`" msgstr ":attr:`tm_year`" -#: ../Doc/library/time.rst:550 +#: ../Doc/library/time.rst:485 msgid "(for example, 1993)" msgstr "" -#: ../Doc/library/time.rst:552 +#: ../Doc/library/time.rst:487 msgid "1" msgstr "1" -#: ../Doc/library/time.rst:552 +#: ../Doc/library/time.rst:487 msgid ":attr:`tm_mon`" msgstr ":attr:`tm_mon`" -#: ../Doc/library/time.rst:552 +#: ../Doc/library/time.rst:487 msgid "range [1, 12]" msgstr "" -#: ../Doc/library/time.rst:554 +#: ../Doc/library/time.rst:489 msgid "2" msgstr "2" -#: ../Doc/library/time.rst:554 +#: ../Doc/library/time.rst:489 msgid ":attr:`tm_mday`" msgstr ":attr:`tm_mday`" -#: ../Doc/library/time.rst:554 +#: ../Doc/library/time.rst:489 msgid "range [1, 31]" msgstr "" -#: ../Doc/library/time.rst:556 +#: ../Doc/library/time.rst:491 msgid "3" msgstr "3" -#: ../Doc/library/time.rst:556 +#: ../Doc/library/time.rst:491 msgid ":attr:`tm_hour`" msgstr ":attr:`tm_hour`" -#: ../Doc/library/time.rst:556 +#: ../Doc/library/time.rst:491 msgid "range [0, 23]" msgstr "" -#: ../Doc/library/time.rst:558 +#: ../Doc/library/time.rst:493 msgid "4" msgstr "4" -#: ../Doc/library/time.rst:558 +#: ../Doc/library/time.rst:493 msgid ":attr:`tm_min`" msgstr ":attr:`tm_min`" -#: ../Doc/library/time.rst:558 +#: ../Doc/library/time.rst:493 msgid "range [0, 59]" msgstr "" -#: ../Doc/library/time.rst:560 +#: ../Doc/library/time.rst:495 msgid "5" msgstr "5" -#: ../Doc/library/time.rst:560 +#: ../Doc/library/time.rst:495 msgid ":attr:`tm_sec`" msgstr ":attr:`tm_sec`" -#: ../Doc/library/time.rst:560 +#: ../Doc/library/time.rst:495 msgid "range [0, 61]; see **(2)** in :func:`strftime` description" msgstr "" -#: ../Doc/library/time.rst:563 +#: ../Doc/library/time.rst:498 msgid "6" msgstr "6" -#: ../Doc/library/time.rst:563 +#: ../Doc/library/time.rst:498 msgid ":attr:`tm_wday`" msgstr ":attr:`tm_wday`" -#: ../Doc/library/time.rst:563 +#: ../Doc/library/time.rst:498 msgid "range [0, 6], Monday is 0" msgstr "" -#: ../Doc/library/time.rst:565 +#: ../Doc/library/time.rst:500 msgid "7" msgstr "7" -#: ../Doc/library/time.rst:565 +#: ../Doc/library/time.rst:500 msgid ":attr:`tm_yday`" msgstr ":attr:`tm_yday`" -#: ../Doc/library/time.rst:565 +#: ../Doc/library/time.rst:500 msgid "range [1, 366]" msgstr "" -#: ../Doc/library/time.rst:567 +#: ../Doc/library/time.rst:502 msgid "8" msgstr "8" -#: ../Doc/library/time.rst:567 +#: ../Doc/library/time.rst:502 msgid ":attr:`tm_isdst`" msgstr ":attr:`tm_isdst`" -#: ../Doc/library/time.rst:567 +#: ../Doc/library/time.rst:502 msgid "0, 1 or -1; see below" msgstr "" -#: ../Doc/library/time.rst:569 ../Doc/library/time.rst:571 +#: ../Doc/library/time.rst:504 ../Doc/library/time.rst:506 msgid "N/A" msgstr "N/A" -#: ../Doc/library/time.rst:569 +#: ../Doc/library/time.rst:504 msgid ":attr:`tm_zone`" msgstr ":attr:`tm_zone`" -#: ../Doc/library/time.rst:569 +#: ../Doc/library/time.rst:504 msgid "abbreviation of timezone name" msgstr "" -#: ../Doc/library/time.rst:571 +#: ../Doc/library/time.rst:506 msgid ":attr:`tm_gmtoff`" msgstr ":attr:`tm_gmtoff`" -#: ../Doc/library/time.rst:571 +#: ../Doc/library/time.rst:506 msgid "offset east of UTC in seconds" msgstr "" -#: ../Doc/library/time.rst:574 +#: ../Doc/library/time.rst:509 msgid "" "Note that unlike the C structure, the month value is a range of [1, 12], not " "[0, 11]." msgstr "" -#: ../Doc/library/time.rst:577 +#: ../Doc/library/time.rst:512 msgid "" "In calls to :func:`mktime`, :attr:`tm_isdst` may be set to 1 when daylight " "savings time is in effect, and 0 when it is not. A value of -1 indicates " @@ -923,14 +877,14 @@ msgid "" "filled in." msgstr "" -#: ../Doc/library/time.rst:581 +#: ../Doc/library/time.rst:516 msgid "" "When a tuple with an incorrect length is passed to a function expecting a :" "class:`struct_time`, or having elements of the wrong type, a :exc:" "`TypeError` is raised." msgstr "" -#: ../Doc/library/time.rst:587 +#: ../Doc/library/time.rst:522 msgid "" "Return the time in seconds since the epoch_ as a floating point number. The " "specific date of the epoch and the handling of `leap seconds`_ is platform " @@ -941,7 +895,7 @@ msgid "" "platform, look at ``gmtime(0)``." msgstr "" -#: ../Doc/library/time.rst:597 +#: ../Doc/library/time.rst:532 msgid "" "Note that even though the time is always returned as a floating point " "number, not all systems provide time with a better precision than 1 second. " @@ -950,7 +904,7 @@ msgid "" "between the two calls." msgstr "" -#: ../Doc/library/time.rst:603 +#: ../Doc/library/time.rst:538 msgid "" "The number returned by :func:`.time` may be converted into a more common " "time format (i.e. year, month, day, hour, etc...) in UTC by passing it to :" @@ -960,61 +914,48 @@ msgid "" "attributes." msgstr "" -#: ../Doc/library/time.rst:612 -msgid "" -"The offset of the local (non-DST) timezone, in seconds west of UTC (negative " -"in most of Western Europe, positive in the US, zero in the UK)." -msgstr "" - -#: ../Doc/library/time.rst:618 -msgid "" -"A tuple of two strings: the first is the name of the local non-DST timezone, " -"the second is the name of the local DST timezone. If no DST timezone is " -"defined, the second string should not be used." -msgstr "" - -#: ../Doc/library/time.rst:625 +#: ../Doc/library/time.rst:548 msgid "" "Resets the time conversion rules used by the library routines. The " "environment variable :envvar:`TZ` specifies how this is done." msgstr "" -#: ../Doc/library/time.rst:632 +#: ../Doc/library/time.rst:555 msgid "" "Although in many cases, changing the :envvar:`TZ` environment variable may " "affect the output of functions like :func:`localtime` without calling :func:" "`tzset`, this behavior should not be relied on." msgstr "" -#: ../Doc/library/time.rst:636 +#: ../Doc/library/time.rst:559 msgid "The :envvar:`TZ` environment variable should contain no whitespace." msgstr "" -#: ../Doc/library/time.rst:638 +#: ../Doc/library/time.rst:561 msgid "" "The standard format of the :envvar:`TZ` environment variable is (whitespace " "added for clarity)::" msgstr "" -#: ../Doc/library/time.rst:643 +#: ../Doc/library/time.rst:566 msgid "Where the components are:" msgstr "" -#: ../Doc/library/time.rst:647 +#: ../Doc/library/time.rst:570 msgid "``std`` and ``dst``" msgstr "``std`` and ``dst``" -#: ../Doc/library/time.rst:646 +#: ../Doc/library/time.rst:569 msgid "" "Three or more alphanumerics giving the timezone abbreviations. These will be " "propagated into time.tzname" msgstr "" -#: ../Doc/library/time.rst:653 +#: ../Doc/library/time.rst:576 msgid "``offset``" msgstr "``offset``" -#: ../Doc/library/time.rst:650 +#: ../Doc/library/time.rst:573 msgid "" "The offset has the form: ``± hh[:mm[:ss]]``. This indicates the value added " "the local time to arrive at UTC. If preceded by a '-', the timezone is east " @@ -1022,41 +963,41 @@ msgid "" "summer time is assumed to be one hour ahead of standard time." msgstr "" -#: ../Doc/library/time.rst:675 +#: ../Doc/library/time.rst:598 msgid "``start[/time], end[/time]``" msgstr "``start[/time], end[/time]``" -#: ../Doc/library/time.rst:656 +#: ../Doc/library/time.rst:579 msgid "" "Indicates when to change to and back from DST. The format of the start and " "end dates are one of the following:" msgstr "" -#: ../Doc/library/time.rst:661 +#: ../Doc/library/time.rst:584 msgid ":samp:`J{n}`" msgstr ":samp:`J{n}`" -#: ../Doc/library/time.rst:660 +#: ../Doc/library/time.rst:583 msgid "" "The Julian day *n* (1 <= *n* <= 365). Leap days are not counted, so in all " "years February 28 is day 59 and March 1 is day 60." msgstr "" -#: ../Doc/library/time.rst:665 +#: ../Doc/library/time.rst:588 msgid ":samp:`{n}`" msgstr ":samp:`{n}`" -#: ../Doc/library/time.rst:664 +#: ../Doc/library/time.rst:587 msgid "" "The zero-based Julian day (0 <= *n* <= 365). Leap days are counted, and it " "is possible to refer to February 29." msgstr "" -#: ../Doc/library/time.rst:672 +#: ../Doc/library/time.rst:595 msgid ":samp:`M{m}.{n}.{d}`" msgstr ":samp:`M{m}.{n}.{d}`" -#: ../Doc/library/time.rst:668 +#: ../Doc/library/time.rst:591 msgid "" "The *d*'th day (0 <= *d* <= 6) of week *n* of month *m* of the year (1 <= " "*n* <= 5, 1 <= *m* <= 12, where week 5 means \"the last *d* day in month *m*" @@ -1064,13 +1005,13 @@ msgid "" "first week in which the *d*'th day occurs. Day zero is a Sunday." msgstr "" -#: ../Doc/library/time.rst:674 +#: ../Doc/library/time.rst:597 msgid "" "``time`` has the same format as ``offset`` except that no leading sign ('-' " "or '+') is allowed. The default, if time is not given, is 02:00:00." msgstr "" -#: ../Doc/library/time.rst:688 +#: ../Doc/library/time.rst:611 msgid "" "On many Unix systems (including \\*BSD, Linux, Solaris, and Darwin), it is " "more convenient to use the system's zoneinfo (:manpage:`tzfile(5)`) " @@ -1081,40 +1022,137 @@ msgid "" "``'Australia/Melbourne'``, ``'Egypt'`` or ``'Europe/Amsterdam'``. ::" msgstr "" -#: ../Doc/library/time.rst:709 +#: ../Doc/library/time.rst:632 +msgid "Clock ID Constants" +msgstr "" + +#: ../Doc/library/time.rst:634 +msgid "" +"These constants are used as parameters for :func:`clock_getres` and :func:" +"`clock_gettime`." +msgstr "" + +#: ../Doc/library/time.rst:639 +msgid "" +"The Solaris OS has a ``CLOCK_HIGHRES`` timer that attempts to use an optimal " +"hardware source, and may give close to nanosecond resolution. " +"``CLOCK_HIGHRES`` is the nonadjustable, high-resolution clock." +msgstr "" + +#: ../Doc/library/time.rst:643 +msgid "Availability: Solaris." +msgstr "" + +#: ../Doc/library/time.rst:650 +msgid "" +"Clock that cannot be set and represents monotonic time since some " +"unspecified starting point." +msgstr "" + +#: ../Doc/library/time.rst:660 +msgid "" +"Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw hardware-" +"based time that is not subject to NTP adjustments." +msgstr "" + +#: ../Doc/library/time.rst:663 +msgid "Availability: Linux 2.6.28 or later." +msgstr "" + +#: ../Doc/library/time.rst:670 +msgid "High-resolution per-process timer from the CPU." +msgstr "" + +#: ../Doc/library/time.rst:679 +msgid "Thread-specific CPU-time clock." +msgstr "" + +#: ../Doc/library/time.rst:686 +msgid "" +"The following constant is the only parameter that can be sent to :func:" +"`clock_settime`." +msgstr "" + +#: ../Doc/library/time.rst:691 +msgid "" +"System-wide real-time clock. Setting this clock requires appropriate " +"privileges." +msgstr "" + +#: ../Doc/library/time.rst:702 +msgid "Timezone Constants" +msgstr "" + +#: ../Doc/library/time.rst:706 +msgid "" +"The offset of the local DST timezone, in seconds west of UTC, if one is " +"defined. This is negative if the local DST timezone is east of UTC (as in " +"Western Europe, including the UK). Only use this if ``daylight`` is " +"nonzero. See note below." +msgstr "" + +#: ../Doc/library/time.rst:712 +msgid "Nonzero if a DST timezone is defined. See note below." +msgstr "" + +#: ../Doc/library/time.rst:716 +msgid "" +"The offset of the local (non-DST) timezone, in seconds west of UTC (negative " +"in most of Western Europe, positive in the US, zero in the UK). See note " +"below." +msgstr "" + +#: ../Doc/library/time.rst:721 +msgid "" +"A tuple of two strings: the first is the name of the local non-DST timezone, " +"the second is the name of the local DST timezone. If no DST timezone is " +"defined, the second string should not be used. See note below." +msgstr "" + +#: ../Doc/library/time.rst:727 +msgid "" +"For the above Timezone constants (:data:`altzone`, :data:`daylight`, :data:" +"`timezone`, and :data:`tzname`), the value is determined by the timezone " +"rules in effect at module load time or the last time :func:`tzset` is called " +"and may be incorrect for times in the past. It is recommended to use the :" +"attr:`tm_gmtoff` and :attr:`tm_zone` results from :func:`localtime` to " +"obtain timezone information." +msgstr "" + +#: ../Doc/library/time.rst:737 msgid "Module :mod:`datetime`" msgstr "Module :mod:`datetime`" -#: ../Doc/library/time.rst:709 +#: ../Doc/library/time.rst:737 msgid "More object-oriented interface to dates and times." msgstr "" -#: ../Doc/library/time.rst:713 +#: ../Doc/library/time.rst:741 msgid "Module :mod:`locale`" msgstr "Module :mod:`locale`" -#: ../Doc/library/time.rst:712 +#: ../Doc/library/time.rst:740 msgid "" "Internationalization services. The locale setting affects the " "interpretation of many format specifiers in :func:`strftime` and :func:" "`strptime`." msgstr "" -#: ../Doc/library/time.rst:716 +#: ../Doc/library/time.rst:744 msgid "Module :mod:`calendar`" msgstr "Module :mod:`calendar`" -#: ../Doc/library/time.rst:716 +#: ../Doc/library/time.rst:744 msgid "" "General calendar-related functions. :func:`~calendar.timegm` is the " "inverse of :func:`gmtime` from this module." msgstr "" -#: ../Doc/library/time.rst:720 +#: ../Doc/library/time.rst:748 msgid "Footnotes" msgstr "Notes" -#: ../Doc/library/time.rst:721 +#: ../Doc/library/time.rst:749 msgid "" "The use of ``%Z`` is now deprecated, but the ``%z`` escape that expands to " "the preferred hour/minute offset is not supported by all ANSI C libraries. " diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index d1c559e7..e9031672 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1685,23 +1685,42 @@ msgid "" "according to the following selection methods." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1105 +#: ../Doc/library/tkinter.ttk.rst:1104 +msgid "" +"Deprecated since version 3.6, will be removed in version 3.8: Using " +"selection() for changing the selection state is deprecated. Use the " +"following selection methods instead." +msgstr "" + +#: ../Doc/library/tkinter.ttk.rst:1104 +msgid "" +"Using ``selection()`` for changing the selection state is deprecated. Use " +"the following selection methods instead." +msgstr "" + +#: ../Doc/library/tkinter.ttk.rst:1109 msgid "*items* becomes the new selection." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1110 +#: ../Doc/library/tkinter.ttk.rst:1111 ../Doc/library/tkinter.ttk.rst:1119 +#: ../Doc/library/tkinter.ttk.rst:1127 ../Doc/library/tkinter.ttk.rst:1135 +msgid "" +"*items* can be passed as separate arguments, not just as a single tuple." +msgstr "" + +#: ../Doc/library/tkinter.ttk.rst:1117 msgid "Add *items* to the selection." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1115 +#: ../Doc/library/tkinter.ttk.rst:1125 msgid "Remove *items* from the selection." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1120 +#: ../Doc/library/tkinter.ttk.rst:1133 msgid "Toggle the selection state of each item in *items*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1125 +#: ../Doc/library/tkinter.ttk.rst:1141 msgid "" "With one argument, returns a dictionary of column/value pairs for the " "specified *item*. With two arguments, returns the current value of the " @@ -1709,18 +1728,18 @@ msgid "" "in given *item* to the specified *value*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1133 +#: ../Doc/library/tkinter.ttk.rst:1149 msgid "" "Bind a callback for the given event *sequence* to the tag *tagname*. When an " "event is delivered to an item, the callbacks for each of the item's tags " "option are called." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1140 +#: ../Doc/library/tkinter.ttk.rst:1156 msgid "Query or modify the options for the specified *tagname*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1142 +#: ../Doc/library/tkinter.ttk.rst:1158 msgid "" "If *kw* is not given, returns a dict of the option settings for *tagname*. " "If *option* is specified, returns the value for that *option* for the " @@ -1728,30 +1747,30 @@ msgid "" "for the given *tagname*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1150 +#: ../Doc/library/tkinter.ttk.rst:1166 msgid "" "If *item* is specified, returns 1 or 0 depending on whether the specified " "*item* has the given *tagname*. Otherwise, returns a list of all items that " "have the specified tag." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1154 +#: ../Doc/library/tkinter.ttk.rst:1170 msgid "Availability: Tk 8.6" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1159 +#: ../Doc/library/tkinter.ttk.rst:1175 msgid "Query or modify horizontal position of the treeview." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1164 +#: ../Doc/library/tkinter.ttk.rst:1180 msgid "Query or modify vertical position of the treeview." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1170 +#: ../Doc/library/tkinter.ttk.rst:1186 msgid "Ttk Styling" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1172 +#: ../Doc/library/tkinter.ttk.rst:1188 msgid "" "Each widget in :mod:`ttk` is assigned a style, which specifies the set of " "elements making up the widget and how they are arranged, along with dynamic " @@ -1761,52 +1780,52 @@ msgid "" "meth:`Misc.winfo_class` (somewidget.winfo_class())." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1181 +#: ../Doc/library/tkinter.ttk.rst:1197 msgid "" "`Tcl'2004 conference presentation `_" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1182 +#: ../Doc/library/tkinter.ttk.rst:1198 msgid "This document explains how the theme engine works" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1187 +#: ../Doc/library/tkinter.ttk.rst:1203 msgid "This class is used to manipulate the style database." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1192 +#: ../Doc/library/tkinter.ttk.rst:1208 msgid "Query or set the default value of the specified option(s) in *style*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1194 +#: ../Doc/library/tkinter.ttk.rst:1210 msgid "" "Each key in *kw* is an option and each value is a string identifying the " "value for that option." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1197 +#: ../Doc/library/tkinter.ttk.rst:1213 msgid "" "For example, to change every default button to be a flat button with some " "padding and a different background color::" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1216 +#: ../Doc/library/tkinter.ttk.rst:1232 msgid "Query or sets dynamic values of the specified option(s) in *style*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1218 +#: ../Doc/library/tkinter.ttk.rst:1234 msgid "" "Each key in *kw* is an option and each value should be a list or a tuple " "(usually) containing statespecs grouped in tuples, lists, or some other " "preference. A statespec is a compound of one or more states and then a value." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1223 +#: ../Doc/library/tkinter.ttk.rst:1239 msgid "An example may make it more understandable::" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1241 +#: ../Doc/library/tkinter.ttk.rst:1257 msgid "" "Note that the order of the (states, value) sequences for an option does " "matter, if the order is changed to ``[('active', 'blue'), ('pressed', " @@ -1814,28 +1833,28 @@ msgid "" "foreground when the widget were in active or pressed states." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1249 +#: ../Doc/library/tkinter.ttk.rst:1265 msgid "Returns the value specified for *option* in *style*." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1251 +#: ../Doc/library/tkinter.ttk.rst:1267 msgid "" "If *state* is specified, it is expected to be a sequence of one or more " "states. If the *default* argument is set, it is used as a fallback value in " "case no specification for option is found." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1255 +#: ../Doc/library/tkinter.ttk.rst:1271 msgid "To check what font a Button uses by default::" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1264 +#: ../Doc/library/tkinter.ttk.rst:1280 msgid "" "Define the widget layout for given *style*. If *layoutspec* is omitted, " "return the layout specification for given style." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1267 +#: ../Doc/library/tkinter.ttk.rst:1283 msgid "" "*layoutspec*, if specified, is expected to be a list or some other sequence " "type (excluding strings), where each item should be a tuple and the first " @@ -1843,77 +1862,77 @@ msgid "" "in `Layouts`_." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1272 +#: ../Doc/library/tkinter.ttk.rst:1288 msgid "" "To understand the format, see the following example (it is not intended to " "do anything useful)::" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1299 +#: ../Doc/library/tkinter.ttk.rst:1315 msgid "" "Create a new element in the current theme, of the given *etype* which is " "expected to be either \"image\", \"from\" or \"vsapi\". The latter is only " "available in Tk 8.6a for Windows XP and Vista and is not described here." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1303 +#: ../Doc/library/tkinter.ttk.rst:1319 msgid "" "If \"image\" is used, *args* should contain the default image name followed " "by statespec/value pairs (this is the imagespec), and *kw* may have the " "following options:" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1309 +#: ../Doc/library/tkinter.ttk.rst:1325 msgid "border=padding" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1308 +#: ../Doc/library/tkinter.ttk.rst:1324 msgid "" "padding is a list of up to four integers, specifying the left, top, right, " "and bottom borders, respectively." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1313 +#: ../Doc/library/tkinter.ttk.rst:1329 msgid "height=height" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1312 +#: ../Doc/library/tkinter.ttk.rst:1328 msgid "" "Specifies a minimum height for the element. If less than zero, the base " "image's height is used as a default." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1317 +#: ../Doc/library/tkinter.ttk.rst:1333 msgid "padding=padding" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1316 +#: ../Doc/library/tkinter.ttk.rst:1332 msgid "" "Specifies the element's interior padding. Defaults to border's value if not " "specified." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1321 +#: ../Doc/library/tkinter.ttk.rst:1337 msgid "sticky=spec" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1320 +#: ../Doc/library/tkinter.ttk.rst:1336 msgid "" "Specifies how the image is placed within the final parcel. spec contains " "zero or more characters \"n\", \"s\", \"w\", or \"e\"." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1325 +#: ../Doc/library/tkinter.ttk.rst:1341 msgid "width=width" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1324 +#: ../Doc/library/tkinter.ttk.rst:1340 msgid "" "Specifies a minimum width for the element. If less than zero, the base " "image's width is used as a default." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1327 +#: ../Doc/library/tkinter.ttk.rst:1343 msgid "" "If \"from\" is used as the value of *etype*, :meth:`element_create` will " "clone an existing element. *args* is expected to contain a themename, from " @@ -1922,19 +1941,19 @@ msgid "" "used. *kw* is discarded." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1337 +#: ../Doc/library/tkinter.ttk.rst:1353 msgid "Returns the list of elements defined in the current theme." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1342 +#: ../Doc/library/tkinter.ttk.rst:1358 msgid "Returns the list of *elementname*'s options." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1347 +#: ../Doc/library/tkinter.ttk.rst:1363 msgid "Create a new theme." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1349 +#: ../Doc/library/tkinter.ttk.rst:1365 msgid "" "It is an error if *themename* already exists. If *parent* is specified, the " "new theme will inherit styles, elements and layouts from the parent theme. " @@ -1942,13 +1961,13 @@ msgid "" "for :meth:`theme_settings`." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1357 +#: ../Doc/library/tkinter.ttk.rst:1373 msgid "" "Temporarily sets the current theme to *themename*, apply specified " "*settings* and then restore the previous theme." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1360 +#: ../Doc/library/tkinter.ttk.rst:1376 msgid "" "Each key in *settings* is a style and each value may contain the keys " "'configure', 'map', 'layout' and 'element create' and they are expected to " @@ -1957,26 +1976,26 @@ msgid "" "respectively." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1366 +#: ../Doc/library/tkinter.ttk.rst:1382 msgid "As an example, let's change the Combobox for the default theme a bit::" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1394 +#: ../Doc/library/tkinter.ttk.rst:1410 msgid "Returns a list of all known themes." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1399 +#: ../Doc/library/tkinter.ttk.rst:1415 msgid "" "If *themename* is not given, returns the theme in use. Otherwise, sets the " "current theme to *themename*, refreshes all widgets and emits a " "<> event." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1405 +#: ../Doc/library/tkinter.ttk.rst:1421 msgid "Layouts" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1407 +#: ../Doc/library/tkinter.ttk.rst:1423 msgid "" "A layout can be just ``None``, if it takes no options, or a dict of options " "specifying how to arrange the element. The layout mechanism uses a " @@ -1984,40 +2003,40 @@ msgid "" "each element is allocated a parcel. Valid options/values are:" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1416 +#: ../Doc/library/tkinter.ttk.rst:1432 msgid "side: whichside" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1414 +#: ../Doc/library/tkinter.ttk.rst:1430 msgid "" "Specifies which side of the cavity to place the element; one of top, right, " "bottom or left. If omitted, the element occupies the entire cavity." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1419 +#: ../Doc/library/tkinter.ttk.rst:1435 msgid "sticky: nswe" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1419 +#: ../Doc/library/tkinter.ttk.rst:1435 msgid "Specifies where the element is placed inside its allocated parcel." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1424 +#: ../Doc/library/tkinter.ttk.rst:1440 msgid "unit: 0 or 1" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1422 +#: ../Doc/library/tkinter.ttk.rst:1438 msgid "" "If set to 1, causes the element and all of its descendants to be treated as " "a single element for the purposes of :meth:`Widget.identify` et al. It's " "used for things like scrollbar thumbs with grips." msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1429 +#: ../Doc/library/tkinter.ttk.rst:1445 msgid "children: [sublayout... ]" msgstr "" -#: ../Doc/library/tkinter.ttk.rst:1427 +#: ../Doc/library/tkinter.ttk.rst:1443 msgid "" "Specifies a list of elements to place inside the element. Each element is a " "tuple (or other sequence type) where the first item is the layout name, and " diff --git a/library/turtle.po b/library/turtle.po index b2449c92..c04fddc1 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 00:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -45,10 +45,6 @@ msgid "" "degrees clockwise." msgstr "" -#: ../Doc/library/turtle.rst:0 -msgid "Turtle star" -msgstr "" - #: ../Doc/library/turtle.rst:33 msgid "" "Turtle can draw intricate shapes using programs that repeat simple moves." @@ -614,6 +610,10 @@ msgid "" "``turtle``." msgstr "" +#: ../Doc/library/turtle.rst:0 +msgid "Parameters" +msgstr "" + #: ../Doc/library/turtle.rst:247 ../Doc/library/turtle.rst:290 #: ../Doc/library/turtle.rst:313 ../Doc/library/turtle.rst:369 #: ../Doc/library/turtle.rst:390 ../Doc/library/turtle.rst:411 diff --git a/library/typing.po b/library/typing.po index 5dc3205d..e2efd87f 100644 --- a/library/typing.po +++ b/library/typing.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-01 13:21+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -116,16 +116,24 @@ msgstr "" #: ../Doc/library/typing.rst:113 msgid "" "This also means that it is not possible to create a subtype of ``Derived`` " -"since it is an identity function at runtime, not an actual type. Similarly, " -"it is not possible to create another :func:`NewType` based on a ``Derived`` " -"type::" +"since it is an identity function at runtime, not an actual type::" msgstr "" -#: ../Doc/library/typing.rst:127 -msgid "See :pep:`484` for more details." +#: ../Doc/library/typing.rst:123 +msgid "" +"However, it is possible to create a :func:`NewType` based on a 'derived' " +"``NewType``::" msgstr "" #: ../Doc/library/typing.rst:131 +msgid "and typechecking for ``ProUserId`` will work as expected." +msgstr "" + +#: ../Doc/library/typing.rst:133 +msgid "See :pep:`484` for more details." +msgstr "" + +#: ../Doc/library/typing.rst:137 msgid "" "Recall that the use of a type alias declares two types to be *equivalent* to " "one another. Doing ``Alias = Original`` will make the static type checker " @@ -133,7 +141,7 @@ msgid "" "This is useful when you want to simplify complex type signatures." msgstr "" -#: ../Doc/library/typing.rst:136 +#: ../Doc/library/typing.rst:142 msgid "" "In contrast, ``NewType`` declares one type to be a *subtype* of another. " "Doing ``Derived = NewType('Derived', Original)`` will make the static type " @@ -143,102 +151,102 @@ msgid "" "errors with minimal runtime cost." msgstr "" -#: ../Doc/library/typing.rst:144 +#: ../Doc/library/typing.rst:152 msgid "Callable" msgstr "" -#: ../Doc/library/typing.rst:146 +#: ../Doc/library/typing.rst:154 msgid "" "Frameworks expecting callback functions of specific signatures might be type " "hinted using ``Callable[[Arg1Type, Arg2Type], ReturnType]``." msgstr "" -#: ../Doc/library/typing.rst:149 +#: ../Doc/library/typing.rst:157 msgid "For example::" msgstr "Par exemple : ::" -#: ../Doc/library/typing.rst:160 +#: ../Doc/library/typing.rst:168 msgid "" "It is possible to declare the return type of a callable without specifying " "the call signature by substituting a literal ellipsis for the list of " "arguments in the type hint: ``Callable[..., ReturnType]``." msgstr "" -#: ../Doc/library/typing.rst:165 +#: ../Doc/library/typing.rst:173 msgid "Generics" msgstr "" -#: ../Doc/library/typing.rst:167 +#: ../Doc/library/typing.rst:175 msgid "" "Since type information about objects kept in containers cannot be statically " "inferred in a generic way, abstract base classes have been extended to " "support subscription to denote expected types for container elements." msgstr "" -#: ../Doc/library/typing.rst:178 +#: ../Doc/library/typing.rst:186 msgid "" "Generics can be parametrized by using a new factory available in typing " "called :class:`TypeVar`." msgstr "" -#: ../Doc/library/typing.rst:192 +#: ../Doc/library/typing.rst:200 msgid "User-defined generic types" msgstr "" -#: ../Doc/library/typing.rst:194 +#: ../Doc/library/typing.rst:202 msgid "A user-defined class can be defined as a generic class." msgstr "" -#: ../Doc/library/typing.rst:220 +#: ../Doc/library/typing.rst:228 msgid "" "``Generic[T]`` as a base class defines that the class ``LoggedVar`` takes a " "single type parameter ``T`` . This also makes ``T`` valid as a type within " "the class body." msgstr "" -#: ../Doc/library/typing.rst:224 +#: ../Doc/library/typing.rst:232 msgid "" "The :class:`Generic` base class uses a metaclass that defines :meth:" "`__getitem__` so that ``LoggedVar[t]`` is valid as a type::" msgstr "" -#: ../Doc/library/typing.rst:233 +#: ../Doc/library/typing.rst:241 msgid "" "A generic type can have any number of type variables, and type variables may " "be constrained::" msgstr "" -#: ../Doc/library/typing.rst:245 +#: ../Doc/library/typing.rst:253 msgid "" "Each type variable argument to :class:`Generic` must be distinct. This is " "thus invalid::" msgstr "" -#: ../Doc/library/typing.rst:256 +#: ../Doc/library/typing.rst:264 msgid "You can use multiple inheritance with :class:`Generic`::" msgstr "" -#: ../Doc/library/typing.rst:265 +#: ../Doc/library/typing.rst:273 msgid "" "When inheriting from generic classes, some type variables could be fixed::" msgstr "" -#: ../Doc/library/typing.rst:274 +#: ../Doc/library/typing.rst:282 msgid "In this case ``MyDict`` has a single parameter, ``T``." msgstr "" -#: ../Doc/library/typing.rst:276 +#: ../Doc/library/typing.rst:284 msgid "" "Using a generic class without specifying type parameters assumes :data:`Any` " "for each position. In the following example, ``MyIterable`` is not generic " "but implicitly inherits from ``Iterable[Any]``::" msgstr "" -#: ../Doc/library/typing.rst:284 +#: ../Doc/library/typing.rst:292 msgid "User defined generic type aliases are also supported. Examples::" msgstr "" -#: ../Doc/library/typing.rst:300 +#: ../Doc/library/typing.rst:308 msgid "" "The metaclass used by :class:`Generic` is a subclass of :class:`abc." "ABCMeta`. A generic class can be an ABC by including abstract methods or " @@ -248,24 +256,24 @@ msgid "" "hashable and comparable for equality." msgstr "" -#: ../Doc/library/typing.rst:309 +#: ../Doc/library/typing.rst:317 msgid "The :data:`Any` type" msgstr "" -#: ../Doc/library/typing.rst:311 +#: ../Doc/library/typing.rst:319 msgid "" "A special kind of type is :data:`Any`. A static type checker will treat " "every type as being compatible with :data:`Any` and :data:`Any` as being " "compatible with every type." msgstr "" -#: ../Doc/library/typing.rst:315 +#: ../Doc/library/typing.rst:323 msgid "" "This means that it is possible to perform any operation or method call on a " "value of type on :data:`Any` and assign it to any variable::" msgstr "" -#: ../Doc/library/typing.rst:333 +#: ../Doc/library/typing.rst:341 msgid "" "Notice that no typechecking is performed when assigning a value of type :" "data:`Any` to a more precise type. For example, the static type checker did " @@ -274,19 +282,19 @@ msgid "" "runtime!" msgstr "" -#: ../Doc/library/typing.rst:339 +#: ../Doc/library/typing.rst:347 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" msgstr "" -#: ../Doc/library/typing.rst:352 +#: ../Doc/library/typing.rst:360 msgid "" "This behavior allows :data:`Any` to be used as an *escape hatch* when you " "need to mix dynamically and statically typed code." msgstr "" -#: ../Doc/library/typing.rst:355 +#: ../Doc/library/typing.rst:363 msgid "" "Contrast the behavior of :data:`Any` with the behavior of :class:`object`. " "Similar to :data:`Any`, every type is a subtype of :class:`object`. However, " @@ -294,7 +302,7 @@ msgid "" "subtype of every other type." msgstr "" -#: ../Doc/library/typing.rst:360 +#: ../Doc/library/typing.rst:368 msgid "" "That means when the type of a value is :class:`object`, a type checker will " "reject almost all operations on it, and assigning it to a variable (or using " @@ -302,29 +310,29 @@ msgid "" "example::" msgstr "" -#: ../Doc/library/typing.rst:382 +#: ../Doc/library/typing.rst:390 msgid "" "Use :class:`object` to indicate that a value could be any type in a typesafe " "manner. Use :data:`Any` to indicate that a value is dynamically typed." msgstr "" -#: ../Doc/library/typing.rst:386 +#: ../Doc/library/typing.rst:394 msgid "Classes, functions, and decorators" msgstr "" -#: ../Doc/library/typing.rst:388 +#: ../Doc/library/typing.rst:396 msgid "The module defines the following classes, functions and decorators:" msgstr "" -#: ../Doc/library/typing.rst:392 +#: ../Doc/library/typing.rst:400 msgid "Type variable." msgstr "" -#: ../Doc/library/typing.rst:394 ../Doc/library/typing.rst:789 +#: ../Doc/library/typing.rst:402 ../Doc/library/typing.rst:803 msgid "Usage::" msgstr "" -#: ../Doc/library/typing.rst:399 +#: ../Doc/library/typing.rst:407 msgid "" "Type variables exist primarily for the benefit of static type checkers. " "They serve as the parameters for generic types as well as for generic " @@ -332,7 +340,7 @@ msgid "" "types. Generic functions work as follows::" msgstr "" -#: ../Doc/library/typing.rst:412 +#: ../Doc/library/typing.rst:420 msgid "" "The latter example's signature is essentially the overloading of ``(str, " "str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " @@ -340,13 +348,13 @@ msgid "" "still plain :class:`str`." msgstr "" -#: ../Doc/library/typing.rst:417 +#: ../Doc/library/typing.rst:425 msgid "" "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" "func:`isinstance` and :func:`issubclass` should not be used with types." msgstr "" -#: ../Doc/library/typing.rst:420 +#: ../Doc/library/typing.rst:428 msgid "" "Type variables may be marked covariant or contravariant by passing " "``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " @@ -356,22 +364,22 @@ msgid "" "must be a subclass of the boundary type, see :pep:`484`." msgstr "" -#: ../Doc/library/typing.rst:430 +#: ../Doc/library/typing.rst:438 msgid "Abstract base class for generic types." msgstr "" -#: ../Doc/library/typing.rst:432 +#: ../Doc/library/typing.rst:440 msgid "" "A generic type is typically declared by inheriting from an instantiation of " "this class with one or more type variables. For example, a generic mapping " "type might be defined as::" msgstr "" -#: ../Doc/library/typing.rst:441 +#: ../Doc/library/typing.rst:449 msgid "This class can then be used as follows::" msgstr "" -#: ../Doc/library/typing.rst:454 +#: ../Doc/library/typing.rst:462 msgid "" "A variable annotated with ``C`` may accept a value of type ``C``. In " "contrast, a variable annotated with ``Type[C]`` may accept values that are " @@ -379,11 +387,11 @@ msgid "" "``C``. For example::" msgstr "" -#: ../Doc/library/typing.rst:463 +#: ../Doc/library/typing.rst:471 msgid "Note that ``Type[C]`` is covariant::" msgstr "" -#: ../Doc/library/typing.rst:475 +#: ../Doc/library/typing.rst:483 msgid "" "The fact that ``Type[C]`` is covariant implies that all subclasses of ``C`` " "should implement the same constructor signature and class method signatures " @@ -393,277 +401,277 @@ msgid "" "particular case may change in future revisions of :pep:`484`." msgstr "" -#: ../Doc/library/typing.rst:483 +#: ../Doc/library/typing.rst:491 msgid "" "The only legal parameters for :class:`Type` are classes, unions of classes, " "and :data:`Any`. For example::" msgstr "" -#: ../Doc/library/typing.rst:488 +#: ../Doc/library/typing.rst:496 msgid "" "``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to " "``type``, which is the root of Python's metaclass hierarchy." msgstr "" -#: ../Doc/library/typing.rst:493 +#: ../Doc/library/typing.rst:503 msgid "A generic version of :class:`collections.abc.Iterable`." msgstr "" -#: ../Doc/library/typing.rst:497 +#: ../Doc/library/typing.rst:507 msgid "A generic version of :class:`collections.abc.Iterator`." msgstr "" -#: ../Doc/library/typing.rst:501 +#: ../Doc/library/typing.rst:511 msgid "A generic version of :class:`collections.abc.Reversible`." msgstr "" -#: ../Doc/library/typing.rst:505 +#: ../Doc/library/typing.rst:515 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: ../Doc/library/typing.rst:509 +#: ../Doc/library/typing.rst:519 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: ../Doc/library/typing.rst:513 +#: ../Doc/library/typing.rst:523 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: ../Doc/library/typing.rst:517 +#: ../Doc/library/typing.rst:527 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: ../Doc/library/typing.rst:521 +#: ../Doc/library/typing.rst:531 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: ../Doc/library/typing.rst:526 +#: ../Doc/library/typing.rst:536 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: ../Doc/library/typing.rst:531 +#: ../Doc/library/typing.rst:541 msgid "A generic version of :class:`collections.abc.Container`." msgstr "" -#: ../Doc/library/typing.rst:535 +#: ../Doc/library/typing.rst:545 msgid "An alias to :class:`collections.abc.Hashable`" msgstr "" -#: ../Doc/library/typing.rst:539 +#: ../Doc/library/typing.rst:549 msgid "An alias to :class:`collections.abc.Sized`" msgstr "" -#: ../Doc/library/typing.rst:543 +#: ../Doc/library/typing.rst:553 msgid "A generic version of :class:`collections.abc.Collection`" msgstr "" -#: ../Doc/library/typing.rst:549 +#: ../Doc/library/typing.rst:559 msgid "A generic version of :class:`collections.abc.Set`." msgstr "" -#: ../Doc/library/typing.rst:553 +#: ../Doc/library/typing.rst:563 msgid "A generic version of :class:`collections.abc.MutableSet`." msgstr "" -#: ../Doc/library/typing.rst:557 +#: ../Doc/library/typing.rst:567 msgid "A generic version of :class:`collections.abc.Mapping`." msgstr "" -#: ../Doc/library/typing.rst:561 +#: ../Doc/library/typing.rst:571 msgid "A generic version of :class:`collections.abc.MutableMapping`." msgstr "" -#: ../Doc/library/typing.rst:565 +#: ../Doc/library/typing.rst:575 msgid "A generic version of :class:`collections.abc.Sequence`." msgstr "" -#: ../Doc/library/typing.rst:569 +#: ../Doc/library/typing.rst:579 msgid "A generic version of :class:`collections.abc.MutableSequence`." msgstr "" -#: ../Doc/library/typing.rst:573 +#: ../Doc/library/typing.rst:583 msgid "A generic version of :class:`collections.abc.ByteString`." msgstr "" -#: ../Doc/library/typing.rst:575 +#: ../Doc/library/typing.rst:585 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview`." msgstr "" -#: ../Doc/library/typing.rst:578 +#: ../Doc/library/typing.rst:588 msgid "" "As a shorthand for this type, :class:`bytes` can be used to annotate " "arguments of any of the types mentioned above." msgstr "" -#: ../Doc/library/typing.rst:583 +#: ../Doc/library/typing.rst:593 msgid "A generic version of :class:`collections.deque`." msgstr "" -#: ../Doc/library/typing.rst:589 +#: ../Doc/library/typing.rst:599 msgid "" "Generic version of :class:`list`. Useful for annotating return types. To " "annotate arguments it is preferred to use abstract collection types such as :" "class:`Mapping`, :class:`Sequence`, or :class:`AbstractSet`." msgstr "" -#: ../Doc/library/typing.rst:594 +#: ../Doc/library/typing.rst:604 msgid "This type may be used as follows::" msgstr "" -#: ../Doc/library/typing.rst:606 +#: ../Doc/library/typing.rst:616 msgid "A generic version of :class:`builtins.set `." msgstr "" -#: ../Doc/library/typing.rst:610 +#: ../Doc/library/typing.rst:620 msgid "A generic version of :class:`builtins.frozenset `." msgstr "" -#: ../Doc/library/typing.rst:614 +#: ../Doc/library/typing.rst:624 msgid "A generic version of :class:`collections.abc.MappingView`." msgstr "" -#: ../Doc/library/typing.rst:618 +#: ../Doc/library/typing.rst:628 msgid "A generic version of :class:`collections.abc.KeysView`." msgstr "" -#: ../Doc/library/typing.rst:622 +#: ../Doc/library/typing.rst:632 msgid "A generic version of :class:`collections.abc.ItemsView`." msgstr "" -#: ../Doc/library/typing.rst:626 +#: ../Doc/library/typing.rst:636 msgid "A generic version of :class:`collections.abc.ValuesView`." msgstr "" -#: ../Doc/library/typing.rst:630 +#: ../Doc/library/typing.rst:640 msgid "A generic version of :class:`collections.abc.Awaitable`." msgstr "" -#: ../Doc/library/typing.rst:634 +#: ../Doc/library/typing.rst:644 msgid "" "A generic version of :class:`collections.abc.Coroutine`. The variance and " "order of type variables correspond to those of :class:`Generator`, for " "example::" msgstr "" -#: ../Doc/library/typing.rst:647 +#: ../Doc/library/typing.rst:657 msgid "A generic version of :class:`collections.abc.AsyncIterable`." msgstr "" -#: ../Doc/library/typing.rst:651 +#: ../Doc/library/typing.rst:661 msgid "A generic version of :class:`collections.abc.AsyncIterator`." msgstr "" -#: ../Doc/library/typing.rst:655 +#: ../Doc/library/typing.rst:665 msgid "A generic version of :class:`contextlib.AbstractContextManager`." msgstr "" -#: ../Doc/library/typing.rst:661 +#: ../Doc/library/typing.rst:671 msgid "" "A generic version of :class:`dict`. The usage of this type is as follows::" msgstr "" -#: ../Doc/library/typing.rst:669 +#: ../Doc/library/typing.rst:679 msgid "A generic version of :class:`collections.defaultdict`." msgstr "" -#: ../Doc/library/typing.rst:673 +#: ../Doc/library/typing.rst:685 msgid "A generic version of :class:`collections.Counter`." msgstr "" -#: ../Doc/library/typing.rst:679 +#: ../Doc/library/typing.rst:691 msgid "A generic version of :class:`collections.ChainMap`." msgstr "" -#: ../Doc/library/typing.rst:685 +#: ../Doc/library/typing.rst:697 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: ../Doc/library/typing.rst:694 +#: ../Doc/library/typing.rst:706 msgid "" "Note that unlike many other generics in the typing module, the ``SendType`` " "of :class:`Generator` behaves contravariantly, not covariantly or " "invariantly." msgstr "" -#: ../Doc/library/typing.rst:698 +#: ../Doc/library/typing.rst:710 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: ../Doc/library/typing.rst:706 +#: ../Doc/library/typing.rst:718 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: ../Doc/library/typing.rst:716 +#: ../Doc/library/typing.rst:728 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: ../Doc/library/typing.rst:725 +#: ../Doc/library/typing.rst:737 msgid "" "Unlike normal generators, async generators cannot return a value, so there " "is no ``ReturnType`` type parameter. As with :class:`Generator`, the " "``SendType`` behaves contravariantly." msgstr "" -#: ../Doc/library/typing.rst:729 +#: ../Doc/library/typing.rst:741 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: ../Doc/library/typing.rst:737 +#: ../Doc/library/typing.rst:749 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: ../Doc/library/typing.rst:749 +#: ../Doc/library/typing.rst:761 msgid "" "``Text`` is an alias for ``str``. It is provided to supply a forward " "compatible path for Python 2 code: in Python 2, ``Text`` is an alias for " "``unicode``." msgstr "" -#: ../Doc/library/typing.rst:753 +#: ../Doc/library/typing.rst:765 msgid "" "Use ``Text`` to indicate that a value must contain a unicode string in a " "manner that is compatible with both Python 2 and Python 3::" msgstr "" -#: ../Doc/library/typing.rst:761 +#: ../Doc/library/typing.rst:775 msgid "Wrapper namespace for I/O stream types." msgstr "" -#: ../Doc/library/typing.rst:763 +#: ../Doc/library/typing.rst:777 msgid "" "This defines the generic type ``IO[AnyStr]`` and aliases ``TextIO`` and " "``BinaryIO`` for respectively ``IO[str]`` and ``IO[bytes]``. These represent " "the types of I/O streams such as returned by :func:`open`." msgstr "" -#: ../Doc/library/typing.rst:768 +#: ../Doc/library/typing.rst:782 msgid "" "These types are also accessible directly as ``typing.IO``, ``typing." "TextIO``, and ``typing.BinaryIO``." msgstr "" -#: ../Doc/library/typing.rst:773 +#: ../Doc/library/typing.rst:787 msgid "Wrapper namespace for regular expression matching types." msgstr "" -#: ../Doc/library/typing.rst:775 +#: ../Doc/library/typing.rst:789 msgid "" "This defines the type aliases ``Pattern`` and ``Match`` which correspond to " "the return types from :func:`re.compile` and :func:`re.match`. These types " @@ -672,31 +680,31 @@ msgid "" "``Match[bytes]``." msgstr "" -#: ../Doc/library/typing.rst:782 +#: ../Doc/library/typing.rst:796 msgid "" "These types are also accessible directly as ``typing.Pattern`` and ``typing." "Match``." msgstr "" -#: ../Doc/library/typing.rst:787 +#: ../Doc/library/typing.rst:801 msgid "Typed version of namedtuple." msgstr "" -#: ../Doc/library/typing.rst:795 +#: ../Doc/library/typing.rst:809 msgid "This is equivalent to::" msgstr "C’est équivalent à ::" -#: ../Doc/library/typing.rst:799 +#: ../Doc/library/typing.rst:813 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" -#: ../Doc/library/typing.rst:808 +#: ../Doc/library/typing.rst:822 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" -#: ../Doc/library/typing.rst:810 +#: ../Doc/library/typing.rst:824 msgid "" "The resulting class has two extra attributes: ``_field_types``, giving a " "dict mapping field names to types, and ``_field_defaults``, a dict mapping " @@ -704,47 +712,47 @@ msgid "" "attribute, which is part of the namedtuple API.)" msgstr "" -#: ../Doc/library/typing.rst:815 +#: ../Doc/library/typing.rst:829 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" -#: ../Doc/library/typing.rst:825 +#: ../Doc/library/typing.rst:839 msgid "Backward-compatible usage::" msgstr "" -#: ../Doc/library/typing.rst:829 +#: ../Doc/library/typing.rst:843 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" -#: ../Doc/library/typing.rst:832 +#: ../Doc/library/typing.rst:846 msgid "Added support for default values, methods, and docstrings." msgstr "" -#: ../Doc/library/typing.rst:837 +#: ../Doc/library/typing.rst:851 msgid "" "A helper function to indicate a distinct types to a typechecker, see :ref:" "`distinct`. At runtime it returns a function that returns its argument. " "Usage::" msgstr "" -#: ../Doc/library/typing.rst:846 +#: ../Doc/library/typing.rst:862 msgid "Cast a value to a type." msgstr "" -#: ../Doc/library/typing.rst:848 +#: ../Doc/library/typing.rst:864 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " "check anything (we want this to be as fast as possible)." msgstr "" -#: ../Doc/library/typing.rst:855 +#: ../Doc/library/typing.rst:871 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: ../Doc/library/typing.rst:858 +#: ../Doc/library/typing.rst:874 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -754,7 +762,7 @@ msgid "" "merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." msgstr "" -#: ../Doc/library/typing.rst:868 +#: ../Doc/library/typing.rst:884 msgid "" "The ``@overload`` decorator allows describing functions and methods that " "support multiple different combinations of argument types. A series of " @@ -769,101 +777,101 @@ msgid "" "variable::" msgstr "" -#: ../Doc/library/typing.rst:892 +#: ../Doc/library/typing.rst:908 msgid "See :pep:`484` for details and comparison with other typing semantics." msgstr "" -#: ../Doc/library/typing.rst:896 +#: ../Doc/library/typing.rst:912 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: ../Doc/library/typing.rst:898 +#: ../Doc/library/typing.rst:914 msgid "" -"The argument must be a class or function; if it is a class, it applies " +"This works as class or function :term:`decorator`. With a class, it applies " "recursively to all methods defined in that class (but not to methods defined " "in its superclasses or subclasses)." msgstr "" -#: ../Doc/library/typing.rst:902 +#: ../Doc/library/typing.rst:918 msgid "This mutates the function(s) in place." msgstr "" -#: ../Doc/library/typing.rst:906 +#: ../Doc/library/typing.rst:922 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: ../Doc/library/typing.rst:908 +#: ../Doc/library/typing.rst:924 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: ../Doc/library/typing.rst:913 +#: ../Doc/library/typing.rst:929 msgid "Special type indicating an unconstrained type." msgstr "" -#: ../Doc/library/typing.rst:915 +#: ../Doc/library/typing.rst:931 msgid "Every type is compatible with :data:`Any`." msgstr "" -#: ../Doc/library/typing.rst:916 +#: ../Doc/library/typing.rst:932 msgid ":data:`Any` is compatible with every type." msgstr "" -#: ../Doc/library/typing.rst:920 +#: ../Doc/library/typing.rst:936 msgid "Union type; ``Union[X, Y]`` means either X or Y." msgstr "" -#: ../Doc/library/typing.rst:922 +#: ../Doc/library/typing.rst:938 msgid "To define a union, use e.g. ``Union[int, str]``. Details:" msgstr "" -#: ../Doc/library/typing.rst:924 +#: ../Doc/library/typing.rst:940 msgid "The arguments must be types and there must be at least one." msgstr "" -#: ../Doc/library/typing.rst:926 +#: ../Doc/library/typing.rst:942 msgid "Unions of unions are flattened, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:930 +#: ../Doc/library/typing.rst:946 msgid "Unions of a single argument vanish, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:934 +#: ../Doc/library/typing.rst:950 msgid "Redundant arguments are skipped, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:938 +#: ../Doc/library/typing.rst:954 msgid "When comparing unions, the argument order is ignored, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:942 +#: ../Doc/library/typing.rst:958 msgid "" "When a class and its subclass are present, the latter is skipped, e.g.::" msgstr "" -#: ../Doc/library/typing.rst:946 +#: ../Doc/library/typing.rst:962 msgid "You cannot subclass or instantiate a union." msgstr "" -#: ../Doc/library/typing.rst:948 +#: ../Doc/library/typing.rst:964 msgid "You cannot write ``Union[X][Y]``." msgstr "" -#: ../Doc/library/typing.rst:950 +#: ../Doc/library/typing.rst:966 msgid "You can use ``Optional[X]`` as a shorthand for ``Union[X, None]``." msgstr "" -#: ../Doc/library/typing.rst:954 +#: ../Doc/library/typing.rst:970 msgid "Optional type." msgstr "" -#: ../Doc/library/typing.rst:956 +#: ../Doc/library/typing.rst:972 msgid "``Optional[X]`` is equivalent to ``Union[X, None]``." msgstr "" -#: ../Doc/library/typing.rst:958 +#: ../Doc/library/typing.rst:974 msgid "" "Note that this is not the same concept as an optional argument, which is one " "that has a default. An optional argument with a default needn't use the " @@ -872,38 +880,38 @@ msgid "" "``Optional`` type if an explicit value of ``None`` is allowed." msgstr "" -#: ../Doc/library/typing.rst:967 +#: ../Doc/library/typing.rst:983 msgid "" "Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " "first item of type X and the second of type Y." msgstr "" -#: ../Doc/library/typing.rst:970 +#: ../Doc/library/typing.rst:986 msgid "" "Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " "variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a " "float and a string." msgstr "" -#: ../Doc/library/typing.rst:974 +#: ../Doc/library/typing.rst:990 msgid "" "To specify a variable-length tuple of homogeneous type, use literal " "ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " "``Tuple[Any, ...]``, and in turn to :class:`tuple`." msgstr "" -#: ../Doc/library/typing.rst:980 +#: ../Doc/library/typing.rst:996 msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." msgstr "" -#: ../Doc/library/typing.rst:982 +#: ../Doc/library/typing.rst:998 msgid "" "The subscription syntax must always be used with exactly two values: the " "argument list and the return type. The argument list must be a list of " "types or an ellipsis; the return type must be a single type." msgstr "" -#: ../Doc/library/typing.rst:987 +#: ../Doc/library/typing.rst:1003 msgid "" "There is no syntax to indicate optional or keyword arguments; such function " "types are rarely used as callback types. ``Callable[..., ReturnType]`` " @@ -913,22 +921,22 @@ msgid "" "Callable`." msgstr "" -#: ../Doc/library/typing.rst:997 +#: ../Doc/library/typing.rst:1013 msgid "Special type construct to mark class variables." msgstr "" -#: ../Doc/library/typing.rst:999 +#: ../Doc/library/typing.rst:1015 msgid "" "As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " "indicates that a given attribute is intended to be used as a class variable " "and should not be set on instances of that class. Usage::" msgstr "" -#: ../Doc/library/typing.rst:1007 +#: ../Doc/library/typing.rst:1023 msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgstr "" -#: ../Doc/library/typing.rst:1009 +#: ../Doc/library/typing.rst:1025 msgid "" ":data:`ClassVar` is not a class itself, and should not be used with :func:" "`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " @@ -936,25 +944,25 @@ msgid "" "example, a type checker might flag the following code as an error::" msgstr "" -#: ../Doc/library/typing.rst:1023 +#: ../Doc/library/typing.rst:1039 msgid "" "``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, " "bytes)``." msgstr "" -#: ../Doc/library/typing.rst:1026 +#: ../Doc/library/typing.rst:1042 msgid "" "It is meant to be used for functions that may accept any kind of string " "without allowing different kinds of strings to mix. For example::" msgstr "" -#: ../Doc/library/typing.rst:1038 +#: ../Doc/library/typing.rst:1054 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" msgstr "" -#: ../Doc/library/typing.rst:1047 +#: ../Doc/library/typing.rst:1063 msgid "" "Note that the first type annotation must be enclosed in quotes, making it a " "\"forward reference\", to hide the ``expensive_mod`` reference from the " diff --git a/library/unittest.po b/library/unittest.po index 3a5f66a7..a2cf8b91 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-01 14:02+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -500,7 +500,7 @@ msgid "" "can do it yourself::" msgstr "" -#: ../Doc/library/unittest.rst:409 +#: ../Doc/library/unittest.rst:413 msgid "" "You can place the definitions of test cases and test suites in the same " "modules as the code they are to test (such as :file:`widget.py`), but there " @@ -508,69 +508,69 @@ msgid "" "as :file:`test_widget.py`:" msgstr "" -#: ../Doc/library/unittest.rst:414 +#: ../Doc/library/unittest.rst:418 msgid "The test module can be run standalone from the command line." msgstr "" -#: ../Doc/library/unittest.rst:416 +#: ../Doc/library/unittest.rst:420 msgid "The test code can more easily be separated from shipped code." msgstr "" -#: ../Doc/library/unittest.rst:418 +#: ../Doc/library/unittest.rst:422 msgid "" "There is less temptation to change test code to fit the code it tests " "without a good reason." msgstr "" -#: ../Doc/library/unittest.rst:421 +#: ../Doc/library/unittest.rst:425 msgid "" "Test code should be modified much less frequently than the code it tests." msgstr "" -#: ../Doc/library/unittest.rst:423 +#: ../Doc/library/unittest.rst:427 msgid "Tested code can be refactored more easily." msgstr "" -#: ../Doc/library/unittest.rst:425 +#: ../Doc/library/unittest.rst:429 msgid "" "Tests for modules written in C must be in separate modules anyway, so why " "not be consistent?" msgstr "" -#: ../Doc/library/unittest.rst:428 +#: ../Doc/library/unittest.rst:432 msgid "" "If the testing strategy changes, there is no need to change the source code." msgstr "" -#: ../Doc/library/unittest.rst:434 +#: ../Doc/library/unittest.rst:438 msgid "Re-using old test code" msgstr "" -#: ../Doc/library/unittest.rst:436 +#: ../Doc/library/unittest.rst:440 msgid "" "Some users will find that they have existing test code that they would like " "to run from :mod:`unittest`, without converting every old test function to " "a :class:`TestCase` subclass." msgstr "" -#: ../Doc/library/unittest.rst:440 +#: ../Doc/library/unittest.rst:444 msgid "" "For this reason, :mod:`unittest` provides a :class:`FunctionTestCase` class. " "This subclass of :class:`TestCase` can be used to wrap an existing test " "function. Set-up and tear-down functions can also be provided." msgstr "" -#: ../Doc/library/unittest.rst:444 +#: ../Doc/library/unittest.rst:448 msgid "Given the following test function::" msgstr "" -#: ../Doc/library/unittest.rst:451 +#: ../Doc/library/unittest.rst:455 msgid "" "one can create an equivalent test case instance as follows, with optional " "set-up and tear-down methods::" msgstr "" -#: ../Doc/library/unittest.rst:460 +#: ../Doc/library/unittest.rst:464 msgid "" "Even though :class:`FunctionTestCase` can be used to quickly convert an " "existing test base over to a :mod:`unittest`\\ -based system, this approach " @@ -578,7 +578,7 @@ msgid "" "subclasses will make future test refactorings infinitely easier." msgstr "" -#: ../Doc/library/unittest.rst:465 +#: ../Doc/library/unittest.rst:469 msgid "" "In some cases, the existing tests may have been written using the :mod:" "`doctest` module. If so, :mod:`doctest` provides a :class:`DocTestSuite` " @@ -586,11 +586,11 @@ msgid "" "from the existing :mod:`doctest`\\ -based tests." msgstr "" -#: ../Doc/library/unittest.rst:474 +#: ../Doc/library/unittest.rst:478 msgid "Skipping tests and expected failures" msgstr "" -#: ../Doc/library/unittest.rst:478 +#: ../Doc/library/unittest.rst:482 msgid "" "Unittest supports skipping individual test methods and even whole classes of " "tests. In addition, it supports marking a test as an \"expected failure,\" " @@ -598,76 +598,76 @@ msgid "" "on a :class:`TestResult`." msgstr "" -#: ../Doc/library/unittest.rst:483 +#: ../Doc/library/unittest.rst:487 msgid "" "Skipping a test is simply a matter of using the :func:`skip` :term:" "`decorator` or one of its conditional variants." msgstr "" -#: ../Doc/library/unittest.rst:486 +#: ../Doc/library/unittest.rst:490 msgid "Basic skipping looks like this::" msgstr "" -#: ../Doc/library/unittest.rst:505 +#: ../Doc/library/unittest.rst:509 msgid "This is the output of running the example above in verbose mode::" msgstr "" -#: ../Doc/library/unittest.rst:516 +#: ../Doc/library/unittest.rst:520 msgid "Classes can be skipped just like methods::" msgstr "" -#: ../Doc/library/unittest.rst:523 +#: ../Doc/library/unittest.rst:527 msgid "" ":meth:`TestCase.setUp` can also skip the test. This is useful when a " "resource that needs to be set up is not available." msgstr "" -#: ../Doc/library/unittest.rst:526 +#: ../Doc/library/unittest.rst:530 msgid "Expected failures use the :func:`expectedFailure` decorator. ::" msgstr "" -#: ../Doc/library/unittest.rst:533 +#: ../Doc/library/unittest.rst:537 msgid "" "It's easy to roll your own skipping decorators by making a decorator that " "calls :func:`skip` on the test when it wants it to be skipped. This " "decorator skips the test unless the passed object has a certain attribute::" msgstr "" -#: ../Doc/library/unittest.rst:542 +#: ../Doc/library/unittest.rst:546 msgid "The following decorators implement test skipping and expected failures:" msgstr "" -#: ../Doc/library/unittest.rst:546 +#: ../Doc/library/unittest.rst:550 msgid "" "Unconditionally skip the decorated test. *reason* should describe why the " "test is being skipped." msgstr "" -#: ../Doc/library/unittest.rst:551 +#: ../Doc/library/unittest.rst:555 msgid "Skip the decorated test if *condition* is true." msgstr "" -#: ../Doc/library/unittest.rst:555 +#: ../Doc/library/unittest.rst:559 msgid "Skip the decorated test unless *condition* is true." msgstr "" -#: ../Doc/library/unittest.rst:559 +#: ../Doc/library/unittest.rst:563 msgid "" "Mark the test as an expected failure. If the test fails when run, the test " "is not counted as a failure." msgstr "" -#: ../Doc/library/unittest.rst:564 +#: ../Doc/library/unittest.rst:568 msgid "This exception is raised to skip a test." msgstr "" -#: ../Doc/library/unittest.rst:566 +#: ../Doc/library/unittest.rst:570 msgid "" "Usually you can use :meth:`TestCase.skipTest` or one of the skipping " "decorators instead of raising this directly." msgstr "" -#: ../Doc/library/unittest.rst:569 +#: ../Doc/library/unittest.rst:573 msgid "" "Skipped tests will not have :meth:`~TestCase.setUp` or :meth:`~TestCase." "tearDown` run around them. Skipped classes will not have :meth:`~TestCase." @@ -675,45 +675,45 @@ msgid "" "have :func:`setUpModule` or :func:`tearDownModule` run." msgstr "" -#: ../Doc/library/unittest.rst:577 +#: ../Doc/library/unittest.rst:581 msgid "Distinguishing test iterations using subtests" msgstr "" -#: ../Doc/library/unittest.rst:581 +#: ../Doc/library/unittest.rst:585 msgid "" "When some of your tests differ only by a some very small differences, for " "instance some parameters, unittest allows you to distinguish them inside the " "body of a test method using the :meth:`~TestCase.subTest` context manager." msgstr "" -#: ../Doc/library/unittest.rst:585 +#: ../Doc/library/unittest.rst:589 msgid "For example, the following test::" msgstr "" -#: ../Doc/library/unittest.rst:597 +#: ../Doc/library/unittest.rst:601 msgid "will produce the following output::" msgstr "" -#: ../Doc/library/unittest.rst:623 +#: ../Doc/library/unittest.rst:627 msgid "" "Without using a subtest, execution would stop after the first failure, and " "the error would be less easy to diagnose because the value of ``i`` wouldn't " "be displayed::" msgstr "" -#: ../Doc/library/unittest.rst:639 +#: ../Doc/library/unittest.rst:643 msgid "Classes and functions" msgstr "" -#: ../Doc/library/unittest.rst:641 +#: ../Doc/library/unittest.rst:645 msgid "This section describes in depth the API of :mod:`unittest`." msgstr "" -#: ../Doc/library/unittest.rst:647 +#: ../Doc/library/unittest.rst:651 msgid "Test cases" msgstr "" -#: ../Doc/library/unittest.rst:651 +#: ../Doc/library/unittest.rst:655 msgid "" "Instances of the :class:`TestCase` class represent the logical test units in " "the :mod:`unittest` universe. This class is intended to be used as a base " @@ -723,21 +723,21 @@ msgid "" "report various kinds of failure." msgstr "" -#: ../Doc/library/unittest.rst:658 +#: ../Doc/library/unittest.rst:662 msgid "" "Each instance of :class:`TestCase` will run a single base method: the method " "named *methodName*. In most uses of :class:`TestCase`, you will neither " "change the *methodName* nor reimplement the default ``runTest()`` method." msgstr "" -#: ../Doc/library/unittest.rst:663 +#: ../Doc/library/unittest.rst:667 msgid "" ":class:`TestCase` can be instantiated successfully without providing a " "*methodName*. This makes it easier to experiment with :class:`TestCase` from " "the interactive interpreter." msgstr "" -#: ../Doc/library/unittest.rst:668 +#: ../Doc/library/unittest.rst:672 msgid "" ":class:`TestCase` instances provide three groups of methods: one group used " "to run the test, another used by the test implementation to check conditions " @@ -745,11 +745,11 @@ msgid "" "test itself to be gathered." msgstr "" -#: ../Doc/library/unittest.rst:673 +#: ../Doc/library/unittest.rst:677 msgid "Methods in the first group (running the test) are:" msgstr "" -#: ../Doc/library/unittest.rst:677 +#: ../Doc/library/unittest.rst:681 msgid "" "Method called to prepare the test fixture. This is called immediately " "before calling the test method; other than :exc:`AssertionError` or :exc:" @@ -757,7 +757,7 @@ msgid "" "rather than a test failure. The default implementation does nothing." msgstr "" -#: ../Doc/library/unittest.rst:685 +#: ../Doc/library/unittest.rst:689 msgid "" "Method called immediately after the test method has been called and the " "result recorded. This is called even if the test method raised an " @@ -770,25 +770,25 @@ msgid "" "The default implementation does nothing." msgstr "" -#: ../Doc/library/unittest.rst:698 +#: ../Doc/library/unittest.rst:702 msgid "" "A class method called before tests in an individual class run. " "``setUpClass`` is called with the class as the only argument and must be " "decorated as a :func:`classmethod`::" msgstr "" -#: ../Doc/library/unittest.rst:706 ../Doc/library/unittest.rst:721 +#: ../Doc/library/unittest.rst:710 ../Doc/library/unittest.rst:725 msgid "See `Class and Module Fixtures`_ for more details." msgstr "" -#: ../Doc/library/unittest.rst:713 +#: ../Doc/library/unittest.rst:717 msgid "" "A class method called after tests in an individual class have run. " "``tearDownClass`` is called with the class as the only argument and must be " "decorated as a :meth:`classmethod`::" msgstr "" -#: ../Doc/library/unittest.rst:728 +#: ../Doc/library/unittest.rst:732 msgid "" "Run the test, collecting the result into the :class:`TestResult` object " "passed as *result*. If *result* is omitted or ``None``, a temporary result " @@ -796,184 +796,184 @@ msgid "" "used. The result object is returned to :meth:`run`'s caller." msgstr "" -#: ../Doc/library/unittest.rst:734 +#: ../Doc/library/unittest.rst:738 msgid "" "The same effect may be had by simply calling the :class:`TestCase` instance." msgstr "" -#: ../Doc/library/unittest.rst:737 +#: ../Doc/library/unittest.rst:741 msgid "" "Previous versions of ``run`` did not return the result. Neither did calling " "an instance." msgstr "" -#: ../Doc/library/unittest.rst:743 +#: ../Doc/library/unittest.rst:747 msgid "" "Calling this during a test method or :meth:`setUp` skips the current test. " "See :ref:`unittest-skipping` for more information." msgstr "" -#: ../Doc/library/unittest.rst:751 +#: ../Doc/library/unittest.rst:755 msgid "" "Return a context manager which executes the enclosed code block as a " "subtest. *msg* and *params* are optional, arbitrary values which are " "displayed whenever a subtest fails, allowing you to identify them clearly." msgstr "" -#: ../Doc/library/unittest.rst:756 +#: ../Doc/library/unittest.rst:760 msgid "" "A test case can contain any number of subtest declarations, and they can be " "arbitrarily nested." msgstr "" -#: ../Doc/library/unittest.rst:759 +#: ../Doc/library/unittest.rst:763 msgid "See :ref:`subtests` for more information." msgstr "" -#: ../Doc/library/unittest.rst:766 +#: ../Doc/library/unittest.rst:770 msgid "" "Run the test without collecting the result. This allows exceptions raised " "by the test to be propagated to the caller, and can be used to support " "running tests under a debugger." msgstr "" -#: ../Doc/library/unittest.rst:772 +#: ../Doc/library/unittest.rst:776 msgid "" "The :class:`TestCase` class provides several assert methods to check for and " "report failures. The following table lists the most commonly used methods " "(see the tables below for more assert methods):" msgstr "" -#: ../Doc/library/unittest.rst:777 ../Doc/library/unittest.rst:899 -#: ../Doc/library/unittest.rst:1091 ../Doc/library/unittest.rst:1218 +#: ../Doc/library/unittest.rst:781 ../Doc/library/unittest.rst:903 +#: ../Doc/library/unittest.rst:1095 ../Doc/library/unittest.rst:1222 msgid "Method" msgstr "Méthode" -#: ../Doc/library/unittest.rst:777 ../Doc/library/unittest.rst:899 -#: ../Doc/library/unittest.rst:1091 +#: ../Doc/library/unittest.rst:781 ../Doc/library/unittest.rst:903 +#: ../Doc/library/unittest.rst:1095 msgid "Checks that" msgstr "" -#: ../Doc/library/unittest.rst:777 ../Doc/library/unittest.rst:899 -#: ../Doc/library/unittest.rst:1091 ../Doc/library/unittest.rst:1218 +#: ../Doc/library/unittest.rst:781 ../Doc/library/unittest.rst:903 +#: ../Doc/library/unittest.rst:1095 ../Doc/library/unittest.rst:1222 msgid "New in" msgstr "" -#: ../Doc/library/unittest.rst:779 +#: ../Doc/library/unittest.rst:783 msgid ":meth:`assertEqual(a, b) `" msgstr ":meth:`assertEqual(a, b) `" -#: ../Doc/library/unittest.rst:779 +#: ../Doc/library/unittest.rst:783 msgid "``a == b``" msgstr "``a == b``" -#: ../Doc/library/unittest.rst:782 +#: ../Doc/library/unittest.rst:786 msgid ":meth:`assertNotEqual(a, b) `" msgstr ":meth:`assertNotEqual(a, b) `" -#: ../Doc/library/unittest.rst:782 +#: ../Doc/library/unittest.rst:786 msgid "``a != b``" msgstr "``a != b``" -#: ../Doc/library/unittest.rst:785 +#: ../Doc/library/unittest.rst:789 msgid ":meth:`assertTrue(x) `" msgstr ":meth:`assertTrue(x) `" -#: ../Doc/library/unittest.rst:785 +#: ../Doc/library/unittest.rst:789 msgid "``bool(x) is True``" msgstr "``bool(x) is True``" -#: ../Doc/library/unittest.rst:788 +#: ../Doc/library/unittest.rst:792 msgid ":meth:`assertFalse(x) `" msgstr ":meth:`assertFalse(x) `" -#: ../Doc/library/unittest.rst:788 +#: ../Doc/library/unittest.rst:792 msgid "``bool(x) is False``" msgstr "``bool(x) is False``" -#: ../Doc/library/unittest.rst:791 +#: ../Doc/library/unittest.rst:795 msgid ":meth:`assertIs(a, b) `" msgstr ":meth:`assertIs(a, b) `" -#: ../Doc/library/unittest.rst:791 +#: ../Doc/library/unittest.rst:795 msgid "``a is b``" msgstr "``a is b``" -#: ../Doc/library/unittest.rst:791 ../Doc/library/unittest.rst:794 -#: ../Doc/library/unittest.rst:797 ../Doc/library/unittest.rst:800 -#: ../Doc/library/unittest.rst:803 ../Doc/library/unittest.rst:806 -#: ../Doc/library/unittest.rst:904 ../Doc/library/unittest.rst:1099 -#: ../Doc/library/unittest.rst:1102 ../Doc/library/unittest.rst:1105 -#: ../Doc/library/unittest.rst:1108 ../Doc/library/unittest.rst:1111 -#: ../Doc/library/unittest.rst:1220 ../Doc/library/unittest.rst:1223 -#: ../Doc/library/unittest.rst:1226 ../Doc/library/unittest.rst:1229 -#: ../Doc/library/unittest.rst:1232 ../Doc/library/unittest.rst:1235 +#: ../Doc/library/unittest.rst:795 ../Doc/library/unittest.rst:798 +#: ../Doc/library/unittest.rst:801 ../Doc/library/unittest.rst:804 +#: ../Doc/library/unittest.rst:807 ../Doc/library/unittest.rst:810 +#: ../Doc/library/unittest.rst:908 ../Doc/library/unittest.rst:1103 +#: ../Doc/library/unittest.rst:1106 ../Doc/library/unittest.rst:1109 +#: ../Doc/library/unittest.rst:1112 ../Doc/library/unittest.rst:1115 +#: ../Doc/library/unittest.rst:1224 ../Doc/library/unittest.rst:1227 +#: ../Doc/library/unittest.rst:1230 ../Doc/library/unittest.rst:1233 +#: ../Doc/library/unittest.rst:1236 ../Doc/library/unittest.rst:1239 msgid "3.1" msgstr "3.1" -#: ../Doc/library/unittest.rst:794 +#: ../Doc/library/unittest.rst:798 msgid ":meth:`assertIsNot(a, b) `" msgstr ":meth:`assertIsNot(a, b) `" -#: ../Doc/library/unittest.rst:794 +#: ../Doc/library/unittest.rst:798 msgid "``a is not b``" msgstr "``a is not b``" -#: ../Doc/library/unittest.rst:797 +#: ../Doc/library/unittest.rst:801 msgid ":meth:`assertIsNone(x) `" msgstr ":meth:`assertIsNone(x) `" -#: ../Doc/library/unittest.rst:797 +#: ../Doc/library/unittest.rst:801 msgid "``x is None``" msgstr "``x is None``" -#: ../Doc/library/unittest.rst:800 +#: ../Doc/library/unittest.rst:804 msgid ":meth:`assertIsNotNone(x) `" msgstr ":meth:`assertIsNotNone(x) `" -#: ../Doc/library/unittest.rst:800 +#: ../Doc/library/unittest.rst:804 msgid "``x is not None``" msgstr "``x is not None``" -#: ../Doc/library/unittest.rst:803 +#: ../Doc/library/unittest.rst:807 msgid ":meth:`assertIn(a, b) `" msgstr ":meth:`assertIn(a, b) `" -#: ../Doc/library/unittest.rst:803 +#: ../Doc/library/unittest.rst:807 msgid "``a in b``" msgstr "``a in b``" -#: ../Doc/library/unittest.rst:806 +#: ../Doc/library/unittest.rst:810 msgid ":meth:`assertNotIn(a, b) `" msgstr ":meth:`assertNotIn(a, b) `" -#: ../Doc/library/unittest.rst:806 +#: ../Doc/library/unittest.rst:810 msgid "``a not in b``" msgstr "``a not in b``" -#: ../Doc/library/unittest.rst:809 +#: ../Doc/library/unittest.rst:813 msgid ":meth:`assertIsInstance(a, b) `" msgstr ":meth:`assertIsInstance(a, b) `" -#: ../Doc/library/unittest.rst:809 +#: ../Doc/library/unittest.rst:813 msgid "``isinstance(a, b)``" msgstr "``isinstance(a, b)``" -#: ../Doc/library/unittest.rst:809 ../Doc/library/unittest.rst:812 -#: ../Doc/library/unittest.rst:907 ../Doc/library/unittest.rst:910 -#: ../Doc/library/unittest.rst:1114 ../Doc/library/unittest.rst:1117 +#: ../Doc/library/unittest.rst:813 ../Doc/library/unittest.rst:816 +#: ../Doc/library/unittest.rst:911 ../Doc/library/unittest.rst:914 +#: ../Doc/library/unittest.rst:1118 ../Doc/library/unittest.rst:1121 msgid "3.2" msgstr "3.2" -#: ../Doc/library/unittest.rst:812 +#: ../Doc/library/unittest.rst:816 msgid ":meth:`assertNotIsInstance(a, b) `" msgstr ":meth:`assertNotIsInstance(a, b) `" -#: ../Doc/library/unittest.rst:812 +#: ../Doc/library/unittest.rst:816 msgid "``not isinstance(a, b)``" msgstr "``not isinstance(a, b)``" -#: ../Doc/library/unittest.rst:816 +#: ../Doc/library/unittest.rst:820 msgid "" "All the assert methods accept a *msg* argument that, if specified, is used " "as the error message on failure (see also :data:`longMessage`). Note that " @@ -982,13 +982,13 @@ msgid "" "they are used as a context manager." msgstr "" -#: ../Doc/library/unittest.rst:824 +#: ../Doc/library/unittest.rst:828 msgid "" "Test that *first* and *second* are equal. If the values do not compare " "equal, the test will fail." msgstr "" -#: ../Doc/library/unittest.rst:827 +#: ../Doc/library/unittest.rst:831 msgid "" "In addition, if *first* and *second* are the exact same type and one of " "list, tuple, dict, set, frozenset or str or any type that a subclass " @@ -998,27 +998,27 @@ msgid "" "methods>`)." msgstr "" -#: ../Doc/library/unittest.rst:834 +#: ../Doc/library/unittest.rst:838 msgid "Added the automatic calling of type-specific equality function." msgstr "" -#: ../Doc/library/unittest.rst:837 +#: ../Doc/library/unittest.rst:841 msgid "" ":meth:`assertMultiLineEqual` added as the default type equality function for " "comparing strings." msgstr "" -#: ../Doc/library/unittest.rst:844 +#: ../Doc/library/unittest.rst:848 msgid "" "Test that *first* and *second* are not equal. If the values do compare " "equal, the test will fail." msgstr "" -#: ../Doc/library/unittest.rst:850 +#: ../Doc/library/unittest.rst:854 msgid "Test that *expr* is true (or false)." msgstr "" -#: ../Doc/library/unittest.rst:852 +#: ../Doc/library/unittest.rst:856 msgid "" "Note that this is equivalent to ``bool(expr) is True`` and not to ``expr is " "True`` (use ``assertIs(expr, True)`` for the latter). This method should " @@ -1027,82 +1027,82 @@ msgid "" "provide a better error message in case of failure." msgstr "" -#: ../Doc/library/unittest.rst:862 +#: ../Doc/library/unittest.rst:866 msgid "" "Test that *first* and *second* evaluate (or don't evaluate) to the same " "object." msgstr "" -#: ../Doc/library/unittest.rst:871 +#: ../Doc/library/unittest.rst:875 msgid "Test that *expr* is (or is not) ``None``." msgstr "" -#: ../Doc/library/unittest.rst:879 +#: ../Doc/library/unittest.rst:883 msgid "Test that *first* is (or is not) in *second*." msgstr "" -#: ../Doc/library/unittest.rst:887 +#: ../Doc/library/unittest.rst:891 msgid "" "Test that *obj* is (or is not) an instance of *cls* (which can be a class or " "a tuple of classes, as supported by :func:`isinstance`). To check for the " "exact type, use :func:`assertIs(type(obj), cls) `." msgstr "" -#: ../Doc/library/unittest.rst:895 +#: ../Doc/library/unittest.rst:899 msgid "" "It is also possible to check the production of exceptions, warnings, and log " "messages using the following methods:" msgstr "" -#: ../Doc/library/unittest.rst:901 +#: ../Doc/library/unittest.rst:905 msgid ":meth:`assertRaises(exc, fun, *args, **kwds) `" msgstr "" -#: ../Doc/library/unittest.rst:901 +#: ../Doc/library/unittest.rst:905 msgid "``fun(*args, **kwds)`` raises *exc*" msgstr "" -#: ../Doc/library/unittest.rst:904 +#: ../Doc/library/unittest.rst:908 msgid "" ":meth:`assertRaisesRegex(exc, r, fun, *args, **kwds) `" msgstr "" -#: ../Doc/library/unittest.rst:904 +#: ../Doc/library/unittest.rst:908 msgid "``fun(*args, **kwds)`` raises *exc* and the message matches regex *r*" msgstr "" -#: ../Doc/library/unittest.rst:907 +#: ../Doc/library/unittest.rst:911 msgid ":meth:`assertWarns(warn, fun, *args, **kwds) `" msgstr "" -#: ../Doc/library/unittest.rst:907 +#: ../Doc/library/unittest.rst:911 msgid "``fun(*args, **kwds)`` raises *warn*" msgstr "" -#: ../Doc/library/unittest.rst:910 +#: ../Doc/library/unittest.rst:914 msgid "" ":meth:`assertWarnsRegex(warn, r, fun, *args, **kwds) `" msgstr "" -#: ../Doc/library/unittest.rst:910 +#: ../Doc/library/unittest.rst:914 msgid "``fun(*args, **kwds)`` raises *warn* and the message matches regex *r*" msgstr "" -#: ../Doc/library/unittest.rst:913 +#: ../Doc/library/unittest.rst:917 msgid ":meth:`assertLogs(logger, level) `" msgstr "" -#: ../Doc/library/unittest.rst:913 +#: ../Doc/library/unittest.rst:917 msgid "The ``with`` block logs on *logger* with minimum *level*" msgstr "" -#: ../Doc/library/unittest.rst:913 +#: ../Doc/library/unittest.rst:917 msgid "3.4" msgstr "3.4" -#: ../Doc/library/unittest.rst:920 +#: ../Doc/library/unittest.rst:924 msgid "" "Test that an exception is raised when *callable* is called with any " "positional or keyword arguments that are also passed to :meth:" @@ -1112,40 +1112,40 @@ msgid "" "be passed as *exception*." msgstr "" -#: ../Doc/library/unittest.rst:927 +#: ../Doc/library/unittest.rst:931 msgid "" "If only the *exception* and possibly the *msg* arguments are given, return a " "context manager so that the code under test can be written inline rather " "than as a function::" msgstr "" -#: ../Doc/library/unittest.rst:934 +#: ../Doc/library/unittest.rst:938 msgid "" "When used as a context manager, :meth:`assertRaises` accepts the additional " "keyword argument *msg*." msgstr "" -#: ../Doc/library/unittest.rst:937 +#: ../Doc/library/unittest.rst:941 msgid "" "The context manager will store the caught exception object in its :attr:" "`exception` attribute. This can be useful if the intention is to perform " "additional checks on the exception raised::" msgstr "" -#: ../Doc/library/unittest.rst:947 +#: ../Doc/library/unittest.rst:951 msgid "Added the ability to use :meth:`assertRaises` as a context manager." msgstr "" -#: ../Doc/library/unittest.rst:950 +#: ../Doc/library/unittest.rst:954 msgid "Added the :attr:`exception` attribute." msgstr "" -#: ../Doc/library/unittest.rst:953 ../Doc/library/unittest.rst:979 -#: ../Doc/library/unittest.rst:1020 ../Doc/library/unittest.rst:1043 +#: ../Doc/library/unittest.rst:957 ../Doc/library/unittest.rst:983 +#: ../Doc/library/unittest.rst:1024 ../Doc/library/unittest.rst:1047 msgid "Added the *msg* keyword argument when used as a context manager." msgstr "" -#: ../Doc/library/unittest.rst:960 +#: ../Doc/library/unittest.rst:964 msgid "" "Like :meth:`assertRaises` but also tests that *regex* matches on the string " "representation of the raised exception. *regex* may be a regular expression " @@ -1153,19 +1153,19 @@ msgid "" "`re.search`. Examples::" msgstr "" -#: ../Doc/library/unittest.rst:968 ../Doc/library/unittest.rst:1036 +#: ../Doc/library/unittest.rst:972 ../Doc/library/unittest.rst:1040 msgid "or::" msgstr "ou : ::" -#: ../Doc/library/unittest.rst:973 +#: ../Doc/library/unittest.rst:977 msgid "under the name ``assertRaisesRegexp``." msgstr "" -#: ../Doc/library/unittest.rst:976 +#: ../Doc/library/unittest.rst:980 msgid "Renamed to :meth:`assertRaisesRegex`." msgstr "" -#: ../Doc/library/unittest.rst:986 +#: ../Doc/library/unittest.rst:990 msgid "" "Test that a warning is triggered when *callable* is called with any " "positional or keyword arguments that are also passed to :meth:" @@ -1174,20 +1174,20 @@ msgid "" "tuple containing the warning classes may be passed as *warnings*." msgstr "" -#: ../Doc/library/unittest.rst:993 +#: ../Doc/library/unittest.rst:997 msgid "" "If only the *warning* and possibly the *msg* arguments are given, return a " "context manager so that the code under test can be written inline rather " "than as a function::" msgstr "" -#: ../Doc/library/unittest.rst:1000 +#: ../Doc/library/unittest.rst:1004 msgid "" "When used as a context manager, :meth:`assertWarns` accepts the additional " "keyword argument *msg*." msgstr "" -#: ../Doc/library/unittest.rst:1003 +#: ../Doc/library/unittest.rst:1007 msgid "" "The context manager will store the caught warning object in its :attr:" "`warning` attribute, and the source line which triggered the warnings in " @@ -1195,13 +1195,13 @@ msgid "" "the intention is to perform additional checks on the warning caught::" msgstr "" -#: ../Doc/library/unittest.rst:1015 +#: ../Doc/library/unittest.rst:1019 msgid "" "This method works regardless of the warning filters in place when it is " "called." msgstr "" -#: ../Doc/library/unittest.rst:1027 +#: ../Doc/library/unittest.rst:1031 msgid "" "Like :meth:`assertWarns` but also tests that *regex* matches on the message " "of the triggered warning. *regex* may be a regular expression object or a " @@ -1209,133 +1209,133 @@ msgid "" "search`. Example::" msgstr "" -#: ../Doc/library/unittest.rst:1048 +#: ../Doc/library/unittest.rst:1052 msgid "" "A context manager to test that at least one message is logged on the " "*logger* or one of its children, with at least the given *level*." msgstr "" -#: ../Doc/library/unittest.rst:1052 +#: ../Doc/library/unittest.rst:1056 msgid "" "If given, *logger* should be a :class:`logging.Logger` object or a :class:" "`str` giving the name of a logger. The default is the root logger, which " "will catch all messages." msgstr "" -#: ../Doc/library/unittest.rst:1056 +#: ../Doc/library/unittest.rst:1060 msgid "" "If given, *level* should be either a numeric logging level or its string " "equivalent (for example either ``\"ERROR\"`` or :attr:`logging.ERROR`). The " "default is :attr:`logging.INFO`." msgstr "" -#: ../Doc/library/unittest.rst:1060 +#: ../Doc/library/unittest.rst:1064 msgid "" "The test passes if at least one message emitted inside the ``with`` block " "matches the *logger* and *level* conditions, otherwise it fails." msgstr "" -#: ../Doc/library/unittest.rst:1063 +#: ../Doc/library/unittest.rst:1067 msgid "" "The object returned by the context manager is a recording helper which keeps " "tracks of the matching log messages. It has two attributes:" msgstr "" -#: ../Doc/library/unittest.rst:1069 +#: ../Doc/library/unittest.rst:1073 msgid "" "A list of :class:`logging.LogRecord` objects of the matching log messages." msgstr "" -#: ../Doc/library/unittest.rst:1074 +#: ../Doc/library/unittest.rst:1078 msgid "" "A list of :class:`str` objects with the formatted output of matching " "messages." msgstr "" -#: ../Doc/library/unittest.rst:1077 +#: ../Doc/library/unittest.rst:1081 msgid "Example::" msgstr "Exemples ::" -#: ../Doc/library/unittest.rst:1088 +#: ../Doc/library/unittest.rst:1092 msgid "" "There are also other methods used to perform more specific checks, such as:" msgstr "" -#: ../Doc/library/unittest.rst:1093 +#: ../Doc/library/unittest.rst:1097 msgid ":meth:`assertAlmostEqual(a, b) `" msgstr ":meth:`assertAlmostEqual(a, b) `" -#: ../Doc/library/unittest.rst:1093 +#: ../Doc/library/unittest.rst:1097 msgid "``round(a-b, 7) == 0``" msgstr "``round(a-b, 7) == 0``" -#: ../Doc/library/unittest.rst:1096 +#: ../Doc/library/unittest.rst:1100 msgid ":meth:`assertNotAlmostEqual(a, b) `" msgstr "" -#: ../Doc/library/unittest.rst:1096 +#: ../Doc/library/unittest.rst:1100 msgid "``round(a-b, 7) != 0``" msgstr "``round(a-b, 7) != 0``" -#: ../Doc/library/unittest.rst:1099 +#: ../Doc/library/unittest.rst:1103 msgid ":meth:`assertGreater(a, b) `" msgstr ":meth:`assertGreater(a, b) `" -#: ../Doc/library/unittest.rst:1099 +#: ../Doc/library/unittest.rst:1103 msgid "``a > b``" msgstr "``a > b``" -#: ../Doc/library/unittest.rst:1102 +#: ../Doc/library/unittest.rst:1106 msgid ":meth:`assertGreaterEqual(a, b) `" msgstr ":meth:`assertGreaterEqual(a, b) `" -#: ../Doc/library/unittest.rst:1102 +#: ../Doc/library/unittest.rst:1106 msgid "``a >= b``" msgstr "``a >= b``" -#: ../Doc/library/unittest.rst:1105 +#: ../Doc/library/unittest.rst:1109 msgid ":meth:`assertLess(a, b) `" msgstr ":meth:`assertLess(a, b) `" -#: ../Doc/library/unittest.rst:1105 +#: ../Doc/library/unittest.rst:1109 msgid "``a < b``" msgstr "``a < b``" -#: ../Doc/library/unittest.rst:1108 +#: ../Doc/library/unittest.rst:1112 msgid ":meth:`assertLessEqual(a, b) `" msgstr ":meth:`assertLessEqual(a, b) `" -#: ../Doc/library/unittest.rst:1108 +#: ../Doc/library/unittest.rst:1112 msgid "``a <= b``" msgstr "``a <= b``" -#: ../Doc/library/unittest.rst:1111 +#: ../Doc/library/unittest.rst:1115 msgid ":meth:`assertRegex(s, r) `" msgstr ":meth:`assertRegex(s, r) `" -#: ../Doc/library/unittest.rst:1111 +#: ../Doc/library/unittest.rst:1115 msgid "``r.search(s)``" msgstr "``r.search(s)``" -#: ../Doc/library/unittest.rst:1114 +#: ../Doc/library/unittest.rst:1118 msgid ":meth:`assertNotRegex(s, r) `" msgstr ":meth:`assertNotRegex(s, r) `" -#: ../Doc/library/unittest.rst:1114 +#: ../Doc/library/unittest.rst:1118 msgid "``not r.search(s)``" msgstr "``not r.search(s)``" -#: ../Doc/library/unittest.rst:1117 +#: ../Doc/library/unittest.rst:1121 msgid ":meth:`assertCountEqual(a, b) `" msgstr ":meth:`assertCountEqual(a, b) `" -#: ../Doc/library/unittest.rst:1117 +#: ../Doc/library/unittest.rst:1121 msgid "" "*a* and *b* have the same elements in the same number, regardless of their " "order" msgstr "" -#: ../Doc/library/unittest.rst:1126 +#: ../Doc/library/unittest.rst:1130 msgid "" "Test that *first* and *second* are approximately (or not approximately) " "equal by computing the difference, rounding to the given number of decimal " @@ -1344,30 +1344,30 @@ msgid "" "`round` function) and not *significant digits*." msgstr "" -#: ../Doc/library/unittest.rst:1132 +#: ../Doc/library/unittest.rst:1136 msgid "" "If *delta* is supplied instead of *places* then the difference between " "*first* and *second* must be less or equal to (or greater than) *delta*." msgstr "" -#: ../Doc/library/unittest.rst:1135 +#: ../Doc/library/unittest.rst:1139 msgid "Supplying both *delta* and *places* raises a ``TypeError``." msgstr "" -#: ../Doc/library/unittest.rst:1137 +#: ../Doc/library/unittest.rst:1141 msgid "" ":meth:`assertAlmostEqual` automatically considers almost equal objects that " "compare equal. :meth:`assertNotAlmostEqual` automatically fails if the " "objects compare equal. Added the *delta* keyword argument." msgstr "" -#: ../Doc/library/unittest.rst:1148 +#: ../Doc/library/unittest.rst:1152 msgid "" "Test that *first* is respectively >, >=, < or <= than *second* depending on " "the method name. If not, the test will fail::" msgstr "" -#: ../Doc/library/unittest.rst:1160 +#: ../Doc/library/unittest.rst:1164 msgid "" "Test that a *regex* search matches (or does not match) *text*. In case of " "failure, the error message will include the pattern and the *text* (or the " @@ -1376,34 +1376,34 @@ msgid "" "suitable for use by :func:`re.search`." msgstr "" -#: ../Doc/library/unittest.rst:1166 +#: ../Doc/library/unittest.rst:1170 msgid "under the name ``assertRegexpMatches``." msgstr "" -#: ../Doc/library/unittest.rst:1168 +#: ../Doc/library/unittest.rst:1172 msgid "" "The method ``assertRegexpMatches()`` has been renamed to :meth:`." "assertRegex`." msgstr "" -#: ../Doc/library/unittest.rst:1171 +#: ../Doc/library/unittest.rst:1175 msgid ":meth:`.assertNotRegex`." msgstr ":meth:`.assertNotRegex`." -#: ../Doc/library/unittest.rst:1173 +#: ../Doc/library/unittest.rst:1177 msgid "" "The name ``assertNotRegexpMatches`` is a deprecated alias for :meth:`." "assertNotRegex`." msgstr "" -#: ../Doc/library/unittest.rst:1180 +#: ../Doc/library/unittest.rst:1184 msgid "" "Test that sequence *first* contains the same elements as *second*, " "regardless of their order. When they don't, an error message listing the " "differences between the sequences will be generated." msgstr "" -#: ../Doc/library/unittest.rst:1184 +#: ../Doc/library/unittest.rst:1188 msgid "" "Duplicate elements are *not* ignored when comparing *first* and *second*. It " "verifies whether each element has the same count in both sequences. " @@ -1411,7 +1411,7 @@ msgid "" "but works with sequences of unhashable objects as well." msgstr "" -#: ../Doc/library/unittest.rst:1195 +#: ../Doc/library/unittest.rst:1199 msgid "" "The :meth:`assertEqual` method dispatches the equality check for objects of " "the same type to different type-specific methods. These methods are already " @@ -1419,7 +1419,7 @@ msgid "" "register new methods using :meth:`addTypeEqualityFunc`:" msgstr "" -#: ../Doc/library/unittest.rst:1202 +#: ../Doc/library/unittest.rst:1206 msgid "" "Registers a type-specific method called by :meth:`assertEqual` to check if " "two objects of exactly the same *typeobj* (not subclasses) compare equal. " @@ -1430,66 +1430,66 @@ msgid "" "explaining the inequalities in details in the error message." msgstr "" -#: ../Doc/library/unittest.rst:1213 +#: ../Doc/library/unittest.rst:1217 msgid "" "The list of type-specific methods automatically used by :meth:`~TestCase." "assertEqual` are summarized in the following table. Note that it's usually " "not necessary to invoke these methods directly." msgstr "" -#: ../Doc/library/unittest.rst:1218 +#: ../Doc/library/unittest.rst:1222 msgid "Used to compare" msgstr "" -#: ../Doc/library/unittest.rst:1220 +#: ../Doc/library/unittest.rst:1224 msgid ":meth:`assertMultiLineEqual(a, b) `" msgstr ":meth:`assertMultiLineEqual(a, b) `" -#: ../Doc/library/unittest.rst:1220 +#: ../Doc/library/unittest.rst:1224 msgid "strings" msgstr "chaînes" -#: ../Doc/library/unittest.rst:1223 +#: ../Doc/library/unittest.rst:1227 msgid ":meth:`assertSequenceEqual(a, b) `" msgstr ":meth:`assertSequenceEqual(a, b) `" -#: ../Doc/library/unittest.rst:1223 +#: ../Doc/library/unittest.rst:1227 msgid "sequences" msgstr "séquences" -#: ../Doc/library/unittest.rst:1226 +#: ../Doc/library/unittest.rst:1230 msgid ":meth:`assertListEqual(a, b) `" msgstr ":meth:`assertListEqual(a, b) `" -#: ../Doc/library/unittest.rst:1226 +#: ../Doc/library/unittest.rst:1230 msgid "lists" msgstr "" -#: ../Doc/library/unittest.rst:1229 +#: ../Doc/library/unittest.rst:1233 msgid ":meth:`assertTupleEqual(a, b) `" msgstr ":meth:`assertTupleEqual(a, b) `" -#: ../Doc/library/unittest.rst:1229 +#: ../Doc/library/unittest.rst:1233 msgid "tuples" msgstr "" -#: ../Doc/library/unittest.rst:1232 +#: ../Doc/library/unittest.rst:1236 msgid ":meth:`assertSetEqual(a, b) `" msgstr ":meth:`assertSetEqual(a, b) `" -#: ../Doc/library/unittest.rst:1232 +#: ../Doc/library/unittest.rst:1236 msgid "sets or frozensets" msgstr "" -#: ../Doc/library/unittest.rst:1235 +#: ../Doc/library/unittest.rst:1239 msgid ":meth:`assertDictEqual(a, b) `" msgstr ":meth:`assertDictEqual(a, b) `" -#: ../Doc/library/unittest.rst:1235 +#: ../Doc/library/unittest.rst:1239 msgid "dicts" msgstr "" -#: ../Doc/library/unittest.rst:1243 +#: ../Doc/library/unittest.rst:1247 msgid "" "Test that the multiline string *first* is equal to the string *second*. When " "not equal a diff of the two strings highlighting the differences will be " @@ -1497,7 +1497,7 @@ msgid "" "strings with :meth:`assertEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1253 +#: ../Doc/library/unittest.rst:1257 msgid "" "Tests that two sequences are equal. If a *seq_type* is supplied, both " "*first* and *second* must be instances of *seq_type* or a failure will be " @@ -1505,13 +1505,13 @@ msgid "" "shows the difference between the two." msgstr "" -#: ../Doc/library/unittest.rst:1258 +#: ../Doc/library/unittest.rst:1262 msgid "" "This method is not called directly by :meth:`assertEqual`, but it's used to " "implement :meth:`assertListEqual` and :meth:`assertTupleEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1268 +#: ../Doc/library/unittest.rst:1272 msgid "" "Tests that two lists or tuples are equal. If not, an error message is " "constructed that shows only the differences between the two. An error is " @@ -1519,38 +1519,38 @@ msgid "" "are used by default when comparing lists or tuples with :meth:`assertEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1279 +#: ../Doc/library/unittest.rst:1283 msgid "" "Tests that two sets are equal. If not, an error message is constructed that " "lists the differences between the sets. This method is used by default when " "comparing sets or frozensets with :meth:`assertEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1283 +#: ../Doc/library/unittest.rst:1287 msgid "" "Fails if either of *first* or *second* does not have a :meth:`set." "difference` method." msgstr "" -#: ../Doc/library/unittest.rst:1291 +#: ../Doc/library/unittest.rst:1295 msgid "" "Test that two dictionaries are equal. If not, an error message is " "constructed that shows the differences in the dictionaries. This method will " "be used by default to compare dictionaries in calls to :meth:`assertEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1302 +#: ../Doc/library/unittest.rst:1306 msgid "" "Finally the :class:`TestCase` provides the following methods and attributes:" msgstr "" -#: ../Doc/library/unittest.rst:1307 +#: ../Doc/library/unittest.rst:1311 msgid "" "Signals a test failure unconditionally, with *msg* or ``None`` for the error " "message." msgstr "" -#: ../Doc/library/unittest.rst:1313 +#: ../Doc/library/unittest.rst:1317 msgid "" "This class attribute gives the exception raised by the test method. If a " "test framework needs to use a specialized exception, possibly to carry " @@ -1559,7 +1559,7 @@ msgid "" "`AssertionError`." msgstr "" -#: ../Doc/library/unittest.rst:1322 +#: ../Doc/library/unittest.rst:1326 msgid "" "This class attribute determines what happens when a custom failure message " "is passed as the msg argument to an assertXYY call that fails. ``True`` is " @@ -1568,18 +1568,18 @@ msgid "" "replaces the standard message." msgstr "" -#: ../Doc/library/unittest.rst:1328 +#: ../Doc/library/unittest.rst:1332 msgid "" "The class setting can be overridden in individual test methods by assigning " "an instance attribute, self.longMessage, to ``True`` or ``False`` before " "calling the assert methods." msgstr "" -#: ../Doc/library/unittest.rst:1332 +#: ../Doc/library/unittest.rst:1336 msgid "The class setting gets reset before each test call." msgstr "" -#: ../Doc/library/unittest.rst:1339 +#: ../Doc/library/unittest.rst:1343 msgid "" "This attribute controls the maximum length of diffs output by assert methods " "that report diffs on failure. It defaults to 80*8 characters. Assert methods " @@ -1588,52 +1588,52 @@ msgid "" "`assertDictEqual` and :meth:`assertMultiLineEqual`." msgstr "" -#: ../Doc/library/unittest.rst:1346 +#: ../Doc/library/unittest.rst:1350 msgid "" "Setting ``maxDiff`` to ``None`` means that there is no maximum length of " "diffs." msgstr "" -#: ../Doc/library/unittest.rst:1352 +#: ../Doc/library/unittest.rst:1356 msgid "" "Testing frameworks can use the following methods to collect information on " "the test:" msgstr "" -#: ../Doc/library/unittest.rst:1358 +#: ../Doc/library/unittest.rst:1362 msgid "" "Return the number of tests represented by this test object. For :class:" "`TestCase` instances, this will always be ``1``." msgstr "" -#: ../Doc/library/unittest.rst:1364 +#: ../Doc/library/unittest.rst:1368 msgid "" "Return an instance of the test result class that should be used for this " "test case class (if no other result instance is provided to the :meth:`run` " "method)." msgstr "" -#: ../Doc/library/unittest.rst:1368 +#: ../Doc/library/unittest.rst:1372 msgid "" "For :class:`TestCase` instances, this will always be an instance of :class:" "`TestResult`; subclasses of :class:`TestCase` should override this as " "necessary." msgstr "" -#: ../Doc/library/unittest.rst:1375 +#: ../Doc/library/unittest.rst:1379 msgid "" "Return a string identifying the specific test case. This is usually the " "full name of the test method, including the module and class name." msgstr "" -#: ../Doc/library/unittest.rst:1381 +#: ../Doc/library/unittest.rst:1385 msgid "" "Returns a description of the test, or ``None`` if no description has been " "provided. The default implementation of this method returns the first line " "of the test method's docstring, if available, or ``None``." msgstr "" -#: ../Doc/library/unittest.rst:1386 +#: ../Doc/library/unittest.rst:1390 msgid "" "In 3.1 this was changed to add the test name to the short description even " "in the presence of a docstring. This caused compatibility issues with " @@ -1641,7 +1641,7 @@ msgid "" "`TextTestResult` in Python 3.2." msgstr "" -#: ../Doc/library/unittest.rst:1395 +#: ../Doc/library/unittest.rst:1399 msgid "" "Add a function to be called after :meth:`tearDown` to cleanup resources used " "during the test. Functions will be called in reverse order to the order they " @@ -1650,32 +1650,32 @@ msgid "" "added." msgstr "" -#: ../Doc/library/unittest.rst:1401 +#: ../Doc/library/unittest.rst:1405 msgid "" "If :meth:`setUp` fails, meaning that :meth:`tearDown` is not called, then " "any cleanup functions added will still be called." msgstr "" -#: ../Doc/library/unittest.rst:1409 +#: ../Doc/library/unittest.rst:1413 msgid "" "This method is called unconditionally after :meth:`tearDown`, or after :meth:" "`setUp` if :meth:`setUp` raises an exception." msgstr "" -#: ../Doc/library/unittest.rst:1412 +#: ../Doc/library/unittest.rst:1416 msgid "" "It is responsible for calling all the cleanup functions added by :meth:" "`addCleanup`. If you need cleanup functions to be called *prior* to :meth:" "`tearDown` then you can call :meth:`doCleanups` yourself." msgstr "" -#: ../Doc/library/unittest.rst:1417 +#: ../Doc/library/unittest.rst:1421 msgid "" ":meth:`doCleanups` pops methods off the stack of cleanup functions one at a " "time, so it can be called at any time." msgstr "" -#: ../Doc/library/unittest.rst:1425 +#: ../Doc/library/unittest.rst:1429 msgid "" "This class implements the portion of the :class:`TestCase` interface which " "allows the test runner to drive the test, but does not provide the methods " @@ -1684,149 +1684,149 @@ msgid "" "`unittest`-based test framework." msgstr "" -#: ../Doc/library/unittest.rst:1435 +#: ../Doc/library/unittest.rst:1439 msgid "Deprecated aliases" msgstr "" -#: ../Doc/library/unittest.rst:1437 +#: ../Doc/library/unittest.rst:1441 msgid "" "For historical reasons, some of the :class:`TestCase` methods had one or " "more aliases that are now deprecated. The following table lists the correct " "names along with their deprecated aliases:" msgstr "" -#: ../Doc/library/unittest.rst:1442 +#: ../Doc/library/unittest.rst:1446 msgid "Method Name" msgstr "Nom de méthode" -#: ../Doc/library/unittest.rst:1442 +#: ../Doc/library/unittest.rst:1446 msgid "Deprecated alias" msgstr "" -#: ../Doc/library/unittest.rst:1444 +#: ../Doc/library/unittest.rst:1448 msgid ":meth:`.assertEqual`" msgstr ":meth:`.assertEqual`" -#: ../Doc/library/unittest.rst:1444 +#: ../Doc/library/unittest.rst:1448 msgid "failUnlessEqual" msgstr "failUnlessEqual" -#: ../Doc/library/unittest.rst:1444 +#: ../Doc/library/unittest.rst:1448 msgid "assertEquals" msgstr "assertEquals" -#: ../Doc/library/unittest.rst:1445 +#: ../Doc/library/unittest.rst:1449 msgid ":meth:`.assertNotEqual`" msgstr ":meth:`.assertNotEqual`" -#: ../Doc/library/unittest.rst:1445 +#: ../Doc/library/unittest.rst:1449 msgid "failIfEqual" msgstr "failIfEqual" -#: ../Doc/library/unittest.rst:1445 +#: ../Doc/library/unittest.rst:1449 msgid "assertNotEquals" msgstr "assertNotEquals" -#: ../Doc/library/unittest.rst:1446 +#: ../Doc/library/unittest.rst:1450 msgid ":meth:`.assertTrue`" msgstr ":meth:`.assertTrue`" -#: ../Doc/library/unittest.rst:1446 +#: ../Doc/library/unittest.rst:1450 msgid "failUnless" msgstr "failUnless" -#: ../Doc/library/unittest.rst:1446 +#: ../Doc/library/unittest.rst:1450 msgid "assert\\_" msgstr "assert\\_" -#: ../Doc/library/unittest.rst:1447 +#: ../Doc/library/unittest.rst:1451 msgid ":meth:`.assertFalse`" msgstr ":meth:`.assertFalse`" -#: ../Doc/library/unittest.rst:1447 +#: ../Doc/library/unittest.rst:1451 msgid "failIf" msgstr "failIf" -#: ../Doc/library/unittest.rst:1448 +#: ../Doc/library/unittest.rst:1452 msgid ":meth:`.assertRaises`" msgstr ":meth:`.assertRaises`" -#: ../Doc/library/unittest.rst:1448 +#: ../Doc/library/unittest.rst:1452 msgid "failUnlessRaises" msgstr "failUnlessRaises" -#: ../Doc/library/unittest.rst:1449 +#: ../Doc/library/unittest.rst:1453 msgid ":meth:`.assertAlmostEqual`" msgstr ":meth:`.assertAlmostEqual`" -#: ../Doc/library/unittest.rst:1449 +#: ../Doc/library/unittest.rst:1453 msgid "failUnlessAlmostEqual" msgstr "failUnlessAlmostEqual" -#: ../Doc/library/unittest.rst:1449 +#: ../Doc/library/unittest.rst:1453 msgid "assertAlmostEquals" msgstr "assertAlmostEquals" -#: ../Doc/library/unittest.rst:1450 +#: ../Doc/library/unittest.rst:1454 msgid ":meth:`.assertNotAlmostEqual`" msgstr ":meth:`.assertNotAlmostEqual`" -#: ../Doc/library/unittest.rst:1450 +#: ../Doc/library/unittest.rst:1454 msgid "failIfAlmostEqual" msgstr "failIfAlmostEqual" -#: ../Doc/library/unittest.rst:1450 +#: ../Doc/library/unittest.rst:1454 msgid "assertNotAlmostEquals" msgstr "assertNotAlmostEquals" -#: ../Doc/library/unittest.rst:1451 +#: ../Doc/library/unittest.rst:1455 msgid ":meth:`.assertRegex`" msgstr ":meth:`.assertRegex`" -#: ../Doc/library/unittest.rst:1451 +#: ../Doc/library/unittest.rst:1455 msgid "assertRegexpMatches" msgstr "assertRegexpMatches" -#: ../Doc/library/unittest.rst:1452 +#: ../Doc/library/unittest.rst:1456 msgid ":meth:`.assertNotRegex`" msgstr ":meth:`.assertNotRegex`" -#: ../Doc/library/unittest.rst:1452 +#: ../Doc/library/unittest.rst:1456 msgid "assertNotRegexpMatches" msgstr "assertNotRegexpMatches" -#: ../Doc/library/unittest.rst:1453 +#: ../Doc/library/unittest.rst:1457 msgid ":meth:`.assertRaisesRegex`" msgstr ":meth:`.assertRaisesRegex`" -#: ../Doc/library/unittest.rst:1453 +#: ../Doc/library/unittest.rst:1457 msgid "assertRaisesRegexp" msgstr "assertRaisesRegexp" -#: ../Doc/library/unittest.rst:1456 +#: ../Doc/library/unittest.rst:1460 msgid "the fail* aliases listed in the second column." msgstr "" -#: ../Doc/library/unittest.rst:1458 +#: ../Doc/library/unittest.rst:1462 msgid "the assert* aliases listed in the third column." msgstr "" -#: ../Doc/library/unittest.rst:1460 +#: ../Doc/library/unittest.rst:1464 msgid "" "``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to :" "meth:`.assertRegex` and :meth:`.assertRaisesRegex`." msgstr "" -#: ../Doc/library/unittest.rst:1463 +#: ../Doc/library/unittest.rst:1467 msgid "" "the ``assertNotRegexpMatches`` name in favor of :meth:`.assertNotRegex`." msgstr "``assertNotRegexpMatches`` en faveur de :meth:`.assertNotRegex`." -#: ../Doc/library/unittest.rst:1469 +#: ../Doc/library/unittest.rst:1473 msgid "Grouping tests" msgstr "" -#: ../Doc/library/unittest.rst:1473 +#: ../Doc/library/unittest.rst:1477 msgid "" "This class represents an aggregation of individual test cases and test " "suites. The class presents the interface needed by the test runner to allow " @@ -1834,14 +1834,14 @@ msgid "" "is the same as iterating over the suite, running each test individually." msgstr "" -#: ../Doc/library/unittest.rst:1478 +#: ../Doc/library/unittest.rst:1482 msgid "" "If *tests* is given, it must be an iterable of individual test cases or " "other test suites that will be used to build the suite initially. Additional " "methods are provided to add test cases and suites to the collection later on." msgstr "" -#: ../Doc/library/unittest.rst:1482 +#: ../Doc/library/unittest.rst:1486 msgid "" ":class:`TestSuite` objects behave much like :class:`TestCase` objects, " "except they do not actually implement a test. Instead, they are used to " @@ -1850,47 +1850,47 @@ msgid "" "instances:" msgstr "" -#: ../Doc/library/unittest.rst:1490 +#: ../Doc/library/unittest.rst:1494 msgid "Add a :class:`TestCase` or :class:`TestSuite` to the suite." msgstr "" -#: ../Doc/library/unittest.rst:1495 +#: ../Doc/library/unittest.rst:1499 msgid "" "Add all the tests from an iterable of :class:`TestCase` and :class:" "`TestSuite` instances to this test suite." msgstr "" -#: ../Doc/library/unittest.rst:1498 +#: ../Doc/library/unittest.rst:1502 msgid "" "This is equivalent to iterating over *tests*, calling :meth:`addTest` for " "each element." msgstr "" -#: ../Doc/library/unittest.rst:1501 +#: ../Doc/library/unittest.rst:1505 msgid ":class:`TestSuite` shares the following methods with :class:`TestCase`:" msgstr "" -#: ../Doc/library/unittest.rst:1506 +#: ../Doc/library/unittest.rst:1510 msgid "" "Run the tests associated with this suite, collecting the result into the " "test result object passed as *result*. Note that unlike :meth:`TestCase." "run`, :meth:`TestSuite.run` requires the result object to be passed in." msgstr "" -#: ../Doc/library/unittest.rst:1514 +#: ../Doc/library/unittest.rst:1518 msgid "" "Run the tests associated with this suite without collecting the result. This " "allows exceptions raised by the test to be propagated to the caller and can " "be used to support running tests under a debugger." msgstr "" -#: ../Doc/library/unittest.rst:1521 +#: ../Doc/library/unittest.rst:1525 msgid "" "Return the number of tests represented by this test object, including all " "individual tests and sub-suites." msgstr "" -#: ../Doc/library/unittest.rst:1527 +#: ../Doc/library/unittest.rst:1531 msgid "" "Tests grouped by a :class:`TestSuite` are always accessed by iteration. " "Subclasses can lazily provide tests by overriding :meth:`__iter__`. Note " @@ -1902,31 +1902,31 @@ msgid "" "overrides :meth:`TestSuite._removeTestAtIndex` to preserve test references." msgstr "" -#: ../Doc/library/unittest.rst:1537 +#: ../Doc/library/unittest.rst:1541 msgid "" "In earlier versions the :class:`TestSuite` accessed tests directly rather " "than through iteration, so overriding :meth:`__iter__` wasn't sufficient for " "providing tests." msgstr "" -#: ../Doc/library/unittest.rst:1542 +#: ../Doc/library/unittest.rst:1546 msgid "" "In earlier versions the :class:`TestSuite` held references to each :class:" "`TestCase` after :meth:`TestSuite.run`. Subclasses can restore that behavior " "by overriding :meth:`TestSuite._removeTestAtIndex`." msgstr "" -#: ../Doc/library/unittest.rst:1547 +#: ../Doc/library/unittest.rst:1551 msgid "" "In the typical usage of a :class:`TestSuite` object, the :meth:`run` method " "is invoked by a :class:`TestRunner` rather than by the end-user test harness." msgstr "" -#: ../Doc/library/unittest.rst:1552 +#: ../Doc/library/unittest.rst:1556 msgid "Loading and running tests" msgstr "" -#: ../Doc/library/unittest.rst:1556 +#: ../Doc/library/unittest.rst:1560 msgid "" "The :class:`TestLoader` class is used to create test suites from classes and " "modules. Normally, there is no need to create an instance of this class; " @@ -1935,11 +1935,11 @@ msgid "" "customization of some configurable properties." msgstr "" -#: ../Doc/library/unittest.rst:1562 +#: ../Doc/library/unittest.rst:1566 msgid ":class:`TestLoader` objects have the following attributes:" msgstr "" -#: ../Doc/library/unittest.rst:1567 +#: ../Doc/library/unittest.rst:1571 msgid "" "A list of the non-fatal errors encountered while loading tests. Not reset by " "the loader at any point. Fatal errors are signalled by the relevant a method " @@ -1947,17 +1947,17 @@ msgid "" "synthetic test that will raise the original error when run." msgstr "" -#: ../Doc/library/unittest.rst:1576 +#: ../Doc/library/unittest.rst:1580 msgid ":class:`TestLoader` objects have the following methods:" msgstr "" -#: ../Doc/library/unittest.rst:1581 +#: ../Doc/library/unittest.rst:1585 msgid "" "Return a suite of all test cases contained in the :class:`TestCase`\\ -" "derived :class:`testCaseClass`." msgstr "" -#: ../Doc/library/unittest.rst:1584 +#: ../Doc/library/unittest.rst:1588 msgid "" "A test case instance is created for each method named by :meth:" "`getTestCaseNames`. By default these are the method names beginning with " @@ -1966,14 +1966,14 @@ msgid "" "method instead." msgstr "" -#: ../Doc/library/unittest.rst:1593 +#: ../Doc/library/unittest.rst:1597 msgid "" "Return a suite of all test cases contained in the given module. This method " "searches *module* for classes derived from :class:`TestCase` and creates an " "instance of the class for each test method defined for the class." msgstr "" -#: ../Doc/library/unittest.rst:1600 +#: ../Doc/library/unittest.rst:1604 msgid "" "While using a hierarchy of :class:`TestCase`\\ -derived classes can be " "convenient in sharing fixtures and helper functions, defining test methods " @@ -1982,7 +1982,7 @@ msgid "" "fixtures are different and defined in subclasses." msgstr "" -#: ../Doc/library/unittest.rst:1606 +#: ../Doc/library/unittest.rst:1610 msgid "" "If a module provides a ``load_tests`` function it will be called to load the " "tests. This allows modules to customize test loading. This is the " @@ -1990,11 +1990,11 @@ msgid "" "argument to ``load_tests``." msgstr "" -#: ../Doc/library/unittest.rst:1611 +#: ../Doc/library/unittest.rst:1615 msgid "Support for ``load_tests`` added." msgstr "" -#: ../Doc/library/unittest.rst:1614 +#: ../Doc/library/unittest.rst:1618 msgid "" "The undocumented and unofficial *use_load_tests* default argument is " "deprecated and ignored, although it is still accepted for backward " @@ -2002,11 +2002,11 @@ msgid "" "*pattern* which is passed to ``load_tests`` as the third argument." msgstr "" -#: ../Doc/library/unittest.rst:1623 +#: ../Doc/library/unittest.rst:1627 msgid "Return a suite of all test cases given a string specifier." msgstr "" -#: ../Doc/library/unittest.rst:1625 +#: ../Doc/library/unittest.rst:1629 msgid "" "The specifier *name* is a \"dotted name\" that may resolve either to a " "module, a test case class, a test method within a test case class, a :class:" @@ -2017,7 +2017,7 @@ msgid "" "object\"." msgstr "" -#: ../Doc/library/unittest.rst:1633 +#: ../Doc/library/unittest.rst:1637 msgid "" "For example, if you have a module :mod:`SampleTests` containing a :class:" "`TestCase`\\ -derived class :class:`SampleTestCase` with three test methods " @@ -2030,31 +2030,31 @@ msgid "" "a side-effect." msgstr "" -#: ../Doc/library/unittest.rst:1643 +#: ../Doc/library/unittest.rst:1647 msgid "The method optionally resolves *name* relative to the given *module*." msgstr "" -#: ../Doc/library/unittest.rst:1645 +#: ../Doc/library/unittest.rst:1649 msgid "" "If an :exc:`ImportError` or :exc:`AttributeError` occurs while traversing " "*name* then a synthetic test that raises that error when run will be " "returned. These errors are included in the errors accumulated by self.errors." msgstr "" -#: ../Doc/library/unittest.rst:1654 +#: ../Doc/library/unittest.rst:1658 msgid "" "Similar to :meth:`loadTestsFromName`, but takes a sequence of names rather " "than a single name. The return value is a test suite which supports all the " "tests defined for each name." msgstr "" -#: ../Doc/library/unittest.rst:1661 +#: ../Doc/library/unittest.rst:1665 msgid "" "Return a sorted sequence of method names found within *testCaseClass*; this " "should be a subclass of :class:`TestCase`." msgstr "" -#: ../Doc/library/unittest.rst:1667 +#: ../Doc/library/unittest.rst:1671 msgid "" "Find all the test modules by recursing into subdirectories from the " "specified start directory, and return a TestSuite object containing them. " @@ -2063,14 +2063,14 @@ msgid "" "Python identifiers) will be loaded." msgstr "" -#: ../Doc/library/unittest.rst:1673 +#: ../Doc/library/unittest.rst:1677 msgid "" "All test modules must be importable from the top level of the project. If " "the start directory is not the top level directory then the top level " "directory must be specified separately." msgstr "" -#: ../Doc/library/unittest.rst:1677 +#: ../Doc/library/unittest.rst:1681 msgid "" "If importing a module fails, for example due to a syntax error, then this " "will be recorded as a single error and discovery will continue. If the " @@ -2078,7 +2078,7 @@ msgid "" "as a skip instead of an error." msgstr "" -#: ../Doc/library/unittest.rst:1682 +#: ../Doc/library/unittest.rst:1686 msgid "" "If a package (a directory containing a file named :file:`__init__.py`) is " "found, the package will be checked for a ``load_tests`` function. If this " @@ -2088,13 +2088,13 @@ msgid "" "itself calls ``loader.discover``." msgstr "" -#: ../Doc/library/unittest.rst:1690 +#: ../Doc/library/unittest.rst:1694 msgid "" "If ``load_tests`` exists then discovery does *not* recurse into the package, " "``load_tests`` is responsible for loading all tests in the package." msgstr "" -#: ../Doc/library/unittest.rst:1694 +#: ../Doc/library/unittest.rst:1698 msgid "" "The pattern is deliberately not stored as a loader attribute so that " "packages can continue discovery themselves. *top_level_dir* is stored so " @@ -2102,11 +2102,11 @@ msgid "" "discover()``." msgstr "" -#: ../Doc/library/unittest.rst:1699 +#: ../Doc/library/unittest.rst:1703 msgid "*start_dir* can be a dotted module name as well as a directory." msgstr "" -#: ../Doc/library/unittest.rst:1703 +#: ../Doc/library/unittest.rst:1707 msgid "" "Modules that raise :exc:`SkipTest` on import are recorded as skips, not " "errors. Discovery works for :term:`namespace packages `. " @@ -2115,55 +2115,55 @@ msgid "" "name." msgstr "" -#: ../Doc/library/unittest.rst:1711 +#: ../Doc/library/unittest.rst:1715 msgid "" "Found packages are now checked for ``load_tests`` regardless of whether " "their path matches *pattern*, because it is impossible for a package name to " "match the default pattern." msgstr "" -#: ../Doc/library/unittest.rst:1717 +#: ../Doc/library/unittest.rst:1721 msgid "" "The following attributes of a :class:`TestLoader` can be configured either " "by subclassing or assignment on an instance:" msgstr "" -#: ../Doc/library/unittest.rst:1723 +#: ../Doc/library/unittest.rst:1727 msgid "" "String giving the prefix of method names which will be interpreted as test " "methods. The default value is ``'test'``." msgstr "" -#: ../Doc/library/unittest.rst:1726 +#: ../Doc/library/unittest.rst:1730 msgid "" "This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` " "methods." msgstr "" -#: ../Doc/library/unittest.rst:1732 +#: ../Doc/library/unittest.rst:1736 msgid "" "Function to be used to compare method names when sorting them in :meth:" "`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` methods." msgstr "" -#: ../Doc/library/unittest.rst:1738 +#: ../Doc/library/unittest.rst:1742 msgid "" "Callable object that constructs a test suite from a list of tests. No " "methods on the resulting object are needed. The default value is the :class:" "`TestSuite` class." msgstr "" -#: ../Doc/library/unittest.rst:1742 +#: ../Doc/library/unittest.rst:1746 msgid "This affects all the :meth:`loadTestsFrom\\*` methods." msgstr "" -#: ../Doc/library/unittest.rst:1747 +#: ../Doc/library/unittest.rst:1751 msgid "" "This class is used to compile information about which tests have succeeded " "and which have failed." msgstr "" -#: ../Doc/library/unittest.rst:1750 +#: ../Doc/library/unittest.rst:1754 msgid "" "A :class:`TestResult` object stores the results of a set of tests. The :" "class:`TestCase` and :class:`TestSuite` classes ensure that results are " @@ -2171,7 +2171,7 @@ msgid "" "outcome of tests." msgstr "" -#: ../Doc/library/unittest.rst:1755 +#: ../Doc/library/unittest.rst:1759 msgid "" "Testing frameworks built on top of :mod:`unittest` may want access to the :" "class:`TestResult` object generated by running a set of tests for reporting " @@ -2179,55 +2179,55 @@ msgid "" "`TestRunner.run` method for this purpose." msgstr "" -#: ../Doc/library/unittest.rst:1760 +#: ../Doc/library/unittest.rst:1764 msgid "" ":class:`TestResult` instances have the following attributes that will be of " "interest when inspecting the results of running a set of tests:" msgstr "" -#: ../Doc/library/unittest.rst:1766 +#: ../Doc/library/unittest.rst:1770 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test which raised an " "unexpected exception." msgstr "" -#: ../Doc/library/unittest.rst:1772 +#: ../Doc/library/unittest.rst:1776 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test where a failure " "was explicitly signalled using the :meth:`TestCase.assert\\*` methods." msgstr "" -#: ../Doc/library/unittest.rst:1778 +#: ../Doc/library/unittest.rst:1782 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding the reason for skipping the test." msgstr "" -#: ../Doc/library/unittest.rst:1785 +#: ../Doc/library/unittest.rst:1789 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents an expected failure of " "the test case." msgstr "" -#: ../Doc/library/unittest.rst:1791 +#: ../Doc/library/unittest.rst:1795 msgid "" "A list containing :class:`TestCase` instances that were marked as expected " "failures, but succeeded." msgstr "" -#: ../Doc/library/unittest.rst:1796 +#: ../Doc/library/unittest.rst:1800 msgid "" "Set to ``True`` when the execution of tests should stop by :meth:`stop`." msgstr "" -#: ../Doc/library/unittest.rst:1800 +#: ../Doc/library/unittest.rst:1804 msgid "The total number of tests run so far." msgstr "" -#: ../Doc/library/unittest.rst:1804 +#: ../Doc/library/unittest.rst:1808 msgid "" "If set to true, ``sys.stdout`` and ``sys.stderr`` will be buffered in " "between :meth:`startTest` and :meth:`stopTest` being called. Collected " @@ -2236,29 +2236,29 @@ msgid "" "error message." msgstr "" -#: ../Doc/library/unittest.rst:1813 +#: ../Doc/library/unittest.rst:1817 msgid "" "If set to true :meth:`stop` will be called on the first failure or error, " "halting the test run." msgstr "" -#: ../Doc/library/unittest.rst:1820 +#: ../Doc/library/unittest.rst:1824 msgid "If set to true then local variables will be shown in tracebacks." msgstr "" -#: ../Doc/library/unittest.rst:1826 +#: ../Doc/library/unittest.rst:1830 msgid "" "Return ``True`` if all tests run so far have passed, otherwise returns " "``False``." msgstr "" -#: ../Doc/library/unittest.rst:1829 +#: ../Doc/library/unittest.rst:1833 msgid "" "Returns ``False`` if there were any :attr:`unexpectedSuccesses` from tests " "marked with the :func:`expectedFailure` decorator." msgstr "" -#: ../Doc/library/unittest.rst:1835 +#: ../Doc/library/unittest.rst:1839 msgid "" "This method can be called to signal that the set of tests being run should " "be aborted by setting the :attr:`shouldStop` attribute to ``True``. :class:" @@ -2266,7 +2266,7 @@ msgid "" "additional tests." msgstr "" -#: ../Doc/library/unittest.rst:1840 +#: ../Doc/library/unittest.rst:1844 msgid "" "For example, this feature is used by the :class:`TextTestRunner` class to " "stop the test framework when the user signals an interrupt from the " @@ -2274,7 +2274,7 @@ msgid "" "implementations can use this in a similar manner." msgstr "" -#: ../Doc/library/unittest.rst:1845 +#: ../Doc/library/unittest.rst:1849 msgid "" "The following methods of the :class:`TestResult` class are used to maintain " "the internal data structures, and may be extended in subclasses to support " @@ -2282,136 +2282,136 @@ msgid "" "tools which support interactive reporting while tests are being run." msgstr "" -#: ../Doc/library/unittest.rst:1853 +#: ../Doc/library/unittest.rst:1857 msgid "Called when the test case *test* is about to be run." msgstr "" -#: ../Doc/library/unittest.rst:1857 +#: ../Doc/library/unittest.rst:1861 msgid "" "Called after the test case *test* has been executed, regardless of the " "outcome." msgstr "" -#: ../Doc/library/unittest.rst:1862 +#: ../Doc/library/unittest.rst:1866 msgid "Called once before any tests are executed." msgstr "" -#: ../Doc/library/unittest.rst:1869 +#: ../Doc/library/unittest.rst:1873 msgid "Called once after all tests are executed." msgstr "" -#: ../Doc/library/unittest.rst:1876 +#: ../Doc/library/unittest.rst:1880 msgid "" "Called when the test case *test* raises an unexpected exception. *err* is a " "tuple of the form returned by :func:`sys.exc_info`: ``(type, value, " "traceback)``." msgstr "" -#: ../Doc/library/unittest.rst:1880 +#: ../Doc/library/unittest.rst:1884 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`errors` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: ../Doc/library/unittest.rst:1887 +#: ../Doc/library/unittest.rst:1891 msgid "" "Called when the test case *test* signals a failure. *err* is a tuple of the " "form returned by :func:`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: ../Doc/library/unittest.rst:1890 +#: ../Doc/library/unittest.rst:1894 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`failures` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: ../Doc/library/unittest.rst:1897 +#: ../Doc/library/unittest.rst:1901 msgid "Called when the test case *test* succeeds." msgstr "" -#: ../Doc/library/unittest.rst:1899 +#: ../Doc/library/unittest.rst:1903 msgid "The default implementation does nothing." msgstr "" -#: ../Doc/library/unittest.rst:1904 +#: ../Doc/library/unittest.rst:1908 msgid "" "Called when the test case *test* is skipped. *reason* is the reason the " "test gave for skipping." msgstr "" -#: ../Doc/library/unittest.rst:1907 +#: ../Doc/library/unittest.rst:1911 msgid "" "The default implementation appends a tuple ``(test, reason)`` to the " "instance's :attr:`skipped` attribute." msgstr "" -#: ../Doc/library/unittest.rst:1913 +#: ../Doc/library/unittest.rst:1917 msgid "" "Called when the test case *test* fails, but was marked with the :func:" "`expectedFailure` decorator." msgstr "" -#: ../Doc/library/unittest.rst:1916 +#: ../Doc/library/unittest.rst:1920 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`expectedFailures` attribute, where *formatted_err* is a " "formatted traceback derived from *err*." msgstr "" -#: ../Doc/library/unittest.rst:1923 +#: ../Doc/library/unittest.rst:1927 msgid "" "Called when the test case *test* was marked with the :func:`expectedFailure` " "decorator, but succeeded." msgstr "" -#: ../Doc/library/unittest.rst:1926 +#: ../Doc/library/unittest.rst:1930 msgid "" "The default implementation appends the test to the instance's :attr:" "`unexpectedSuccesses` attribute." msgstr "" -#: ../Doc/library/unittest.rst:1932 +#: ../Doc/library/unittest.rst:1936 msgid "" "Called when a subtest finishes. *test* is the test case corresponding to " "the test method. *subtest* is a custom :class:`TestCase` instance " "describing the subtest." msgstr "" -#: ../Doc/library/unittest.rst:1936 +#: ../Doc/library/unittest.rst:1940 msgid "" "If *outcome* is :const:`None`, the subtest succeeded. Otherwise, it failed " "with an exception where *outcome* is a tuple of the form returned by :func:" "`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: ../Doc/library/unittest.rst:1940 +#: ../Doc/library/unittest.rst:1944 msgid "" "The default implementation does nothing when the outcome is a success, and " "records subtest failures as normal failures." msgstr "" -#: ../Doc/library/unittest.rst:1948 +#: ../Doc/library/unittest.rst:1952 msgid "" "A concrete implementation of :class:`TestResult` used by the :class:" "`TextTestRunner`." msgstr "" -#: ../Doc/library/unittest.rst:1951 +#: ../Doc/library/unittest.rst:1955 msgid "" "This class was previously named ``_TextTestResult``. The old name still " "exists as an alias but is deprecated." msgstr "" -#: ../Doc/library/unittest.rst:1958 +#: ../Doc/library/unittest.rst:1962 msgid "" "Instance of the :class:`TestLoader` class intended to be shared. If no " "customization of the :class:`TestLoader` is needed, this instance can be " "used instead of repeatedly creating new instances." msgstr "" -#: ../Doc/library/unittest.rst:1966 +#: ../Doc/library/unittest.rst:1970 msgid "" "A basic test runner implementation that outputs results to a stream. If " "*stream* is ``None``, the default, :data:`sys.stderr` is used as the output " @@ -2422,7 +2422,7 @@ msgid "" "unittest." msgstr "" -#: ../Doc/library/unittest.rst:1973 +#: ../Doc/library/unittest.rst:1977 msgid "" "By default this runner shows :exc:`DeprecationWarning`, :exc:" "`PendingDeprecationWarning`, :exc:`ResourceWarning` and :exc:`ImportWarning` " @@ -2435,28 +2435,28 @@ msgid "" "warnings>`) and leaving *warnings* to ``None``." msgstr "" -#: ../Doc/library/unittest.rst:1984 +#: ../Doc/library/unittest.rst:1988 msgid "Added the ``warnings`` argument." msgstr "" -#: ../Doc/library/unittest.rst:1987 +#: ../Doc/library/unittest.rst:1991 msgid "" "The default stream is set to :data:`sys.stderr` at instantiation time rather " "than import time." msgstr "" -#: ../Doc/library/unittest.rst:1991 +#: ../Doc/library/unittest.rst:1995 msgid "Added the tb_locals parameter." msgstr "" -#: ../Doc/library/unittest.rst:1996 +#: ../Doc/library/unittest.rst:2000 msgid "" "This method returns the instance of ``TestResult`` used by :meth:`run`. It " "is not intended to be called directly, but can be overridden in subclasses " "to provide a custom ``TestResult``." msgstr "" -#: ../Doc/library/unittest.rst:2000 +#: ../Doc/library/unittest.rst:2004 msgid "" "``_makeResult()`` instantiates the class or callable passed in the " "``TextTestRunner`` constructor as the ``resultclass`` argument. It defaults " @@ -2464,7 +2464,7 @@ msgid "" "class is instantiated with the following arguments::" msgstr "" -#: ../Doc/library/unittest.rst:2009 +#: ../Doc/library/unittest.rst:2013 msgid "" "This method is the main public interface to the `TextTestRunner`. This " "method takes a :class:`TestSuite` or :class:`TestCase` instance. A :class:" @@ -2472,7 +2472,7 @@ msgid "" "run and the results printed to stdout." msgstr "" -#: ../Doc/library/unittest.rst:2020 +#: ../Doc/library/unittest.rst:2024 msgid "" "A command-line program that loads a set of tests from *module* and runs " "them; this is primarily for making test modules conveniently executable. The " @@ -2480,13 +2480,13 @@ msgid "" "of a test script::" msgstr "" -#: ../Doc/library/unittest.rst:2028 +#: ../Doc/library/unittest.rst:2032 msgid "" "You can run tests with more detailed information by passing in the verbosity " "argument::" msgstr "" -#: ../Doc/library/unittest.rst:2034 +#: ../Doc/library/unittest.rst:2038 msgid "" "The *defaultTest* argument is either the name of a single test or an " "iterable of test names to run if no test names are specified via *argv*. If " @@ -2494,40 +2494,40 @@ msgid "" "tests found in *module* are run." msgstr "" -#: ../Doc/library/unittest.rst:2039 +#: ../Doc/library/unittest.rst:2043 msgid "" "The *argv* argument can be a list of options passed to the program, with the " "first element being the program name. If not specified or ``None``, the " "values of :data:`sys.argv` are used." msgstr "" -#: ../Doc/library/unittest.rst:2043 +#: ../Doc/library/unittest.rst:2047 msgid "" "The *testRunner* argument can either be a test runner class or an already " "created instance of it. By default ``main`` calls :func:`sys.exit` with an " "exit code indicating success or failure of the tests run." msgstr "" -#: ../Doc/library/unittest.rst:2047 +#: ../Doc/library/unittest.rst:2051 msgid "" "The *testLoader* argument has to be a :class:`TestLoader` instance, and " "defaults to :data:`defaultTestLoader`." msgstr "" -#: ../Doc/library/unittest.rst:2050 +#: ../Doc/library/unittest.rst:2054 msgid "" "``main`` supports being used from the interactive interpreter by passing in " "the argument ``exit=False``. This displays the result on standard output " "without calling :func:`sys.exit`::" msgstr "" -#: ../Doc/library/unittest.rst:2057 +#: ../Doc/library/unittest.rst:2061 msgid "" "The *failfast*, *catchbreak* and *buffer* parameters have the same effect as " "the same-name `command-line options`_." msgstr "" -#: ../Doc/library/unittest.rst:2060 +#: ../Doc/library/unittest.rst:2064 msgid "" "The *warnings* argument specifies the :ref:`warning filter ` " "that should be used while running the tests. If it's not specified, it will " @@ -2536,56 +2536,56 @@ msgid "" "to ``'default'``." msgstr "" -#: ../Doc/library/unittest.rst:2066 +#: ../Doc/library/unittest.rst:2070 msgid "" "Calling ``main`` actually returns an instance of the ``TestProgram`` class. " "This stores the result of the tests run as the ``result`` attribute." msgstr "" -#: ../Doc/library/unittest.rst:2069 +#: ../Doc/library/unittest.rst:2073 msgid "The *exit* parameter was added." msgstr "" -#: ../Doc/library/unittest.rst:2072 +#: ../Doc/library/unittest.rst:2076 msgid "" "The *verbosity*, *failfast*, *catchbreak*, *buffer* and *warnings* " "parameters were added." msgstr "" -#: ../Doc/library/unittest.rst:2076 +#: ../Doc/library/unittest.rst:2080 msgid "" "The *defaultTest* parameter was changed to also accept an iterable of test " "names." msgstr "" -#: ../Doc/library/unittest.rst:2082 +#: ../Doc/library/unittest.rst:2086 msgid "load_tests Protocol" msgstr "" -#: ../Doc/library/unittest.rst:2086 +#: ../Doc/library/unittest.rst:2090 msgid "" "Modules or packages can customize how tests are loaded from them during " "normal test runs or test discovery by implementing a function called " "``load_tests``." msgstr "" -#: ../Doc/library/unittest.rst:2089 +#: ../Doc/library/unittest.rst:2093 msgid "" "If a test module defines ``load_tests`` it will be called by :meth:" "`TestLoader.loadTestsFromModule` with the following arguments::" msgstr "" -#: ../Doc/library/unittest.rst:2094 +#: ../Doc/library/unittest.rst:2098 msgid "" "where *pattern* is passed straight through from ``loadTestsFromModule``. It " "defaults to ``None``." msgstr "" -#: ../Doc/library/unittest.rst:2097 +#: ../Doc/library/unittest.rst:2101 msgid "It should return a :class:`TestSuite`." msgstr "" -#: ../Doc/library/unittest.rst:2099 +#: ../Doc/library/unittest.rst:2103 msgid "" "*loader* is the instance of :class:`TestLoader` doing the loading. " "*standard_tests* are the tests that would be loaded by default from the " @@ -2594,13 +2594,13 @@ msgid "" "packages as part of test discovery." msgstr "" -#: ../Doc/library/unittest.rst:2105 +#: ../Doc/library/unittest.rst:2109 msgid "" "A typical ``load_tests`` function that loads tests from a specific set of :" "class:`TestCase` classes may look like::" msgstr "" -#: ../Doc/library/unittest.rst:2117 +#: ../Doc/library/unittest.rst:2121 msgid "" "If discovery is started in a directory containing a package, either from the " "command line or by calling :meth:`TestLoader.discover`, then the package :" @@ -2610,31 +2610,31 @@ msgid "" "left up to ``load_tests`` which is called with the following arguments::" msgstr "" -#: ../Doc/library/unittest.rst:2126 +#: ../Doc/library/unittest.rst:2130 msgid "" "This should return a :class:`TestSuite` representing all the tests from the " "package. (``standard_tests`` will only contain tests collected from :file:" "`__init__.py`.)" msgstr "" -#: ../Doc/library/unittest.rst:2130 +#: ../Doc/library/unittest.rst:2134 msgid "" "Because the pattern is passed into ``load_tests`` the package is free to " "continue (and potentially modify) test discovery. A 'do nothing' " "``load_tests`` function for a test package would look like::" msgstr "" -#: ../Doc/library/unittest.rst:2141 +#: ../Doc/library/unittest.rst:2145 msgid "" "Discovery no longer checks package names for matching *pattern* due to the " "impossibility of package names matching the default pattern." msgstr "" -#: ../Doc/library/unittest.rst:2148 +#: ../Doc/library/unittest.rst:2152 msgid "Class and Module Fixtures" msgstr "" -#: ../Doc/library/unittest.rst:2150 +#: ../Doc/library/unittest.rst:2154 msgid "" "Class and module level fixtures are implemented in :class:`TestSuite`. When " "the test suite encounters a test from a new class then :meth:`tearDownClass` " @@ -2642,27 +2642,27 @@ msgid "" "`setUpClass` from the new class." msgstr "" -#: ../Doc/library/unittest.rst:2155 +#: ../Doc/library/unittest.rst:2159 msgid "" "Similarly if a test is from a different module from the previous test then " "``tearDownModule`` from the previous module is run, followed by " "``setUpModule`` from the new module." msgstr "" -#: ../Doc/library/unittest.rst:2159 +#: ../Doc/library/unittest.rst:2163 msgid "" "After all the tests have run the final ``tearDownClass`` and " "``tearDownModule`` are run." msgstr "" -#: ../Doc/library/unittest.rst:2162 +#: ../Doc/library/unittest.rst:2166 msgid "" "Note that shared fixtures do not play well with [potential] features like " "test parallelization and they break test isolation. They should be used with " "care." msgstr "" -#: ../Doc/library/unittest.rst:2165 +#: ../Doc/library/unittest.rst:2169 msgid "" "The default ordering of tests created by the unittest test loaders is to " "group all tests from the same modules and classes together. This will lead " @@ -2672,14 +2672,14 @@ msgid "" "functions may be called multiple times in a single test run." msgstr "" -#: ../Doc/library/unittest.rst:2172 +#: ../Doc/library/unittest.rst:2176 msgid "" "Shared fixtures are not intended to work with suites with non-standard " "ordering. A ``BaseTestSuite`` still exists for frameworks that don't want to " "support shared fixtures." msgstr "" -#: ../Doc/library/unittest.rst:2176 +#: ../Doc/library/unittest.rst:2180 msgid "" "If there are any exceptions raised during one of the shared fixture " "functions the test is reported as an error. Because there is no " @@ -2689,22 +2689,22 @@ msgid "" "matter, but if you are a framework author it may be relevant." msgstr "" -#: ../Doc/library/unittest.rst:2185 +#: ../Doc/library/unittest.rst:2189 msgid "setUpClass and tearDownClass" msgstr "" -#: ../Doc/library/unittest.rst:2187 +#: ../Doc/library/unittest.rst:2191 msgid "These must be implemented as class methods::" msgstr "" -#: ../Doc/library/unittest.rst:2200 +#: ../Doc/library/unittest.rst:2204 msgid "" "If you want the ``setUpClass`` and ``tearDownClass`` on base classes called " "then you must call up to them yourself. The implementations in :class:" "`TestCase` are empty." msgstr "" -#: ../Doc/library/unittest.rst:2204 +#: ../Doc/library/unittest.rst:2208 msgid "" "If an exception is raised during a ``setUpClass`` then the tests in the " "class are not run and the ``tearDownClass`` is not run. Skipped classes will " @@ -2713,15 +2713,15 @@ msgid "" "instead of as an error." msgstr "" -#: ../Doc/library/unittest.rst:2212 +#: ../Doc/library/unittest.rst:2216 msgid "setUpModule and tearDownModule" msgstr "" -#: ../Doc/library/unittest.rst:2214 +#: ../Doc/library/unittest.rst:2218 msgid "These should be implemented as functions::" msgstr "" -#: ../Doc/library/unittest.rst:2222 +#: ../Doc/library/unittest.rst:2226 msgid "" "If an exception is raised in a ``setUpModule`` then none of the tests in the " "module will be run and the ``tearDownModule`` will not be run. If the " @@ -2729,11 +2729,11 @@ msgid "" "having been skipped instead of as an error." msgstr "" -#: ../Doc/library/unittest.rst:2229 +#: ../Doc/library/unittest.rst:2233 msgid "Signal Handling" msgstr "" -#: ../Doc/library/unittest.rst:2233 +#: ../Doc/library/unittest.rst:2237 msgid "" "The :option:`-c/--catch ` command-line option to unittest, " "along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide " @@ -2743,7 +2743,7 @@ msgid "" "A second control-c will raise a :exc:`KeyboardInterrupt` in the usual way." msgstr "" -#: ../Doc/library/unittest.rst:2240 +#: ../Doc/library/unittest.rst:2244 msgid "" "The control-c handling signal handler attempts to remain compatible with " "code or tests that install their own :const:`signal.SIGINT` handler. If the " @@ -2755,41 +2755,41 @@ msgid "" "disabled the :func:`removeHandler` decorator can be used." msgstr "" -#: ../Doc/library/unittest.rst:2249 +#: ../Doc/library/unittest.rst:2253 msgid "" "There are a few utility functions for framework authors to enable control-c " "handling functionality within test frameworks." msgstr "" -#: ../Doc/library/unittest.rst:2254 +#: ../Doc/library/unittest.rst:2258 msgid "" "Install the control-c handler. When a :const:`signal.SIGINT` is received " "(usually in response to the user pressing control-c) all registered results " "have :meth:`~TestResult.stop` called." msgstr "" -#: ../Doc/library/unittest.rst:2261 +#: ../Doc/library/unittest.rst:2265 msgid "" "Register a :class:`TestResult` object for control-c handling. Registering a " "result stores a weak reference to it, so it doesn't prevent the result from " "being garbage collected." msgstr "" -#: ../Doc/library/unittest.rst:2265 +#: ../Doc/library/unittest.rst:2269 msgid "" "Registering a :class:`TestResult` object has no side-effects if control-c " "handling is not enabled, so test frameworks can unconditionally register all " "results they create independently of whether or not handling is enabled." msgstr "" -#: ../Doc/library/unittest.rst:2272 +#: ../Doc/library/unittest.rst:2276 msgid "" "Remove a registered result. Once a result has been removed then :meth:" "`~TestResult.stop` will no longer be called on that result object in " "response to a control-c." msgstr "" -#: ../Doc/library/unittest.rst:2279 +#: ../Doc/library/unittest.rst:2283 msgid "" "When called without arguments this function removes the control-c handler if " "it has been installed. This function can also be used as a test decorator to " diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index 0de167ff..54819131 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-02 22:11+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-10-19 17:28+0100\n" "Last-Translator: \n" "Language-Team: LANGUAGE \n" @@ -100,12 +100,12 @@ msgstr "" "ce paramètre a une syntaxe invalide, renvoie ``None``." #: ../Doc/library/urllib.robotparser.rst:71 +#, fuzzy msgid "" "Returns the contents of the ``Request-rate`` parameter from ``robots.txt`` " -"in the form of a :func:`~collections.namedtuple` ``(requests, seconds)``. " -"If there is no such parameter or it doesn't apply to the *useragent* " -"specified or the ``robots.txt`` entry for this parameter has invalid syntax, " -"return ``None``." +"as a :term:`named tuple` ``RequestRate(requests, seconds)``. If there is no " +"such parameter or it doesn't apply to the *useragent* specified or the " +"``robots.txt`` entry for this parameter has invalid syntax, return ``None``." msgstr "" "Renvoie le contenu du paramètre ``Request-rate`` du ``robots.txt`` sous la " "forme d'un :func:`~collections.namedtuple` ``(requests, seconds)``. S'il " diff --git a/library/xml.po b/library/xml.po index 38d94db2..8f7998ad 100644 --- a/library/xml.po +++ b/library/xml.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-09-21 09:15+0200\n" "PO-Revision-Date: 2017-09-22 10:14+0200\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.0.4\n" #: ../Doc/library/xml.rst:4 diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index ef461c42..568ca407 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 19:40+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -697,46 +697,46 @@ msgid "" "able to suspend execution in its *enter* and *exit* methods." msgstr "" -#: ../Doc/reference/compound_stmts.rst:787 +#: ../Doc/reference/compound_stmts.rst:786 msgid "See also :meth:`__aenter__` and :meth:`__aexit__` for details." msgstr "" -#: ../Doc/reference/compound_stmts.rst:789 +#: ../Doc/reference/compound_stmts.rst:788 msgid "" "It is a :exc:`SyntaxError` to use ``async with`` statement outside of an :" "keyword:`async def` function." msgstr "" -#: ../Doc/reference/compound_stmts.rst:794 +#: ../Doc/reference/compound_stmts.rst:793 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: ../Doc/reference/compound_stmts.rst:798 +#: ../Doc/reference/compound_stmts.rst:797 msgid "Footnotes" msgstr "Notes" -#: ../Doc/reference/compound_stmts.rst:799 +#: ../Doc/reference/compound_stmts.rst:798 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " "exception causes the old one to be lost." msgstr "" -#: ../Doc/reference/compound_stmts.rst:803 +#: ../Doc/reference/compound_stmts.rst:802 msgid "" "Currently, control \"flows off the end\" except in the case of an exception " "or the execution of a :keyword:`return`, :keyword:`continue`, or :keyword:" "`break` statement." msgstr "" -#: ../Doc/reference/compound_stmts.rst:807 +#: ../Doc/reference/compound_stmts.rst:806 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " "function's :term:`docstring`." msgstr "" -#: ../Doc/reference/compound_stmts.rst:811 +#: ../Doc/reference/compound_stmts.rst:810 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" diff --git a/reference/import.po b/reference/import.po index eabcda3f..3f95650a 100644 --- a/reference/import.po +++ b/reference/import.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-12 13:37+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -650,28 +650,29 @@ msgstr "" #: ../Doc/reference/import.rst:522 msgid "" -"See :class:`~importlib.machinery.ModuleSpec` for more specifics on what " -"information a module's spec may hold." +"The module's spec is exposed as the ``__spec__`` attribute on a module " +"object. See :class:`~importlib.machinery.ModuleSpec` for details on the " +"contents of the module spec." msgstr "" -#: ../Doc/reference/import.rst:530 +#: ../Doc/reference/import.rst:531 msgid "Import-related module attributes" msgstr "" -#: ../Doc/reference/import.rst:532 +#: ../Doc/reference/import.rst:533 msgid "" "The import machinery fills in these attributes on each module object during " "loading, based on the module's spec, before the loader executes the module." msgstr "" -#: ../Doc/reference/import.rst:538 +#: ../Doc/reference/import.rst:539 msgid "" "The ``__name__`` attribute must be set to the fully-qualified name of the " "module. This name is used to uniquely identify the module in the import " "system." msgstr "" -#: ../Doc/reference/import.rst:544 +#: ../Doc/reference/import.rst:545 msgid "" "The ``__loader__`` attribute must be set to the loader object that the " "import machinery used when loading the module. This is mostly for " @@ -679,7 +680,7 @@ msgid "" "for example getting data associated with a loader." msgstr "" -#: ../Doc/reference/import.rst:551 +#: ../Doc/reference/import.rst:552 msgid "" "The module's ``__package__`` attribute must be set. Its value must be a " "string, but it can be the same value as its ``__name__``. When the module " @@ -689,20 +690,20 @@ msgid "" "name. See :pep:`366` for further details." msgstr "" -#: ../Doc/reference/import.rst:559 +#: ../Doc/reference/import.rst:560 msgid "" "This attribute is used instead of ``__name__`` to calculate explicit " "relative imports for main modules, as defined in :pep:`366`. It is expected " "to have the same value as ``__spec__.parent``." msgstr "" -#: ../Doc/reference/import.rst:563 +#: ../Doc/reference/import.rst:564 msgid "" "The value of ``__package__`` is expected to be the same as ``__spec__." "parent``." msgstr "" -#: ../Doc/reference/import.rst:569 +#: ../Doc/reference/import.rst:570 msgid "" "The ``__spec__`` attribute must be set to the module spec that was used when " "importing the module. Setting ``__spec__`` appropriately applies equally to :" @@ -711,19 +712,19 @@ msgid "" "cases `." msgstr "" -#: ../Doc/reference/import.rst:575 +#: ../Doc/reference/import.rst:576 msgid "" "When ``__package__`` is not defined, ``__spec__.parent`` is used as a " "fallback." msgstr "" -#: ../Doc/reference/import.rst:580 +#: ../Doc/reference/import.rst:581 msgid "" "``__spec__.parent`` is used as a fallback when ``__package__`` is not " "defined." msgstr "" -#: ../Doc/reference/import.rst:586 +#: ../Doc/reference/import.rst:587 msgid "" "If the module is a package (either regular or namespace), the module " "object's ``__path__`` attribute must be set. The value must be iterable, " @@ -733,18 +734,18 @@ msgid "" "rules>`." msgstr "" -#: ../Doc/reference/import.rst:593 +#: ../Doc/reference/import.rst:594 msgid "Non-package modules should not have a ``__path__`` attribute." msgstr "" -#: ../Doc/reference/import.rst:598 +#: ../Doc/reference/import.rst:599 msgid "" "``__file__`` is optional. If set, this attribute's value must be a string. " "The import system may opt to leave ``__file__`` unset if it has no semantic " "meaning (e.g. a module loaded from a database)." msgstr "" -#: ../Doc/reference/import.rst:602 +#: ../Doc/reference/import.rst:603 msgid "" "If ``__file__`` is set, it may also be appropriate to set the ``__cached__`` " "attribute which is the path to any compiled version of the code (e.g. byte-" @@ -753,7 +754,7 @@ msgid "" "`3147`)." msgstr "" -#: ../Doc/reference/import.rst:608 +#: ../Doc/reference/import.rst:609 msgid "" "It is also appropriate to set ``__cached__`` when ``__file__`` is not set. " "However, that scenario is quite atypical. Ultimately, the loader is what " @@ -762,17 +763,17 @@ msgid "" "scenario may be appropriate." msgstr "" -#: ../Doc/reference/import.rst:617 +#: ../Doc/reference/import.rst:618 msgid "module.__path__" msgstr "" -#: ../Doc/reference/import.rst:619 +#: ../Doc/reference/import.rst:620 msgid "" "By definition, if a module has a ``__path__`` attribute, it is a package, " "regardless of its value." msgstr "" -#: ../Doc/reference/import.rst:622 +#: ../Doc/reference/import.rst:623 msgid "" "A package's ``__path__`` attribute is used during imports of its " "subpackages. Within the import machinery, it functions much the same as :" @@ -781,7 +782,7 @@ msgid "" "than :data:`sys.path`." msgstr "" -#: ../Doc/reference/import.rst:628 +#: ../Doc/reference/import.rst:629 msgid "" "``__path__`` must be an iterable of strings, but it may be empty. The same " "rules used for :data:`sys.path` also apply to a package's ``__path__``, and :" @@ -789,7 +790,7 @@ msgid "" "package's ``__path__``." msgstr "" -#: ../Doc/reference/import.rst:633 +#: ../Doc/reference/import.rst:634 msgid "" "A package's ``__init__.py`` file may set or alter the package's ``__path__`` " "attribute, and this was typically the way namespace packages were " @@ -799,18 +800,18 @@ msgid "" "``__path__`` correctly for the namespace package." msgstr "" -#: ../Doc/reference/import.rst:641 +#: ../Doc/reference/import.rst:642 msgid "Module reprs" msgstr "" -#: ../Doc/reference/import.rst:643 +#: ../Doc/reference/import.rst:644 msgid "" "By default, all modules have a usable repr, however depending on the " "attributes set above, and in the module's spec, you can more explicitly " "control the repr of module objects." msgstr "" -#: ../Doc/reference/import.rst:647 +#: ../Doc/reference/import.rst:648 msgid "" "If the module has a spec (``__spec__``), the import machinery will try to " "generate a repr from it. If that fails or there is no spec, the import " @@ -820,41 +821,41 @@ msgid "" "for whatever information is missing." msgstr "" -#: ../Doc/reference/import.rst:654 +#: ../Doc/reference/import.rst:655 msgid "Here are the exact rules used:" msgstr "" -#: ../Doc/reference/import.rst:656 +#: ../Doc/reference/import.rst:657 msgid "" "If the module has a ``__spec__`` attribute, the information in the spec is " "used to generate the repr. The \"name\", \"loader\", \"origin\", and " "\"has_location\" attributes are consulted." msgstr "" -#: ../Doc/reference/import.rst:660 +#: ../Doc/reference/import.rst:661 msgid "" "If the module has a ``__file__`` attribute, this is used as part of the " "module's repr." msgstr "" -#: ../Doc/reference/import.rst:663 +#: ../Doc/reference/import.rst:664 msgid "" "If the module has no ``__file__`` but does have a ``__loader__`` that is not " "``None``, then the loader's repr is used as part of the module's repr." msgstr "" -#: ../Doc/reference/import.rst:666 +#: ../Doc/reference/import.rst:667 msgid "Otherwise, just use the module's ``__name__`` in the repr." msgstr "" -#: ../Doc/reference/import.rst:668 +#: ../Doc/reference/import.rst:669 msgid "" "Use of :meth:`loader.module_repr() ` has " "been deprecated and the module spec is now used by the import machinery to " "generate a module repr." msgstr "" -#: ../Doc/reference/import.rst:673 +#: ../Doc/reference/import.rst:674 msgid "" "For backward compatibility with Python 3.3, the module repr will be " "generated by calling the loader's :meth:`~importlib.abc.Loader.module_repr` " @@ -862,11 +863,11 @@ msgid "" "the method is deprecated." msgstr "" -#: ../Doc/reference/import.rst:680 +#: ../Doc/reference/import.rst:681 msgid "The Path Based Finder" msgstr "" -#: ../Doc/reference/import.rst:685 +#: ../Doc/reference/import.rst:686 msgid "" "As mentioned previously, Python comes with several default meta path " "finders. One of these, called the :term:`path based finder` (:class:" @@ -875,14 +876,14 @@ msgid "" "a location to search for modules." msgstr "" -#: ../Doc/reference/import.rst:691 +#: ../Doc/reference/import.rst:692 msgid "" "The path based finder itself doesn't know how to import anything. Instead, " "it traverses the individual path entries, associating each of them with a " "path entry finder that knows how to handle that particular kind of path." msgstr "" -#: ../Doc/reference/import.rst:695 +#: ../Doc/reference/import.rst:696 msgid "" "The default set of path entry finders implement all the semantics for " "finding modules on the file system, handling special file types such as " @@ -893,14 +894,14 @@ msgid "" "from zipfiles." msgstr "" -#: ../Doc/reference/import.rst:702 +#: ../Doc/reference/import.rst:703 msgid "" "Path entries need not be limited to file system locations. They can refer " "to URLs, database queries, or any other location that can be specified as a " "string." msgstr "" -#: ../Doc/reference/import.rst:706 +#: ../Doc/reference/import.rst:707 msgid "" "The path based finder provides additional hooks and protocols so that you " "can extend and customize the types of searchable path entries. For example, " @@ -911,7 +912,7 @@ msgid "" "from the web." msgstr "" -#: ../Doc/reference/import.rst:714 +#: ../Doc/reference/import.rst:715 msgid "" "A word of warning: this section and the previous both use the term *finder*, " "distinguishing between them by using the terms :term:`meta path finder` and :" @@ -922,7 +923,7 @@ msgid "" "process, as keyed off the :data:`sys.meta_path` traversal." msgstr "" -#: ../Doc/reference/import.rst:722 +#: ../Doc/reference/import.rst:723 msgid "" "By contrast, path entry finders are in a sense an implementation detail of " "the path based finder, and in fact, if the path based finder were to be " @@ -930,11 +931,11 @@ msgid "" "would be invoked." msgstr "" -#: ../Doc/reference/import.rst:729 +#: ../Doc/reference/import.rst:730 msgid "Path entry finders" msgstr "" -#: ../Doc/reference/import.rst:737 +#: ../Doc/reference/import.rst:738 msgid "" "The :term:`path based finder` is responsible for finding and loading Python " "modules and packages whose location is specified with a string :term:`path " @@ -942,7 +943,7 @@ msgid "" "not be limited to this." msgstr "" -#: ../Doc/reference/import.rst:742 +#: ../Doc/reference/import.rst:743 msgid "" "As a meta path finder, the :term:`path based finder` implements the :meth:" "`~importlib.abc.MetaPathFinder.find_spec` protocol previously described, " @@ -950,7 +951,7 @@ msgid "" "modules are found and loaded from the :term:`import path`." msgstr "" -#: ../Doc/reference/import.rst:747 +#: ../Doc/reference/import.rst:748 msgid "" "Three variables are used by the :term:`path based finder`, :data:`sys." "path`, :data:`sys.path_hooks` and :data:`sys.path_importer_cache`. The " @@ -958,7 +959,7 @@ msgid "" "additional ways that the import machinery can be customized." msgstr "" -#: ../Doc/reference/import.rst:752 +#: ../Doc/reference/import.rst:753 msgid "" ":data:`sys.path` contains a list of strings providing search locations for " "modules and packages. It is initialized from the :data:`PYTHONPATH` " @@ -971,7 +972,7 @@ msgid "" "determined by the individual :term:`path entry finders `." msgstr "" -#: ../Doc/reference/import.rst:763 +#: ../Doc/reference/import.rst:764 msgid "" "The :term:`path based finder` is a :term:`meta path finder`, so the import " "machinery begins the :term:`import path` search by calling the path based " @@ -983,7 +984,7 @@ msgid "" "top level import and :data:`sys.path` is used." msgstr "" -#: ../Doc/reference/import.rst:772 +#: ../Doc/reference/import.rst:773 msgid "" "The path based finder iterates over every entry in the search path, and for " "each of these, looks for an appropriate :term:`path entry finder` (:class:" @@ -999,7 +1000,7 @@ msgid "" "finder to perform the path entry search again [#fnpic]_." msgstr "" -#: ../Doc/reference/import.rst:785 +#: ../Doc/reference/import.rst:786 msgid "" "If the path entry is not present in the cache, the path based finder " "iterates over every callable in :data:`sys.path_hooks`. Each of the :term:" @@ -1015,7 +1016,7 @@ msgid "" "decode the argument, it should raise :exc:`ImportError`." msgstr "" -#: ../Doc/reference/import.rst:799 +#: ../Doc/reference/import.rst:800 msgid "" "If :data:`sys.path_hooks` iteration ends with no :term:`path entry finder` " "being returned, then the path based finder's :meth:`~importlib.machinery." @@ -1025,7 +1026,7 @@ msgid "" "could not find the module." msgstr "" -#: ../Doc/reference/import.rst:806 +#: ../Doc/reference/import.rst:807 msgid "" "If a :term:`path entry finder` *is* returned by one of the :term:`path entry " "hook` callables on :data:`sys.path_hooks`, then the following protocol is " @@ -1033,7 +1034,7 @@ msgid "" "the module." msgstr "" -#: ../Doc/reference/import.rst:811 +#: ../Doc/reference/import.rst:812 msgid "" "The current working directory -- denoted by an empty string -- is handled " "slightly differently from other entries on :data:`sys.path`. First, if the " @@ -1045,18 +1046,18 @@ msgid "" "and not the empty string." msgstr "" -#: ../Doc/reference/import.rst:821 +#: ../Doc/reference/import.rst:822 msgid "Path entry finder protocol" msgstr "" -#: ../Doc/reference/import.rst:823 +#: ../Doc/reference/import.rst:824 msgid "" "In order to support imports of modules and initialized packages and also to " "contribute portions to namespace packages, path entry finders must implement " "the :meth:`~importlib.abc.PathEntryFinder.find_spec` method." msgstr "" -#: ../Doc/reference/import.rst:827 +#: ../Doc/reference/import.rst:828 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` takes two argument, the " "fully qualified name of the module being imported, and the (optional) target " @@ -1064,14 +1065,14 @@ msgid "" "spec will always have \"loader\" set (with one exception)." msgstr "" -#: ../Doc/reference/import.rst:832 +#: ../Doc/reference/import.rst:833 msgid "" "To indicate to the import machinery that the spec represents a namespace :" "term:`portion`. the path entry finder sets \"loader\" on the spec to " "``None`` and \"submodule_search_locations\" to a list containing the portion." msgstr "" -#: ../Doc/reference/import.rst:837 +#: ../Doc/reference/import.rst:838 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` replaced :meth:`~importlib." "abc.PathEntryFinder.find_loader` and :meth:`~importlib.abc.PathEntryFinder." @@ -1079,7 +1080,7 @@ msgid "" "``find_spec()`` is not defined." msgstr "" -#: ../Doc/reference/import.rst:843 +#: ../Doc/reference/import.rst:844 msgid "" "Older path entry finders may implement one of these two deprecated methods " "instead of ``find_spec()``. The methods are still respected for the sake of " @@ -1087,7 +1088,7 @@ msgid "" "path entry finder, the legacy methods are ignored." msgstr "" -#: ../Doc/reference/import.rst:848 +#: ../Doc/reference/import.rst:849 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_loader` takes one argument, the " "fully qualified name of the module being imported. ``find_loader()`` " @@ -1102,14 +1103,14 @@ msgid "" "although it can be empty." msgstr "" -#: ../Doc/reference/import.rst:860 +#: ../Doc/reference/import.rst:861 msgid "" "If ``find_loader()`` returns a non-``None`` loader value, the portion is " "ignored and the loader is returned from the path based finder, terminating " "the search through the path entries." msgstr "" -#: ../Doc/reference/import.rst:864 +#: ../Doc/reference/import.rst:865 msgid "" "For backwards compatibility with other implementations of the import " "protocol, many path entry finders also support the same, traditional " @@ -1119,7 +1120,7 @@ msgid "" "initial call to the path hook)." msgstr "" -#: ../Doc/reference/import.rst:871 +#: ../Doc/reference/import.rst:872 msgid "" "The ``find_module()`` method on path entry finders is deprecated, as it does " "not allow the path entry finder to contribute portions to namespace " @@ -1128,18 +1129,18 @@ msgid "" "preference to ``find_module()``." msgstr "" -#: ../Doc/reference/import.rst:879 +#: ../Doc/reference/import.rst:880 msgid "Replacing the standard import system" msgstr "" -#: ../Doc/reference/import.rst:881 +#: ../Doc/reference/import.rst:882 msgid "" "The most reliable mechanism for replacing the entire import system is to " "delete the default contents of :data:`sys.meta_path`, replacing them " "entirely with a custom meta path hook." msgstr "" -#: ../Doc/reference/import.rst:885 +#: ../Doc/reference/import.rst:886 msgid "" "If it is acceptable to only alter the behaviour of import statements without " "affecting other APIs that access the import system, then replacing the " @@ -1148,7 +1149,7 @@ msgid "" "statements within that module." msgstr "" -#: ../Doc/reference/import.rst:891 +#: ../Doc/reference/import.rst:892 msgid "" "To selectively prevent import of some modules from a hook early on the meta " "path (rather than disabling the standard import system entirely), it is " @@ -1158,11 +1159,11 @@ msgid "" "exception terminates it immediately." msgstr "" -#: ../Doc/reference/import.rst:900 +#: ../Doc/reference/import.rst:901 msgid "Special considerations for __main__" msgstr "" -#: ../Doc/reference/import.rst:902 +#: ../Doc/reference/import.rst:903 msgid "" "The :mod:`__main__` module is a special case relative to Python's import " "system. As noted :ref:`elsewhere `, the ``__main__`` module is " @@ -1173,17 +1174,17 @@ msgid "" "interpreter is invoked." msgstr "" -#: ../Doc/reference/import.rst:913 +#: ../Doc/reference/import.rst:914 msgid "__main__.__spec__" msgstr "" -#: ../Doc/reference/import.rst:915 +#: ../Doc/reference/import.rst:916 msgid "" "Depending on how :mod:`__main__` is initialized, ``__main__.__spec__`` gets " "set appropriately or to ``None``." msgstr "" -#: ../Doc/reference/import.rst:918 +#: ../Doc/reference/import.rst:919 msgid "" "When Python is started with the :option:`-m` option, ``__spec__`` is set to " "the module spec of the corresponding module or package. ``__spec__`` is also " @@ -1191,30 +1192,30 @@ msgid "" "directory, zipfile or other :data:`sys.path` entry." msgstr "" -#: ../Doc/reference/import.rst:923 +#: ../Doc/reference/import.rst:924 msgid "" "In :ref:`the remaining cases ` ``__main__." "__spec__`` is set to ``None``, as the code used to populate the :mod:" "`__main__` does not correspond directly with an importable module:" msgstr "" -#: ../Doc/reference/import.rst:927 +#: ../Doc/reference/import.rst:928 msgid "interactive prompt" msgstr "" -#: ../Doc/reference/import.rst:928 +#: ../Doc/reference/import.rst:929 msgid "-c switch" msgstr "" -#: ../Doc/reference/import.rst:929 +#: ../Doc/reference/import.rst:930 msgid "running from stdin" msgstr "" -#: ../Doc/reference/import.rst:930 +#: ../Doc/reference/import.rst:931 msgid "running directly from a source or bytecode file" msgstr "" -#: ../Doc/reference/import.rst:932 +#: ../Doc/reference/import.rst:933 msgid "" "Note that ``__main__.__spec__`` is always ``None`` in the last case, *even " "if* the file could technically be imported directly as a module instead. Use " @@ -1222,7 +1223,7 @@ msgid "" "`__main__`." msgstr "" -#: ../Doc/reference/import.rst:937 +#: ../Doc/reference/import.rst:938 msgid "" "Note also that even when ``__main__`` corresponds with an importable module " "and ``__main__.__spec__`` is set accordingly, they're still considered " @@ -1231,44 +1232,44 @@ msgid "" "populate the ``__main__`` namespace, and not during normal import." msgstr "" -#: ../Doc/reference/import.rst:945 +#: ../Doc/reference/import.rst:946 msgid "Open issues" msgstr "" -#: ../Doc/reference/import.rst:947 +#: ../Doc/reference/import.rst:948 msgid "XXX It would be really nice to have a diagram." msgstr "" -#: ../Doc/reference/import.rst:949 +#: ../Doc/reference/import.rst:950 msgid "" "XXX * (import_machinery.rst) how about a section devoted just to the " "attributes of modules and packages, perhaps expanding upon or supplanting " "the related entries in the data model reference page?" msgstr "" -#: ../Doc/reference/import.rst:953 +#: ../Doc/reference/import.rst:954 msgid "" "XXX runpy, pkgutil, et al in the library manual should all get \"See Also\" " "links at the top pointing to the new import system section." msgstr "" -#: ../Doc/reference/import.rst:956 +#: ../Doc/reference/import.rst:957 msgid "" "XXX Add more explanation regarding the different ways in which ``__main__`` " "is initialized?" msgstr "" -#: ../Doc/reference/import.rst:959 +#: ../Doc/reference/import.rst:960 msgid "" "XXX Add more info on ``__main__`` quirks/pitfalls (i.e. copy from :pep:" "`395`)." msgstr "" -#: ../Doc/reference/import.rst:964 +#: ../Doc/reference/import.rst:965 msgid "References" msgstr "" -#: ../Doc/reference/import.rst:966 +#: ../Doc/reference/import.rst:967 msgid "" "The import machinery has evolved considerably since Python's early days. " "The original `specification for packages ` for " "Python 3.3. :pep:`420` also introduced the :meth:`find_loader` protocol as " "an alternative to :meth:`find_module`." msgstr "" -#: ../Doc/reference/import.rst:978 +#: ../Doc/reference/import.rst:979 msgid "" ":pep:`366` describes the addition of the ``__package__`` attribute for " "explicit relative imports in main modules." msgstr "" -#: ../Doc/reference/import.rst:981 +#: ../Doc/reference/import.rst:982 msgid "" ":pep:`328` introduced absolute and explicit relative imports and initially " "proposed ``__name__`` for semantics :pep:`366` would eventually specify for " "``__package__``." msgstr "" -#: ../Doc/reference/import.rst:985 +#: ../Doc/reference/import.rst:986 msgid ":pep:`338` defines executing modules as scripts." msgstr "" -#: ../Doc/reference/import.rst:987 +#: ../Doc/reference/import.rst:988 msgid "" ":pep:`451` adds the encapsulation of per-module import state in spec " "objects. It also off-loads most of the boilerplate responsibilities of " @@ -1315,15 +1316,15 @@ msgid "" "finders and loaders." msgstr "" -#: ../Doc/reference/import.rst:994 +#: ../Doc/reference/import.rst:995 msgid "Footnotes" msgstr "Notes" -#: ../Doc/reference/import.rst:995 +#: ../Doc/reference/import.rst:996 msgid "See :class:`types.ModuleType`." msgstr "" -#: ../Doc/reference/import.rst:997 +#: ../Doc/reference/import.rst:998 msgid "" "The importlib implementation avoids using the return value directly. " "Instead, it gets the module object by looking the module name up in :data:" @@ -1332,7 +1333,7 @@ msgid "" "behavior that is not guaranteed to work in other Python implementations." msgstr "" -#: ../Doc/reference/import.rst:1004 +#: ../Doc/reference/import.rst:1005 msgid "" "In legacy code, it is possible to find instances of :class:`imp." "NullImporter` in the :data:`sys.path_importer_cache`. It is recommended " diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 3866c6a5..573db5d1 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -513,12 +513,6 @@ msgstr "" #: ../Doc/reference/lexical_analysis.rst:449 msgid "" -"As of Python 3.3 it is possible again to prefix string literals with a ``u`` " -"prefix to simplify maintenance of dual 2.x and 3.x codebases." -msgstr "" - -#: ../Doc/reference/lexical_analysis.rst:452 -msgid "" "Both string and bytes literals may optionally be prefixed with a letter " "``'r'`` or ``'R'``; such strings are called :dfn:`raw strings` and treat " "backslashes as literal characters. As a result, in string literals, " @@ -527,20 +521,20 @@ msgid "" "3.x's the ``'ur'`` syntax is not supported." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:459 +#: ../Doc/reference/lexical_analysis.rst:456 msgid "" "The ``'rb'`` prefix of raw bytes literals has been added as a synonym of " "``'br'``." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:463 +#: ../Doc/reference/lexical_analysis.rst:460 msgid "" "Support for the unicode legacy literal (``u'value'``) was reintroduced to " "simplify the maintenance of dual Python 2.x and 3.x codebases. See :pep:" "`414` for more information." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:468 +#: ../Doc/reference/lexical_analysis.rst:465 msgid "" "A string literal with ``'f'`` or ``'F'`` in its prefix is a :dfn:`formatted " "string literal`; see :ref:`f-strings`. The ``'f'`` may be combined with " @@ -548,7 +542,7 @@ msgid "" "are possible, but formatted bytes literals are not." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:473 +#: ../Doc/reference/lexical_analysis.rst:470 msgid "" "In triple-quoted literals, unescaped newlines and quotes are allowed (and " "are retained), except that three unescaped quotes in a row terminate the " @@ -556,214 +550,214 @@ msgid "" "either ``'`` or ``\"``.)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:479 +#: ../Doc/reference/lexical_analysis.rst:476 msgid "" "Unless an ``'r'`` or ``'R'`` prefix is present, escape sequences in string " "and bytes literals are interpreted according to rules similar to those used " "by Standard C. The recognized escape sequences are:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:484 -#: ../Doc/reference/lexical_analysis.rst:517 +#: ../Doc/reference/lexical_analysis.rst:481 +#: ../Doc/reference/lexical_analysis.rst:514 msgid "Escape Sequence" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:484 -#: ../Doc/reference/lexical_analysis.rst:517 +#: ../Doc/reference/lexical_analysis.rst:481 +#: ../Doc/reference/lexical_analysis.rst:514 msgid "Meaning" msgstr "Signification" -#: ../Doc/reference/lexical_analysis.rst:484 -#: ../Doc/reference/lexical_analysis.rst:517 +#: ../Doc/reference/lexical_analysis.rst:481 +#: ../Doc/reference/lexical_analysis.rst:514 msgid "Notes" msgstr "Notes" -#: ../Doc/reference/lexical_analysis.rst:486 +#: ../Doc/reference/lexical_analysis.rst:483 msgid "``\\newline``" msgstr "``\\newline``" -#: ../Doc/reference/lexical_analysis.rst:486 +#: ../Doc/reference/lexical_analysis.rst:483 msgid "Backslash and newline ignored" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:488 +#: ../Doc/reference/lexical_analysis.rst:485 msgid "``\\\\``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:488 +#: ../Doc/reference/lexical_analysis.rst:485 msgid "Backslash (``\\``)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:490 +#: ../Doc/reference/lexical_analysis.rst:487 msgid "``\\'``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:490 +#: ../Doc/reference/lexical_analysis.rst:487 msgid "Single quote (``'``)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:492 +#: ../Doc/reference/lexical_analysis.rst:489 msgid "``\\\"``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:492 +#: ../Doc/reference/lexical_analysis.rst:489 msgid "Double quote (``\"``)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:494 +#: ../Doc/reference/lexical_analysis.rst:491 msgid "``\\a``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:494 +#: ../Doc/reference/lexical_analysis.rst:491 msgid "ASCII Bell (BEL)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:496 +#: ../Doc/reference/lexical_analysis.rst:493 msgid "``\\b``" msgstr "``\\b``" -#: ../Doc/reference/lexical_analysis.rst:496 +#: ../Doc/reference/lexical_analysis.rst:493 msgid "ASCII Backspace (BS)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:498 +#: ../Doc/reference/lexical_analysis.rst:495 msgid "``\\f``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:498 +#: ../Doc/reference/lexical_analysis.rst:495 msgid "ASCII Formfeed (FF)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:500 +#: ../Doc/reference/lexical_analysis.rst:497 msgid "``\\n``" msgstr "``\\n``" -#: ../Doc/reference/lexical_analysis.rst:500 +#: ../Doc/reference/lexical_analysis.rst:497 msgid "ASCII Linefeed (LF)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:502 +#: ../Doc/reference/lexical_analysis.rst:499 msgid "``\\r``" msgstr "``\\r``" -#: ../Doc/reference/lexical_analysis.rst:502 +#: ../Doc/reference/lexical_analysis.rst:499 msgid "ASCII Carriage Return (CR)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:504 +#: ../Doc/reference/lexical_analysis.rst:501 msgid "``\\t``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:504 +#: ../Doc/reference/lexical_analysis.rst:501 msgid "ASCII Horizontal Tab (TAB)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:506 +#: ../Doc/reference/lexical_analysis.rst:503 msgid "``\\v``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:506 +#: ../Doc/reference/lexical_analysis.rst:503 msgid "ASCII Vertical Tab (VT)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:508 +#: ../Doc/reference/lexical_analysis.rst:505 msgid "``\\ooo``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:508 +#: ../Doc/reference/lexical_analysis.rst:505 msgid "Character with octal value *ooo*" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:508 +#: ../Doc/reference/lexical_analysis.rst:505 msgid "(1,3)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:511 +#: ../Doc/reference/lexical_analysis.rst:508 msgid "``\\xhh``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:511 +#: ../Doc/reference/lexical_analysis.rst:508 msgid "Character with hex value *hh*" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:511 +#: ../Doc/reference/lexical_analysis.rst:508 msgid "(2,3)" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:514 +#: ../Doc/reference/lexical_analysis.rst:511 msgid "Escape sequences only recognized in string literals are:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:519 +#: ../Doc/reference/lexical_analysis.rst:516 msgid "``\\N{name}``" msgstr "``\\N{name}``" -#: ../Doc/reference/lexical_analysis.rst:519 +#: ../Doc/reference/lexical_analysis.rst:516 msgid "Character named *name* in the Unicode database" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:519 +#: ../Doc/reference/lexical_analysis.rst:516 msgid "\\(4)" msgstr "\\(4)" -#: ../Doc/reference/lexical_analysis.rst:522 +#: ../Doc/reference/lexical_analysis.rst:519 msgid "``\\uxxxx``" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:522 +#: ../Doc/reference/lexical_analysis.rst:519 msgid "Character with 16-bit hex value *xxxx*" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:522 +#: ../Doc/reference/lexical_analysis.rst:519 msgid "\\(5)" msgstr "\\(5)" -#: ../Doc/reference/lexical_analysis.rst:525 +#: ../Doc/reference/lexical_analysis.rst:522 msgid "``\\Uxxxxxxxx``" msgstr "``\\Uxxxxxxxx``" -#: ../Doc/reference/lexical_analysis.rst:525 +#: ../Doc/reference/lexical_analysis.rst:522 msgid "Character with 32-bit hex value *xxxxxxxx*" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:525 +#: ../Doc/reference/lexical_analysis.rst:522 msgid "\\(6)" msgstr "\\(6)" -#: ../Doc/reference/lexical_analysis.rst:529 +#: ../Doc/reference/lexical_analysis.rst:526 msgid "Notes:" msgstr "Notes : " -#: ../Doc/reference/lexical_analysis.rst:532 +#: ../Doc/reference/lexical_analysis.rst:529 msgid "As in Standard C, up to three octal digits are accepted." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:535 +#: ../Doc/reference/lexical_analysis.rst:532 msgid "Unlike in Standard C, exactly two hex digits are required." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:538 +#: ../Doc/reference/lexical_analysis.rst:535 msgid "" "In a bytes literal, hexadecimal and octal escapes denote the byte with the " "given value. In a string literal, these escapes denote a Unicode character " "with the given value." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:543 +#: ../Doc/reference/lexical_analysis.rst:540 msgid "Support for name aliases [#]_ has been added." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:547 +#: ../Doc/reference/lexical_analysis.rst:544 msgid "Exactly four hex digits are required." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:550 +#: ../Doc/reference/lexical_analysis.rst:547 msgid "" "Any Unicode character can be encoded this way. Exactly eight hex digits are " "required." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:556 +#: ../Doc/reference/lexical_analysis.rst:553 msgid "" "Unlike Standard C, all unrecognized escape sequences are left in the string " "unchanged, i.e., *the backslash is left in the result*. (This behavior is " @@ -773,13 +767,13 @@ msgid "" "category of unrecognized escapes for bytes literals." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:563 +#: ../Doc/reference/lexical_analysis.rst:560 msgid "" "Unrecognized escape sequences produce a DeprecationWarning. In some future " "version of Python they will be a SyntaxError." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:567 +#: ../Doc/reference/lexical_analysis.rst:564 msgid "" "Even in a raw literal, quotes can be escaped with a backslash, but the " "backslash remains in the result; for example, ``r\"\\\"\"`` is a valid " @@ -792,11 +786,11 @@ msgid "" "continuation." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:580 +#: ../Doc/reference/lexical_analysis.rst:577 msgid "String literal concatenation" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:582 +#: ../Doc/reference/lexical_analysis.rst:579 msgid "" "Multiple adjacent string or bytes literals (delimited by whitespace), " "possibly using different quoting conventions, are allowed, and their meaning " @@ -806,7 +800,7 @@ msgid "" "lines, or even to add comments to parts of strings, for example::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:593 +#: ../Doc/reference/lexical_analysis.rst:590 msgid "" "Note that this feature is defined at the syntactical level, but implemented " "at compile time. The '+' operator must be used to concatenate string " @@ -816,11 +810,11 @@ msgid "" "with plain string literals." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:609 +#: ../Doc/reference/lexical_analysis.rst:606 msgid "Formatted string literals" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:613 +#: ../Doc/reference/lexical_analysis.rst:610 msgid "" "A :dfn:`formatted string literal` or :dfn:`f-string` is a string literal " "that is prefixed with ``'f'`` or ``'F'``. These strings may contain " @@ -829,14 +823,14 @@ msgid "" "are really expressions evaluated at run time." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:619 +#: ../Doc/reference/lexical_analysis.rst:616 msgid "" "Escape sequences are decoded like in ordinary string literals (except when a " "literal is also marked as a raw string). After decoding, the grammar for " "the contents of the string is:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:633 +#: ../Doc/reference/lexical_analysis.rst:630 msgid "" "The parts of the string outside curly braces are treated literally, except " "that any doubled curly braces ``'{{'`` or ``'}}'`` are replaced with the " @@ -848,7 +842,7 @@ msgid "" "``'}'``." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:642 +#: ../Doc/reference/lexical_analysis.rst:639 msgid "" "Expressions in formatted string literals are treated like regular Python " "expressions surrounded by parentheses, with a few exceptions. An empty " @@ -859,14 +853,14 @@ msgid "" "string literal appears, in order from left to right." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:650 +#: ../Doc/reference/lexical_analysis.rst:647 msgid "" "If a conversion is specified, the result of evaluating the expression is " "converted before formatting. Conversion ``'!s'`` calls :func:`str` on the " "result, ``'!r'`` calls :func:`repr`, and ``'!a'`` calls :func:`ascii`." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:654 +#: ../Doc/reference/lexical_analysis.rst:651 msgid "" "The result is then formatted using the :func:`format` protocol. The format " "specifier is passed to the :meth:`__format__` method of the expression or " @@ -875,118 +869,118 @@ msgid "" "whole string." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:660 +#: ../Doc/reference/lexical_analysis.rst:657 msgid "" "Top-level format specifiers may include nested replacement fields. These " "nested fields may include their own conversion fields and format specifiers, " "but may not include more deeply-nested replacement fields." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:664 +#: ../Doc/reference/lexical_analysis.rst:661 msgid "" "Formatted string literals may be concatenated, but replacement fields cannot " "be split across literals." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:667 +#: ../Doc/reference/lexical_analysis.rst:664 msgid "Some examples of formatted string literals::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:686 +#: ../Doc/reference/lexical_analysis.rst:683 msgid "" "A consequence of sharing the same syntax as regular string literals is that " "characters in the replacement fields must not conflict with the quoting used " "in the outer formatted string literal::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:693 +#: ../Doc/reference/lexical_analysis.rst:690 msgid "" "Backslashes are not allowed in format expressions and will raise an error::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:698 +#: ../Doc/reference/lexical_analysis.rst:695 msgid "" "To include a value in which a backslash escape is required, create a " "temporary variable." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:705 +#: ../Doc/reference/lexical_analysis.rst:702 msgid "" "Formatted string literals cannot be used as docstrings, even if they do not " "include expressions." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:716 +#: ../Doc/reference/lexical_analysis.rst:713 msgid "" "See also :pep:`498` for the proposal that added formatted string literals, " "and :meth:`str.format`, which uses a related format string mechanism." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:723 +#: ../Doc/reference/lexical_analysis.rst:720 msgid "Numeric literals" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:729 +#: ../Doc/reference/lexical_analysis.rst:726 msgid "" "There are three types of numeric literals: integers, floating point numbers, " "and imaginary numbers. There are no complex literals (complex numbers can " "be formed by adding a real number and an imaginary number)." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:733 +#: ../Doc/reference/lexical_analysis.rst:730 msgid "" "Note that numeric literals do not include a sign; a phrase like ``-1`` is " "actually an expression composed of the unary operator '``-``' and the " "literal ``1``." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:741 +#: ../Doc/reference/lexical_analysis.rst:738 msgid "Integer literals" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:743 +#: ../Doc/reference/lexical_analysis.rst:740 msgid "Integer literals are described by the following lexical definitions:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:757 +#: ../Doc/reference/lexical_analysis.rst:754 msgid "" "There is no limit for the length of integer literals apart from what can be " "stored in available memory." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:760 +#: ../Doc/reference/lexical_analysis.rst:757 msgid "" "Underscores are ignored for determining the numeric value of the literal. " "They can be used to group digits for enhanced readability. One underscore " "can occur between digits, and after base specifiers like ``0x``." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:764 +#: ../Doc/reference/lexical_analysis.rst:761 msgid "" "Note that leading zeros in a non-zero decimal number are not allowed. This " "is for disambiguation with C-style octal literals, which Python used before " "version 3.0." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:768 +#: ../Doc/reference/lexical_analysis.rst:765 msgid "Some examples of integer literals::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:774 -#: ../Doc/reference/lexical_analysis.rst:806 +#: ../Doc/reference/lexical_analysis.rst:771 +#: ../Doc/reference/lexical_analysis.rst:799 msgid "Underscores are now allowed for grouping purposes in literals." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:781 +#: ../Doc/reference/lexical_analysis.rst:778 msgid "Floating point literals" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:783 +#: ../Doc/reference/lexical_analysis.rst:780 msgid "" "Floating point literals are described by the following lexical definitions:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:793 +#: ../Doc/reference/lexical_analysis.rst:790 msgid "" "Note that the integer and exponent parts are always interpreted using radix " "10. For example, ``077e010`` is legal, and denotes the same number as " @@ -995,26 +989,19 @@ msgid "" "grouping." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:798 +#: ../Doc/reference/lexical_analysis.rst:795 msgid "Some examples of floating point literals::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:802 -msgid "" -"Note that numeric literals do not include a sign; a phrase like ``-1`` is " -"actually an expression composed of the unary operator ``-`` and the literal " -"``1``." -msgstr "" - -#: ../Doc/reference/lexical_analysis.rst:813 +#: ../Doc/reference/lexical_analysis.rst:806 msgid "Imaginary literals" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:815 +#: ../Doc/reference/lexical_analysis.rst:808 msgid "Imaginary literals are described by the following lexical definitions:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:820 +#: ../Doc/reference/lexical_analysis.rst:813 msgid "" "An imaginary literal yields a complex number with a real part of 0.0. " "Complex numbers are represented as a pair of floating point numbers and have " @@ -1023,23 +1010,23 @@ msgid "" "Some examples of imaginary literals::" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:832 +#: ../Doc/reference/lexical_analysis.rst:825 msgid "Operators" msgstr "Opérateurs" -#: ../Doc/reference/lexical_analysis.rst:836 +#: ../Doc/reference/lexical_analysis.rst:829 msgid "The following tokens are operators:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:849 +#: ../Doc/reference/lexical_analysis.rst:842 msgid "Delimiters" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:853 +#: ../Doc/reference/lexical_analysis.rst:846 msgid "The following tokens serve as delimiters in the grammar:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:862 +#: ../Doc/reference/lexical_analysis.rst:855 msgid "" "The period can also occur in floating-point and imaginary literals. A " "sequence of three periods has a special meaning as an ellipsis literal. The " @@ -1047,22 +1034,22 @@ msgid "" "as delimiters, but also perform an operation." msgstr "" -#: ../Doc/reference/lexical_analysis.rst:867 +#: ../Doc/reference/lexical_analysis.rst:860 msgid "" "The following printing ASCII characters have special meaning as part of " "other tokens or are otherwise significant to the lexical analyzer:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:874 +#: ../Doc/reference/lexical_analysis.rst:867 msgid "" "The following printing ASCII characters are not used in Python. Their " "occurrence outside string literals and comments is an unconditional error:" msgstr "" -#: ../Doc/reference/lexical_analysis.rst:883 +#: ../Doc/reference/lexical_analysis.rst:876 msgid "Footnotes" msgstr "Notes" -#: ../Doc/reference/lexical_analysis.rst:884 +#: ../Doc/reference/lexical_analysis.rst:877 msgid "http://www.unicode.org/Public/9.0.0/ucd/NameAliases.txt" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 2773e6dd..c0093e1f 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-11 19:00+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: 2017-08-10 00:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -955,7 +955,7 @@ msgstr "" #: ../Doc/reference/simple_stmts.rst:934 msgid "" -"The current implementation does not enforce some of these restriction, but " +"The current implementation does not enforce some of these restrictions, but " "programs should not abuse this freedom, as future implementations may " "enforce them or silently change the meaning of the program." msgstr "" diff --git a/sphinx.po b/sphinx.po index a9f6af65..dd130e63 100644 --- a/sphinx.po +++ b/sphinx.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-05-16 13:58+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,98 +17,6 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.8.11\n" -#: ../Doc/tools/templates/dummy.html:6 -msgid "CPython implementation detail:" -msgstr "Particularité de l'implémentation CPython :" - -#: ../Doc/tools/templates/indexsidebar.html:1 -msgid "Download" -msgstr "Téléchargement" - -#: ../Doc/tools/templates/indexsidebar.html:2 -msgid "Download these documents" -msgstr "Télécharger ces documentations" - -#: ../Doc/tools/templates/indexsidebar.html:3 -msgid "Docs for other versions" -msgstr "Docs des autres versions" - -#: ../Doc/tools/templates/indexsidebar.html:5 -msgid "Python 2.7 (stable)" -msgstr "Python 2.7 (stable)" - -#: ../Doc/tools/templates/indexsidebar.html:6 -msgid "Python 3.5 (stable)" -msgstr "Python 3.5 (stable)" - -#: ../Doc/tools/templates/indexsidebar.html:7 -msgid "Python 3.7 (in development)" -msgstr "Python 3.7 (en développement)" - -#: ../Doc/tools/templates/indexsidebar.html:8 -msgid "Old versions" -msgstr "Anciennes versions" - -#: ../Doc/tools/templates/indexsidebar.html:11 -msgid "Other resources" -msgstr "Autres ressources" - -#: ../Doc/tools/templates/indexsidebar.html:14 -msgid "PEP Index" -msgstr "Index des PEP" - -#: ../Doc/tools/templates/indexsidebar.html:15 -msgid "Beginner's Guide" -msgstr "Guide du débutant" - -#: ../Doc/tools/templates/indexsidebar.html:16 -msgid "Book List" -msgstr "Liste de Livres" - -#: ../Doc/tools/templates/indexsidebar.html:17 -msgid "Audio/Visual Talks" -msgstr "Discours audiovisuels" - -#: ../Doc/tools/templates/layout.html:10 -msgid "Documentation " -msgstr "Documentation" - -#: ../Doc/tools/templates/layout.html:21 -msgid "Quick search" -msgstr "Recherche rapide" - -#: ../Doc/tools/templates/layout.html:22 -msgid "Go" -msgstr "Go" - -#: ../Doc/tools/templates/layout.html:108 -#: ../Doc/tools/templates/indexcontent.html:63 -msgid "Copyright" -msgstr "Copyright" - -#: ../Doc/tools/templates/layout.html:110 -msgid "The Python Software Foundation is a non-profit corporation." -msgstr "La Python Software Foundation est une organisation à but non lucratif." - -#: ../Doc/tools/templates/layout.html:111 -msgid "Please donate." -msgstr "Les dons sont les bienvenus." - -#: ../Doc/tools/templates/layout.html:113 -msgid "Last updated on %(last_updated)s." -msgstr "Dernière mise-à-jour le %(last_updated)s." - -#: ../Doc/tools/templates/layout.html:114 -msgid "Found a bug?" -msgstr "Vous avez trouvé un bug ?" - -#: ../Doc/tools/templates/layout.html:116 -msgid "" -"Created using Sphinx " -"%(sphinx_version)s." -msgstr "" -"Crée via Sphinx %(sphinx_version)s." - #: ../Doc/tools/templates/indexcontent.html:8 msgid "Welcome! This is the documentation for Python %(release)s." msgstr "Bienvenu sur la documentation de Python %(release)s." @@ -267,6 +175,50 @@ msgstr "À propos de la documentation" msgid "History and License of Python" msgstr "Histoire et Licence de Python" +#: ../Doc/tools/templates/indexcontent.html:63 +#: ../Doc/tools/templates/layout.html:108 +msgid "Copyright" +msgstr "Copyright" + +#: ../Doc/tools/templates/layout.html:10 +msgid "Documentation " +msgstr "Documentation" + +#: ../Doc/tools/templates/layout.html:21 +msgid "Quick search" +msgstr "Recherche rapide" + +#: ../Doc/tools/templates/layout.html:22 +msgid "Go" +msgstr "Go" + +#: ../Doc/tools/templates/layout.html:110 +msgid "The Python Software Foundation is a non-profit corporation." +msgstr "La Python Software Foundation est une organisation à but non lucratif." + +#: ../Doc/tools/templates/layout.html:111 +msgid "Please donate." +msgstr "Les dons sont les bienvenus." + +#: ../Doc/tools/templates/layout.html:113 +msgid "Last updated on %(last_updated)s." +msgstr "Dernière mise-à-jour le %(last_updated)s." + +#: ../Doc/tools/templates/layout.html:114 +msgid "Found a bug?" +msgstr "Vous avez trouvé un bug ?" + +#: ../Doc/tools/templates/layout.html:116 +msgid "" +"Created using Sphinx " +"%(sphinx_version)s." +msgstr "" +"Crée via Sphinx %(sphinx_version)s." + +#: ../Doc/tools/templates/dummy.html:6 +msgid "CPython implementation detail:" +msgstr "Particularité de l'implémentation CPython :" + #: ../Doc/tools/templates/customsourcelink.html:3 msgid "This Page" msgstr "Cette Page" @@ -278,3 +230,51 @@ msgstr "Rapporter un bug" #: ../Doc/tools/templates/customsourcelink.html:8 msgid "Show Source" msgstr "Voir la source" + +#: ../Doc/tools/templates/indexsidebar.html:1 +msgid "Download" +msgstr "Téléchargement" + +#: ../Doc/tools/templates/indexsidebar.html:2 +msgid "Download these documents" +msgstr "Télécharger ces documentations" + +#: ../Doc/tools/templates/indexsidebar.html:3 +msgid "Docs for other versions" +msgstr "Docs des autres versions" + +#: ../Doc/tools/templates/indexsidebar.html:5 +msgid "Python 3.7 (in development)" +msgstr "Python 3.7 (en développement)" + +#: ../Doc/tools/templates/indexsidebar.html:6 +msgid "Python 3.5 (stable)" +msgstr "Python 3.5 (stable)" + +#: ../Doc/tools/templates/indexsidebar.html:7 +msgid "Python 2.7 (stable)" +msgstr "Python 2.7 (stable)" + +#: ../Doc/tools/templates/indexsidebar.html:8 +msgid "Old versions" +msgstr "Anciennes versions" + +#: ../Doc/tools/templates/indexsidebar.html:11 +msgid "Other resources" +msgstr "Autres ressources" + +#: ../Doc/tools/templates/indexsidebar.html:14 +msgid "PEP Index" +msgstr "Index des PEP" + +#: ../Doc/tools/templates/indexsidebar.html:15 +msgid "Beginner's Guide" +msgstr "Guide du débutant" + +#: ../Doc/tools/templates/indexsidebar.html:16 +msgid "Book List" +msgstr "Liste de Livres" + +#: ../Doc/tools/templates/indexsidebar.html:17 +msgid "Audio/Visual Talks" +msgstr "Discours audiovisuels" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 3d46e676..fd5e5f58 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-11-21 21:17+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -268,25 +268,25 @@ msgstr "" #: ../Doc/tutorial/introduction.rst:215 msgid "" +"This feature is particularly useful when you want to break long strings::" +msgstr "" +"Cette fonctionnalité est surtout intéressante pour couper des chaînes trop " +"longues : ::" + +#: ../Doc/tutorial/introduction.rst:222 +msgid "" "This only works with two literals though, not with variables or expressions::" msgstr "" "Cela ne fonctionne cependant qu'avec les chaînes littérales, pas les " "variables ni les expressions : ::" -#: ../Doc/tutorial/introduction.rst:225 +#: ../Doc/tutorial/introduction.rst:232 msgid "" "If you want to concatenate variables or a variable and a literal, use ``+``::" msgstr "" "Pour concaténer des variables, ou des variables avec des chaînes littérales, " "utilisez l'opérateur ``+``::" -#: ../Doc/tutorial/introduction.rst:230 -msgid "" -"This feature is particularly useful when you want to break long strings::" -msgstr "" -"Cette fonctionnalité est surtout intéressante pour couper des chaînes trop " -"longues : ::" - #: ../Doc/tutorial/introduction.rst:237 msgid "" "Strings can be *indexed* (subscripted), with the first character having " diff --git a/using/cmdline.po b/using/cmdline.po index 599186e5..f1c8fd33 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-10 00:49+0200\n" +"POT-Creation-Date: 2017-12-01 07:43+0100\n" "PO-Revision-Date: 2017-08-10 00:54+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" @@ -470,8 +470,8 @@ msgstr "" "Ne pas ajouter le :data:`user site-packages directory ` à :" "data:`sys.path`." -#: ../Doc/using/cmdline.rst:293 ../Doc/using/cmdline.rst:584 -#: ../Doc/using/cmdline.rst:596 +#: ../Doc/using/cmdline.rst:293 ../Doc/using/cmdline.rst:582 +#: ../Doc/using/cmdline.rst:594 msgid ":pep:`370` -- Per user site-packages directory" msgstr ":pep:`370` -- Per user site-packages directory" @@ -658,28 +658,24 @@ msgid "" "cmd``. This is intended for a DOS specific hack only." msgstr "" -#: ../Doc/using/cmdline.rst:390 -msgid "The line numbers in error messages will be off by one." -msgstr "Les numéros de ligne dans les messages d'erreur seront décalés de un." - -#: ../Doc/using/cmdline.rst:395 +#: ../Doc/using/cmdline.rst:393 msgid "" "Reserved for various implementation-specific options. CPython currently " "defines the following possible values:" msgstr "" -#: ../Doc/using/cmdline.rst:398 +#: ../Doc/using/cmdline.rst:396 msgid "``-X faulthandler`` to enable :mod:`faulthandler`;" msgstr "" -#: ../Doc/using/cmdline.rst:399 +#: ../Doc/using/cmdline.rst:397 msgid "" "``-X showrefcount`` to output the total reference count and number of used " "memory blocks when the program finishes or after each statement in the " "interactive interpreter. This only works on debug builds." msgstr "" -#: ../Doc/using/cmdline.rst:402 +#: ../Doc/using/cmdline.rst:400 msgid "" "``-X tracemalloc`` to start tracing Python memory allocations using the :mod:" "`tracemalloc` module. By default, only the most recent frame is stored in a " @@ -688,48 +684,48 @@ msgid "" "more information." msgstr "" -#: ../Doc/using/cmdline.rst:407 +#: ../Doc/using/cmdline.rst:405 msgid "" "``-X showalloccount`` to output the total count of allocated objects for " "each type when the program finishes. This only works when Python was built " "with ``COUNT_ALLOCS`` defined." msgstr "" -#: ../Doc/using/cmdline.rst:411 +#: ../Doc/using/cmdline.rst:409 msgid "" "It also allows passing arbitrary values and retrieving them through the :" "data:`sys._xoptions` dictionary." msgstr "" -#: ../Doc/using/cmdline.rst:414 +#: ../Doc/using/cmdline.rst:412 msgid "The :option:`-X` option was added." msgstr "" -#: ../Doc/using/cmdline.rst:417 +#: ../Doc/using/cmdline.rst:415 msgid "The ``-X faulthandler`` option." msgstr "" -#: ../Doc/using/cmdline.rst:420 +#: ../Doc/using/cmdline.rst:418 msgid "The ``-X showrefcount`` and ``-X tracemalloc`` options." msgstr "" -#: ../Doc/using/cmdline.rst:423 +#: ../Doc/using/cmdline.rst:421 msgid "The ``-X showalloccount`` option." msgstr "" -#: ../Doc/using/cmdline.rst:428 +#: ../Doc/using/cmdline.rst:426 msgid "Options you shouldn't use" msgstr "Options que vous ne devriez pas utiliser" -#: ../Doc/using/cmdline.rst:432 +#: ../Doc/using/cmdline.rst:430 msgid "Reserved for use by Jython_." msgstr "Utilisation réservée à Jython_." -#: ../Doc/using/cmdline.rst:440 +#: ../Doc/using/cmdline.rst:438 msgid "Environment variables" msgstr "Variables d'environnement" -#: ../Doc/using/cmdline.rst:442 +#: ../Doc/using/cmdline.rst:440 msgid "" "These environment variables influence Python's behavior, they are processed " "before the command-line switches other than -E or -I. It is customary that " @@ -737,7 +733,7 @@ msgid "" "conflict." msgstr "" -#: ../Doc/using/cmdline.rst:449 +#: ../Doc/using/cmdline.rst:447 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` and :file:" @@ -746,14 +742,14 @@ msgid "" "file:`/usr/local`." msgstr "" -#: ../Doc/using/cmdline.rst:455 +#: ../Doc/using/cmdline.rst:453 msgid "" "When :envvar:`PYTHONHOME` is set to a single directory, its value replaces " "both :file:`{prefix}` and :file:`{exec_prefix}`. To specify different " "values for these, set :envvar:`PYTHONHOME` to :file:`{prefix}:{exec_prefix}`." msgstr "" -#: ../Doc/using/cmdline.rst:462 +#: ../Doc/using/cmdline.rst:460 msgid "" "Augment the default search path for module files. The format is the same as " "the shell's :envvar:`PATH`: one or more directory pathnames separated by :" @@ -761,21 +757,21 @@ msgid "" "existent directories are silently ignored." msgstr "" -#: ../Doc/using/cmdline.rst:467 +#: ../Doc/using/cmdline.rst:465 msgid "" "In addition to normal directories, individual :envvar:`PYTHONPATH` entries " "may refer to zipfiles containing pure Python modules (in either source or " "compiled form). Extension modules cannot be imported from zipfiles." msgstr "" -#: ../Doc/using/cmdline.rst:471 +#: ../Doc/using/cmdline.rst:469 msgid "" "The default search path is installation dependent, but generally begins " "with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). " "It is *always* appended to :envvar:`PYTHONPATH`." msgstr "" -#: ../Doc/using/cmdline.rst:475 +#: ../Doc/using/cmdline.rst:473 msgid "" "An additional directory will be inserted in the search path in front of :" "envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -783,7 +779,7 @@ msgid "" "the variable :data:`sys.path`." msgstr "" -#: ../Doc/using/cmdline.rst:483 +#: ../Doc/using/cmdline.rst:481 msgid "" "If this is the name of a readable file, the Python commands in that file are " "executed before the first prompt is displayed in interactive mode. The file " @@ -794,52 +790,52 @@ msgid "" "file." msgstr "" -#: ../Doc/using/cmdline.rst:493 +#: ../Doc/using/cmdline.rst:491 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-O` option. If set to an integer, it is equivalent to specifying :" "option:`-O` multiple times." msgstr "" -#: ../Doc/using/cmdline.rst:500 +#: ../Doc/using/cmdline.rst:498 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-d` option. If set to an integer, it is equivalent to specifying :" "option:`-d` multiple times." msgstr "" -#: ../Doc/using/cmdline.rst:507 +#: ../Doc/using/cmdline.rst:505 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-i` option." msgstr "" -#: ../Doc/using/cmdline.rst:510 +#: ../Doc/using/cmdline.rst:508 msgid "" "This variable can also be modified by Python code using :data:`os.environ` " "to force inspect mode on program termination." msgstr "" -#: ../Doc/using/cmdline.rst:516 +#: ../Doc/using/cmdline.rst:514 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-u` option." msgstr "" -#: ../Doc/using/cmdline.rst:522 +#: ../Doc/using/cmdline.rst:520 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-v` option. If set to an integer, it is equivalent to specifying :" "option:`-v` multiple times." msgstr "" -#: ../Doc/using/cmdline.rst:529 +#: ../Doc/using/cmdline.rst:527 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and OS X." msgstr "" -#: ../Doc/using/cmdline.rst:535 +#: ../Doc/using/cmdline.rst:533 msgid "" "If this is set to a non-empty string, Python won't try to write ``.pyc`` " "files on the import of source modules. This is equivalent to specifying " @@ -849,33 +845,33 @@ msgstr "" "de fichier ``.pyc``` à l'importation des modules source. C'est équivalent à " "donner l'option :option:`-B`." -#: ../Doc/using/cmdline.rst:542 +#: ../Doc/using/cmdline.rst:540 msgid "" "If this variable is not set or set to ``random``, a random value is used to " "seed the hashes of str, bytes and datetime objects." msgstr "" -#: ../Doc/using/cmdline.rst:545 +#: ../Doc/using/cmdline.rst:543 msgid "" "If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a " "fixed seed for generating the hash() of the types covered by the hash " "randomization." msgstr "" -#: ../Doc/using/cmdline.rst:549 +#: ../Doc/using/cmdline.rst:547 msgid "" "Its purpose is to allow repeatable hashing, such as for selftests for the " "interpreter itself, or to allow a cluster of python processes to share hash " "values." msgstr "" -#: ../Doc/using/cmdline.rst:553 +#: ../Doc/using/cmdline.rst:551 msgid "" "The integer must be a decimal number in the range [0,4294967295]. " "Specifying the value 0 will disable hash randomization." msgstr "" -#: ../Doc/using/cmdline.rst:561 +#: ../Doc/using/cmdline.rst:559 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -883,17 +879,17 @@ msgid "" "have the same meaning as in :func:`str.encode`." msgstr "" -#: ../Doc/using/cmdline.rst:566 +#: ../Doc/using/cmdline.rst:564 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." msgstr "" -#: ../Doc/using/cmdline.rst:569 +#: ../Doc/using/cmdline.rst:567 msgid "The ``encodingname`` part is now optional." msgstr "" -#: ../Doc/using/cmdline.rst:572 +#: ../Doc/using/cmdline.rst:570 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -901,13 +897,13 @@ msgid "" "not affected." msgstr "" -#: ../Doc/using/cmdline.rst:579 +#: ../Doc/using/cmdline.rst:577 msgid "" "If this is set, Python won't add the :data:`user site-packages directory " "` to :data:`sys.path`." msgstr "" -#: ../Doc/using/cmdline.rst:589 +#: ../Doc/using/cmdline.rst:587 msgid "" "Defines the :data:`user base directory `, which is used to " "compute the path of the :data:`user site-packages directory ` of the :mod:`asyncio` module." msgstr "" -#: ../Doc/using/cmdline.rst:643 +#: ../Doc/using/cmdline.rst:641 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" -#: ../Doc/using/cmdline.rst:645 +#: ../Doc/using/cmdline.rst:643 msgid "Set the family of memory allocators used by Python:" msgstr "" -#: ../Doc/using/cmdline.rst:647 +#: ../Doc/using/cmdline.rst:645 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, :c:data:" "`PYMEM_DOMAIN_OBJ`)." msgstr "" -#: ../Doc/using/cmdline.rst:650 +#: ../Doc/using/cmdline.rst:648 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator ` for :c:data:" "`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use the :c:" "func:`malloc` function for the :c:data:`PYMEM_DOMAIN_RAW` domain." msgstr "" -#: ../Doc/using/cmdline.rst:654 +#: ../Doc/using/cmdline.rst:652 msgid "Install debug hooks:" msgstr "" -#: ../Doc/using/cmdline.rst:656 +#: ../Doc/using/cmdline.rst:654 msgid "``debug``: install debug hooks on top of the default memory allocator" msgstr "" -#: ../Doc/using/cmdline.rst:657 +#: ../Doc/using/cmdline.rst:655 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks" msgstr "" -#: ../Doc/using/cmdline.rst:658 +#: ../Doc/using/cmdline.rst:656 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks" msgstr "" -#: ../Doc/using/cmdline.rst:660 +#: ../Doc/using/cmdline.rst:658 msgid "" "When Python is compiled in release mode, the default is ``pymalloc``. When " "compiled in debug mode, the default is ``pymalloc_debug`` and the debug " "hooks are used automatically." msgstr "" -#: ../Doc/using/cmdline.rst:664 +#: ../Doc/using/cmdline.rst:662 msgid "" "If Python is configured without ``pymalloc`` support, ``pymalloc`` and " "``pymalloc_debug`` are not available, the default is ``malloc`` in release " "mode and ``malloc_debug`` in debug mode." msgstr "" -#: ../Doc/using/cmdline.rst:668 +#: ../Doc/using/cmdline.rst:666 msgid "" "See the :c:func:`PyMem_SetupDebugHooks` function for debug hooks on Python " "memory allocators." msgstr "" -#: ../Doc/using/cmdline.rst:676 +#: ../Doc/using/cmdline.rst:674 msgid "" "If set to a non-empty string, Python will print statistics of the :ref:" "`pymalloc memory allocator ` every time a new pymalloc object " "arena is created, and on shutdown." msgstr "" -#: ../Doc/using/cmdline.rst:680 +#: ../Doc/using/cmdline.rst:678 msgid "" "This variable is ignored if the :envvar:`PYTHONMALLOC` environment variable " "is used to force the :c:func:`malloc` allocator of the C library, or if " "Python is configured without ``pymalloc`` support." msgstr "" -#: ../Doc/using/cmdline.rst:684 +#: ../Doc/using/cmdline.rst:682 msgid "" "This variable can now also be used on Python compiled in release mode. It " "now has no effect if set to an empty string." msgstr "" -#: ../Doc/using/cmdline.rst:691 +#: ../Doc/using/cmdline.rst:689 msgid "" "If set to a non-empty string, the default filesystem encoding and errors " "mode will revert to their pre-3.6 values of 'mbcs' and 'replace', " @@ -1038,53 +1034,57 @@ msgid "" "used." msgstr "" -#: ../Doc/using/cmdline.rst:695 +#: ../Doc/using/cmdline.rst:693 msgid "" "This may also be enabled at runtime with :func:`sys." "_enablelegacywindowsfsencoding()`." msgstr "" -#: ../Doc/using/cmdline.rst:698 ../Doc/using/cmdline.rst:712 +#: ../Doc/using/cmdline.rst:696 ../Doc/using/cmdline.rst:710 msgid "Availability: Windows" msgstr "" -#: ../Doc/using/cmdline.rst:700 +#: ../Doc/using/cmdline.rst:698 msgid "See :pep:`529` for more details." msgstr "" -#: ../Doc/using/cmdline.rst:705 +#: ../Doc/using/cmdline.rst:703 msgid "" "If set to a non-empty string, does not use the new console reader and " "writer. This means that Unicode characters will be encoded according to the " "active console code page, rather than using utf-8." msgstr "" -#: ../Doc/using/cmdline.rst:709 +#: ../Doc/using/cmdline.rst:707 msgid "" "This variable is ignored if the standard streams are redirected (to files or " "pipes) rather than referring to console buffers." msgstr "" -#: ../Doc/using/cmdline.rst:717 +#: ../Doc/using/cmdline.rst:715 msgid "Debug-mode variables" msgstr "" -#: ../Doc/using/cmdline.rst:719 +#: ../Doc/using/cmdline.rst:717 msgid "" "Setting these variables only has an effect in a debug build of Python, that " "is, if Python was configured with the ``--with-pydebug`` build option." msgstr "" -#: ../Doc/using/cmdline.rst:724 +#: ../Doc/using/cmdline.rst:722 msgid "If set, Python will print threading debug info." msgstr "" -#: ../Doc/using/cmdline.rst:729 +#: ../Doc/using/cmdline.rst:727 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." msgstr "" +#~ msgid "The line numbers in error messages will be off by one." +#~ msgstr "" +#~ "Les numéros de ligne dans les messages d'erreur seront décalés de un." + #, fuzzy #~ msgid "all" #~ msgstr "``all``" diff --git a/using/mac.po b/using/mac.po index f0820743..dbb9a0bb 100644 --- a/using/mac.po +++ b/using/mac.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-21 09:15+0200\n" +"POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,6 +21,10 @@ msgstr "" msgid "Using Python on a Macintosh" msgstr "Utilisation de Python sur un Macintosh" +#: ../Doc/using/mac.rst:0 +msgid "Author" +msgstr "" + #: ../Doc/using/mac.rst:8 msgid "Bob Savage " msgstr ""