forked from AFPy/python-docs-fr
merge pot files.
This commit is contained in:
parent
0d814153db
commit
707f05d2d7
8
bugs.po
8
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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
|
|
|
@ -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
|
||||
|
|
192
c-api/memory.po
192
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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <pymalloc>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/c-api/memory.rst:172
|
||||
#: ../Doc/c-api/memory.rst:172 ../Doc/c-api/memory.rst:277
|
||||
msgid ""
|
||||
"The :term:`GIL <global interpreter lock>` 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 <global interpreter lock>` 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 <global interpreter lock>` 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."
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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`."
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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."
|
||||
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
" <PCbuild/winsound.vcxproj>` pour le module de la bibliothèque standard."
|
||||
"il pourrait être enrichissant d'étudier le fichier de projet :source:"
|
||||
"`winsound <PCbuild/winsound.vcxproj>` 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."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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|_"
|
||||
|
|
300
glossary.po
300
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 <julien@palard.fr>\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 <file object>`, 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 <sortinghowto>` 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 <path "
|
||||
|
@ -1527,7 +1533,7 @@ msgstr ""
|
|||
"*meta path finders* ressemblent, mais sont différents de :term:`path entry "
|
||||
"finders <path entry finder>`."
|
||||
|
||||
#: ../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 <https://"
|
||||
|
@ -1600,11 +1606,11 @@ msgstr ""
|
|||
"download/releases/2.3/mro/>`_ 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 <new-style "
|
||||
"class>`."
|
||||
|
||||
#: ../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 <argument>` or as a :term:`keyword argument "
|
||||
|
@ -1826,7 +1832,7 @@ msgstr ""
|
|||
"<argument>`. 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 <faq-argument-vs-parameter>`, "
|
||||
|
@ -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 <meta path finder>` which "
|
||||
"searches an :term:`import path` for modules."
|
||||
|
@ -1956,11 +1962,11 @@ msgstr ""
|
|||
"L'un des :term:`meta path finders <meta path finder>` 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 "
|
||||
|
|
|
@ -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 <ludmann.h@gmail.com>\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"
|
||||
|
|
|
@ -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 <julien@palard.fr>\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é"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
|||
"<http://cython.org/>`_. 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é"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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é"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 "<python at rcn dot com>"
|
||||
#: ../Doc/howto/descriptor.rst:0
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/howto/descriptor.rst:0
|
||||
msgid "Contents"
|
||||
#: ../Doc/howto/descriptor.rst:6
|
||||
msgid "<python at rcn dot com>"
|
||||
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::"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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` "
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <vinay_sajip at red-dove dot com>"
|
||||
msgstr ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <vinay_sajip at red-dove dot com>"
|
||||
msgstr ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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é"
|
||||
|
|
734
howto/regex.po
734
howto/regex.po
File diff suppressed because it is too large
Load Diff
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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é"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <http://www.voidspace.org.uk/python/index.shtml>`_"
|
||||
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 "
|
||||
|
|
|
@ -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 <julien@palard.fr>\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"
|
||||
|
|
|
@ -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 <julien@palard.fr>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
105
library/2to3.po
105
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 <julien@palard.fr>\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."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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='<the "
|
||||
"version>')``."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Tutorial"
|
||||
#~ msgstr "Tutoriel"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 "
|
||||
"<asyncio-logger>` when the future is deleted by the garbage collector, with "
|
||||
"the traceback where the exception was raised."
|
||||
msgstr ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <asyncio-pass-"
|
||||
"keywords>`."
|
||||
|
@ -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 <coroutine>`."
|
||||
msgstr "Cette méthode est une :ref:`coroutine <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 <asyncio-watch-read-"
|
||||
"event>` 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() <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 <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 <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 <file 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 <file 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* <asyncio-pass-"
|
||||
"keywords>`."
|
||||
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 <asyncio-protocol>` instance;"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/asyncio-eventloop.rst:775
|
||||
#: ../Doc/library/asyncio-eventloop.rst:778
|
||||
msgid "'transport' (optional): :ref:`Transport <asyncio-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 <asyncio-debug-mode>`."
|
||||
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 <asyncio-hello-world-coroutine>` example "
|
||||
"uses a :ref:`coroutine <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 <asyncio-date-coroutine>` "
|
||||
"example uses a :ref:`coroutine <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 <asyncio-"
|
||||
"register-socket>` 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 <asyncio-"
|
||||
"register-socket-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."
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <mail@lukapeschke.com>\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 <mail@lukapeschke.com>\n"
|
||||
"Language-Team: \n"
|
||||
"X-Generator: Poedit 2.0.3\n"
|
||||
|
||||
#: ../Doc/library/cmd.rst:2
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 <sequence>`."
|
||||
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 <mapping>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/collections.abc.rst:174
|
||||
#: ../Doc/library/collections.abc.rst:179
|
||||
msgid ""
|
||||
"ABCs for mapping, items, keys, and values :term:`views <dictionary view>`."
|
||||
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 <https://code.activestate.com/recipes/576694/>`_ 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 ""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 "
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
|
|
1595
library/curses.po
1595
library/curses.po
File diff suppressed because it is too large
Load Diff
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 "
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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 <julien@palard.fr>\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() <https://rhettinger.wordpress."
|
||||
|
@ -2753,7 +2770,7 @@ msgstr ""
|
|||
"utilisant :func:`super`, consultez `guide to using super() <http://"
|
||||
"rhettinger.wordpress.com/2011/05/26/super-considered-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__ <instance.__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`"
|
||||
|
||||
|
|
|
@ -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 <single dispatch>` :term:"
|
||||
"Transform a function into a :term:`single-dispatch <single dispatch>` :term:"
|
||||
"`generic function`."
|
||||
msgstr ""
|
||||
"Transforme une fonction en une :term:`fonction générique <generic "
|
||||
|
|
|
@ -7,14 +7,14 @@ 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-13 23:23+0200\n"
|
||||
"Last-Translator: François Magimel <francois.magimel@alumni.enseeiht.fr>\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 <francois.magimel@alumni.enseeiht.fr>\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."
|
||||
|
|
|
@ -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 <julien@palard.fr>\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\" <http://csrc."
|
||||
"nist.gov/publications/nistpubs/800-106/NIST-SP-800-106.pdf>`_)"
|
||||
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 <https://blake2.net/#qa>`_ 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 <http://www.skein-hash.info/sites/default/"
|
||||
"files/skein1.3.pdf>`_, 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 ""
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 <module 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 "
|
||||
"<importlib.abc.Loader.create_module>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/importlib.rst:1220
|
||||
#: ../Doc/library/importlib.rst:1228
|
||||
msgid ""
|
||||
"If :meth:`spec.loader.create_module <importlib.abc.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 "
|
||||
|
|
|
@ -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 <alphare33@gmail.com>\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 <alphare33@gmail.com>\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 "
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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:"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <julien@palard.fr>\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"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -166,10 +166,10 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:127
|
||||
msgid ""
|
||||
"`FCICreateFile <https://msdn.microsoft.com/library?url=/library/en-us/"
|
||||
"devnotes/winprog/fcicreate.asp>`_ `UuidCreate <https://msdn.microsoft.com/"
|
||||
"library?url=/library/en-us/rpc/rpc/uuidcreate.asp>`_ `UuidToString <https://"
|
||||
"msdn.microsoft.com/library?url=/library/en-us/rpc/rpc/uuidtostring.asp>`_"
|
||||
"`FCICreate <https://msdn.microsoft.com/en-us/library/bb432265.aspx>`_ "
|
||||
"`UuidCreate <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa379205.aspx>`_ `UuidToString <https://msdn.microsoft.com/en-us/library/"
|
||||
"windows/desktop/aa379352.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:134
|
||||
|
@ -196,11 +196,10 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:158
|
||||
msgid ""
|
||||
"`MSIDatabaseOpenView <https://msdn.microsoft.com/library?url=/library/en-us/"
|
||||
"msi/setup/msidatabaseopenview.asp>`_ `MSIDatabaseCommit <https://msdn."
|
||||
"microsoft.com/library?url=/library/en-us/msi/setup/msidatabasecommit.asp>`_ "
|
||||
"`MSIGetSummaryInformation <https://msdn.microsoft.com/library?url=/library/"
|
||||
"en-us/msi/setup/msigetsummaryinformation.asp>`_"
|
||||
"`MSIDatabaseOpenView <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa370082.aspx>`_ `MSIDatabaseCommit <https://msdn.microsoft.com/en-"
|
||||
"us/library/windows/desktop/aa370075.aspx>`_ `MSIGetSummaryInformation "
|
||||
"<https://msdn.microsoft.com/en-us/library/windows/desktop/aa370301.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:165
|
||||
|
@ -246,13 +245,13 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:206
|
||||
msgid ""
|
||||
"`MsiViewExecute <https://msdn.microsoft.com/library?url=/library/en-us/msi/"
|
||||
"setup/msiviewexecute.asp>`_ `MSIViewGetColumnInfo <https://msdn.microsoft."
|
||||
"com/library?url=/library/en-us/msi/setup/msiviewgetcolumninfo.asp>`_ "
|
||||
"`MsiViewFetch <https://msdn.microsoft.com/library?url=/library/en-us/msi/"
|
||||
"setup/msiviewfetch.asp>`_ `MsiViewModify <https://msdn.microsoft.com/library?"
|
||||
"url=/library/en-us/msi/setup/msiviewmodify.asp>`_ `MsiViewClose <https://"
|
||||
"msdn.microsoft.com/library?url=/library/en-us/msi/setup/msiviewclose.asp>`_"
|
||||
"`MsiViewExecute <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa370513.aspx>`_ `MSIViewGetColumnInfo <https://msdn.microsoft.com/en-us/"
|
||||
"library/windows/desktop/aa370516.aspx>`_ `MsiViewFetch <https://msdn."
|
||||
"microsoft.com/en-us/library/windows/desktop/aa370514.aspx>`_ `MsiViewModify "
|
||||
"<https://msdn.microsoft.com/en-us/library/windows/desktop/aa370519.aspx>`_ "
|
||||
"`MsiViewClose <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa370510.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:215
|
||||
|
@ -291,14 +290,12 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:250
|
||||
msgid ""
|
||||
"`MsiSummaryInfoGetProperty <https://msdn.microsoft.com/library?url=/library/"
|
||||
"en-us/msi/setup/msisummaryinfogetproperty.asp>`_ "
|
||||
"`MsiSummaryInfoGetPropertyCount <https://msdn.microsoft.com/library?url=/"
|
||||
"library/en-us/msi/setup/msisummaryinfogetpropertycount.asp>`_ "
|
||||
"`MsiSummaryInfoSetProperty <https://msdn.microsoft.com/library?url=/library/"
|
||||
"en-us/msi/setup/msisummaryinfosetproperty.asp>`_ `MsiSummaryInfoPersist "
|
||||
"<https://msdn.microsoft.com/library?url=/library/en-us/msi/setup/"
|
||||
"msisummaryinfopersist.asp>`_"
|
||||
"`MsiSummaryInfoGetProperty <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa370409.aspx>`_ `MsiSummaryInfoGetPropertyCount <https://msdn."
|
||||
"microsoft.com/en-us/library/windows/desktop/aa370488.aspx>`_ "
|
||||
"`MsiSummaryInfoSetProperty <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa370491.aspx>`_ `MsiSummaryInfoPersist <https://msdn.microsoft.com/"
|
||||
"en-us/library/windows/desktop/aa370490.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:258
|
||||
|
@ -348,14 +345,13 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:304
|
||||
msgid ""
|
||||
"`MsiRecordGetFieldCount <https://msdn.microsoft.com/library?url=/library/en-"
|
||||
"us/msi/setup/msirecordgetfieldcount.asp>`_ `MsiRecordSetString <https://msdn."
|
||||
"microsoft.com/library?url=/library/en-us/msi/setup/msirecordsetstring.asp>`_ "
|
||||
"`MsiRecordSetStream <https://msdn.microsoft.com/library?url=/library/en-us/"
|
||||
"msi/setup/msirecordsetstream.asp>`_ `MsiRecordSetInteger <https://msdn."
|
||||
"microsoft.com/library?url=/library/en-us/msi/setup/msirecordsetinteger."
|
||||
"asp>`_ `MsiRecordClear <https://msdn.microsoft.com/library?url=/library/en-"
|
||||
"us/msi/setup/msirecordclear.asp>`_"
|
||||
"`MsiRecordGetFieldCount <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa370366.aspx>`_ `MsiRecordSetString <https://msdn.microsoft.com/en-"
|
||||
"us/library/windows/desktop/aa370373.aspx>`_ `MsiRecordSetStream <https://"
|
||||
"msdn.microsoft.com/en-us/library/windows/desktop/aa370372.aspx>`_ "
|
||||
"`MsiRecordSetInteger <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa370371.aspx>`_ `MsiRecordClearData <https://msdn.microsoft.com/en-"
|
||||
"us/library/windows/desktop/aa370364.aspx>`_"
|
||||
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 <https://msdn.microsoft.com/library?url=/library/en-us/msi/"
|
||||
"setup/directory_table.asp>`_ `File Table <https://msdn.microsoft.com/library?"
|
||||
"url=/library/en-us/msi/setup/file_table.asp>`_ `Component Table <https://"
|
||||
"msdn.microsoft.com/library?url=/library/en-us/msi/setup/component_table."
|
||||
"asp>`_ `FeatureComponents Table <https://msdn.microsoft.com/library?url=/"
|
||||
"library/en-us/msi/setup/featurecomponents_table.asp>`_"
|
||||
"`Directory Table <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa368295.aspx>`_ `File Table <https://msdn.microsoft.com/en-us/library/"
|
||||
"windows/desktop/aa368596.aspx>`_ `Component Table <https://msdn.microsoft."
|
||||
"com/en-us/library/windows/desktop/aa368007.aspx>`_ `FeatureComponents Table "
|
||||
"<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368579.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:408
|
||||
|
@ -478,8 +473,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:428
|
||||
msgid ""
|
||||
"`Feature Table <https://msdn.microsoft.com/library?url=/library/en-us/msi/"
|
||||
"setup/feature_table.asp>`_"
|
||||
"`Feature Table <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa368585.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:433
|
||||
|
@ -570,16 +565,15 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/msilib.rst:523
|
||||
msgid ""
|
||||
"`Dialog Table <https://msdn.microsoft.com/library?url=/library/en-us/msi/"
|
||||
"setup/dialog_table.asp>`_ `Control Table <https://msdn.microsoft.com/library?"
|
||||
"url=/library/en-us/msi/setup/control_table.asp>`_ `Control Types <https://"
|
||||
"msdn.microsoft.com/library?url=/library/en-us/msi/setup/controls.asp>`_ "
|
||||
"`ControlCondition Table <https://msdn.microsoft.com/library?url=/library/en-"
|
||||
"us/msi/setup/controlcondition_table.asp>`_ `ControlEvent Table <https://msdn."
|
||||
"microsoft.com/library?url=/library/en-us/msi/setup/controlevent_table.asp>`_ "
|
||||
"`EventMapping Table <https://msdn.microsoft.com/library?url=/library/en-us/"
|
||||
"msi/setup/eventmapping_table.asp>`_ `RadioButton Table <https://msdn."
|
||||
"microsoft.com/library?url=/library/en-us/msi/setup/radiobutton_table.asp>`_"
|
||||
"`Dialog Table <https://msdn.microsoft.com/en-us/library/windows/desktop/"
|
||||
"aa368286.aspx>`_ `Control Table <https://msdn.microsoft.com/en-us/library/"
|
||||
"windows/desktop/aa368044.aspx>`_ `Control Types <https://msdn.microsoft.com/"
|
||||
"en-us/library/windows/desktop/aa368039.aspx>`_ `ControlCondition Table "
|
||||
"<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368035.aspx>`_ "
|
||||
"`ControlEvent Table <https://msdn.microsoft.com/en-us/library/windows/"
|
||||
"desktop/aa368037.aspx>`_ `EventMapping Table <https://msdn.microsoft.com/en-"
|
||||
"us/library/windows/desktop/aa368559.aspx>`_ `RadioButton Table <https://msdn."
|
||||
"microsoft.com/en-us/library/windows/desktop/aa370962.aspx>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/msilib.rst:534
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 <multiprocessing.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 <multiprocessing.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 <multiprocessing.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:"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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``."
|
||||
|
|
845
library/re.po
845
library/re.po
File diff suppressed because it is too large
Load Diff
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 "
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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:"
|
||||
|
|
|
@ -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 <LL@li.org>\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."
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
|
|
518
library/time.po
518
library/time.po
File diff suppressed because it is too large
Load Diff
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <http://tktable.sourceforge.net/tile/tile-"
|
||||
"tcl2004.pdf>`_"
|
||||
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 "
|
||||
"<<ThemeChanged>> 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 "
|
||||
|
|
|
@ -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 <julien@palard.fr>\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
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <set>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/typing.rst:610
|
||||
#: ../Doc/library/typing.rst:620
|
||||
msgid "A generic version of :class:`builtins.frozenset <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 "
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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 <LL@li.org>\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 "
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 :"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <main_spec>`."
|
||||
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() <importlib.abc.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 <path entry finder>`."
|
||||
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 <programs>`, 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 <using-on-interface-options>` ``__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 <https://www.python.org/doc/essays/"
|
||||
|
@ -1276,37 +1277,37 @@ msgid ""
|
|||
"since the writing of that document."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/reference/import.rst:971
|
||||
#: ../Doc/reference/import.rst:972
|
||||
msgid ""
|
||||
"The original specification for :data:`sys.meta_path` was :pep:`302`, with "
|
||||
"subsequent extension in :pep:`420`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/reference/import.rst:974
|
||||
#: ../Doc/reference/import.rst:975
|
||||
msgid ""
|
||||
":pep:`420` introduced :term:`namespace packages <namespace package>` 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 "
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 ""
|
||||
|
|
186
sphinx.po
186
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 "<a href=\"%(pathto_bugs)s\">Found a bug</a>?"
|
||||
msgstr "<a href=\"%(pathto_bugs)s\">Vous avez trouvé un bug</a> ?"
|
||||
|
||||
#: ../Doc/tools/templates/layout.html:116
|
||||
msgid ""
|
||||
"Created using <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
msgstr ""
|
||||
"Crée via <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> %(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 "<a href=\"%(pathto_bugs)s\">Found a bug</a>?"
|
||||
msgstr "<a href=\"%(pathto_bugs)s\">Vous avez trouvé un bug</a> ?"
|
||||
|
||||
#: ../Doc/tools/templates/layout.html:116
|
||||
msgid ""
|
||||
"Created using <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
msgstr ""
|
||||
"Crée via <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> %(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"
|
||||
|
|
|
@ -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 <julien@palard.fr>\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 "
|
||||
|
|
150
using/cmdline.po
150
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 <julien@palard.fr>\n"
|
||||
"Language-Team: \n"
|
||||
|
@ -470,8 +470,8 @@ msgstr ""
|
|||
"Ne pas ajouter le :data:`user site-packages directory <site.USER_SITE>` à :"
|
||||
"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 "
|
||||
"<site.USER_SITE>` to :data:`sys.path`."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:589
|
||||
#: ../Doc/using/cmdline.rst:587
|
||||
msgid ""
|
||||
"Defines the :data:`user base directory <site.USER_BASE>`, which is used to "
|
||||
"compute the path of the :data:`user site-packages directory <site."
|
||||
|
@ -915,20 +911,20 @@ msgid ""
|
|||
"for ``python setup.py install --user``."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:601
|
||||
#: ../Doc/using/cmdline.rst:599
|
||||
msgid ""
|
||||
"If this environment variable is set, ``sys.argv[0]`` will be set to its "
|
||||
"value instead of the value got through the C runtime. Only works on Mac OS "
|
||||
"X."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:607
|
||||
#: ../Doc/using/cmdline.rst:605
|
||||
msgid ""
|
||||
"This is equivalent to the :option:`-W` option. If set to a comma separated "
|
||||
"string, it is equivalent to specifying :option:`-W` multiple times."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:613
|
||||
#: ../Doc/using/cmdline.rst:611
|
||||
msgid ""
|
||||
"If this environment variable is set to a non-empty string, :func:"
|
||||
"`faulthandler.enable` is called at startup: install a handler for :const:"
|
||||
|
@ -937,7 +933,7 @@ msgid ""
|
|||
"option:`-X` ``faulthandler`` option."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:624
|
||||
#: ../Doc/using/cmdline.rst:622
|
||||
msgid ""
|
||||
"If this environment variable is set to a non-empty string, start tracing "
|
||||
"Python memory allocations using the :mod:`tracemalloc` module. The value of "
|
||||
|
@ -946,91 +942,91 @@ msgid ""
|
|||
"frame. See the :func:`tracemalloc.start` for more information."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/using/cmdline.rst:635
|
||||
#: ../Doc/using/cmdline.rst:633
|
||||
msgid ""
|
||||
"If this environment variable is set to a non-empty string, enable the :ref:"
|
||||
"`debug mode <asyncio-debug-mode>` 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 <pymalloc>` 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 <pymalloc>` 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``"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 <bobsavage@mac.com>"
|
||||
msgstr ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user