8000 Upstream merge · python/python-docs-fr@1cf1d21 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cf1d21

Browse files
committed
Upstream merge
1 parent ffb3436 commit 1cf1d21

File tree

11 files changed

+827
-712
lines changed

11 files changed

+827
-712
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ install:
1111
script:
1212
- powrap --check --quiet **/*.po
1313
- pospell -p dict -l fr_FR **/*.po
14-
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d561f848b235f2011a43b705d112055b92fa2366
14+
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=15e7d2432294ec46f1ad84ce958fdeb9d4ca78b1

c-api/object.po

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
8+
"POT-Creation-Date: 2019-06-19 22:32+0200\n"
99
"PO-Revision-Date: 2019-06-08 15:22+0200\n"
1010
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@@ -392,21 +392,24 @@ msgstr ""
392392
"argument n'est nécessaire. Si aucun argument nommé n'est nécessaire, "
393393
"*kwargs* peut être égal à *NULL*."
394394

395-
#: ../Doc/c-api/object.rst:264 ../Doc/c-api/object.rst:275
396-
#: ../Doc/c-api/object.rst:286 ../Doc/c-api/object.rst:305
397-
#: ../Doc/c-api/object.rst:323
398-
msgid "Returns the result of the call on success, or *NULL* on failure."
395+
#: ../Doc/c-api/object.rst:264 ../Doc/c-api/object.rst:276
396+
#: ../Doc/c-api/object.rst:288 ../Doc/c-api/object.rst:308
397+
#: ../Doc/c-api/object.rst:327 ../Doc/c-api/object.rst:341
398+
#, fuzzy
399+
msgid ""
400+
"Return the result of the call on success, or raise an exception and return "
401+
"*NULL* on failure."
399402
msgstr ""
400403
"Renvoie le résultat de l'appel en cas de succès, ou *NULL* en cas d'échec."
401404

402-
#: ../Doc/c-api/object.rst:266
405+
#: ../Doc/c-api/object.rst:267
403406
msgid ""
404407
"This is the equivalent of the Python expression: ``callable(*args, "
405408
"**kwargs)``."
406409
msgstr ""
407410
"Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``."
408411

409-
#: ../Doc/c-api/object.rst:272
412+
#: ../Doc/c-api/object.rst:273
410413
msgid ""
411414
"Call a callable Python object *callable*, with arguments given by the tuple "
412415
"*args*. If no arguments are needed, then *args* can be *NULL*."
@@ -415,11 +418,11 @@ msgstr ""
415418
"le tuple *args*. Si aucun argument n'est nécessaire, alors *args* peut être "
416419
"égal à *NULL*."
417420

418-
#: ../Doc/c-api/object.rst:277 ../Doc/c-api/object.rst:288
421+
#: ../Doc/c-api/object.rst:279 ../Doc/c-api/object.rst:291
419422
msgid "This is the equivalent of the Python expression: ``callable(*args)``."
420423
msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``."
421424

422-
#: ../Doc/c-api/object.rst:282
425+
#: ../Doc/c-api/object.rst:284
423426
msgid ""
424427
"Call a callable Python object *callable*, with a variable number of C "
425428
"arguments. The C arguments are described using a :c:func:`Py_BuildValue` "
@@ -431,100 +434,99 @@ msgstr ""
431434
"c:func:`Py_BuildValue`. Le format peut être *NULL*, indiquant qu'aucun "
432435
"argument n'est donné."
433436

434-
#: ../Doc/c-api/object.rst:290
437+
#: ../Doc/c-api/object.rst:293
435438
msgid ""
436439
"Note that if you only pass :c:type:`PyObject \\*` args, :c:func:"
437440
"`PyObject_CallFunctionObjArgs` is a faster alternative."
438441
msgstr ""
439442

440-
#: ../Doc/c-api/object.rst:293
443+
#: ../Doc/c-api/object.rst:296
441444
msgid "The type of *format* was changed from ``char *``."
442445
msgstr ""
443446

444-
#: ../Doc/c-api/object.rst:299
447+
#: ../Doc/c-api/object.rst:302
445448
msgid ""
446449
"Call the method named *name* of object *obj* with a variable number of C "
447450
"arguments. The C arguments are described by a :c:func:`Py_BuildValue` "
448451
"format string that should produce a tuple."
449452
msgstr ""
450453

451-
#: ../Doc/c-api/object.rst:303
454+
#: ../Doc/c-api/object.rst:306
452455
msgid "The format can be *NULL*, indicating that no arguments are provided."
453456
msgstr ""
454457

455-
#: ../Doc/c-api/object.rst:307
458+
#: ../Doc/c-api/object.rst:311
456459
msgid ""
457460
"This is the equivalent of the Python expression: ``obj.name(arg1, "
458461
"arg2, ...)``."
459462
msgstr ""
460463

461-
#: ../Doc/c-api/object.rst:310
464+
#: ../Doc/c-api/object.rst:314
462465
msgid ""
463466
"Note that if you only pass :c:type:`PyObject \\*` args, :c:func:"
464467
"`PyObject_CallMethodObjArgs` is a faster alternative."
465468
msgstr ""
466469

467-
#: ../Doc/c-api/object.rst:313
470+
#: ../Doc/c-api/object.rst:317
468471
msgid "The types of *name* and *format* were changed from ``char *``."
469472
msgstr ""
470473

471-
#: ../Doc/c-api/object.rst:319
474+
#: ../Doc/c-api/object.rst:323
472475
msgid ""
473476
"Call a callable Python object *callable*, with a variable number of :c:type:"
474477
"`PyObject\\*` arguments. The arguments are provided as a variable number of "
475478
"parameters followed by *NULL*."
476479
msgstr ""
477480

478-
#: ../Doc/c-api/object.rst:325
481+
#: ../Doc/c-api/object.rst:330
479482
msgid ""
480483
"This is the equivalent of the Python expression: ``callable(arg1, "
481484
"arg2, ...)``."
482485
msgstr ""
483486

484-
#: ../Doc/c-api/object.rst:331
487+
#: ../Doc/c-api/object.rst:336
485488
msgid ""
486489
"Calls a method of the Python object *obj*, where the name of the method is "
487490
"given as a Python string object in *name*. It is called with a variable "
488491
"number of :c:type:`PyObject\\*` arguments. The arguments are provided as a "
489-
"variable number of parameters followed by *NULL*. Returns the result of the "
490-
"call on success, or *NULL* on failure."
492+
"variable number of parameters followed by *NULL*."
491493
msgstr ""
492494

493-
#: ../Doc/c-api/object.rst:342
495+
#: ../Doc/c-api/object.rst:349
494496
msgid ""
495497
"Compute and return the hash value of an object *o*. On failure, return "
496498
"``-1``. This is the equivalent of the Python expression ``hash(o)``."
497499
msgstr ""
498500

499-
#: ../Doc/c-api/object.rst:345
501+
#: ../Doc/c-api/object.rst:352
500502
msgid ""
501503
"The return type is now Py_hash_t. This is a signed integer the same size as "
502504
"Py_ssize_t."
503505
msgstr ""
504506

505-
#: ../Doc/c-api/object.rst:352
507+
#: ../Doc/c-api/object.rst:359
506508
msgid ""
507509
"Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and "
508510
"return ``-1``. This function receives special treatment when stored in a "
509511
"``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter "
510512
"that it is not hashable."
511513
msgstr ""
512514

513-
#: ../Doc/c-api/object.rst:360
515+
#: ../Doc/c-api/object.rst:367
514516
msgid ""
515517
"Returns ``1`` if the object *o* is considered to be true, and ``0`` "
516518
"otherwise. This is equivalent to the Python expression ``not not o``. On "
517519
"failure, return ``-1``."
518520
msgstr ""
519521

520-
#: ../Doc/c-api/object.rst:367
522+
#: ../Doc/c-api/object.rst:374
521523
msgid ""
522524
"Returns ``0`` if the object *o* is considered to be true, and ``1`` "
523525
"otherwise. This is equivalent to the Python expression ``not o``. On "
524526
"failure, return ``-1``."
525527
msgstr ""
526528

527-
#: ../Doc/c-api/object.rst:376
529+
#: ../Doc/c-api/object.rst:383
528530
msgid ""
529531
"When *o* is non-*NULL*, returns a type object corresponding to the object "
530532
"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -535,48 +537,48 @@ msgid ""
535537
"except when the incremented reference count is needed."
536538
msgstr ""
537539

538-
#: ../Doc/c-api/object.rst:387
540+
#: ../Doc/c-api/object.rst:394
539541
msgid ""
540542
"Return true if the object *o* is of type *type* or a subtype of *type*. "
541543
"Both parameters must be non-*NULL*."
542544
msgstr ""
543545

544-
#: ../Doc/c-api/object.rst:396
546+
#: ../Doc/c-api/object.rst:403
545547
msgid ""
546548
"Return the length of object *o*. If the object *o* provides either the "
547549
"sequence and mapping protocols, the sequence length is returned. On error, "
548550
"``-1`` is returned. This is the equivalent to the Python expression "
549551
"``len(o)``."
550552
msgstr ""
551553

552-
#: ../Doc/c-api/object.rst:403
554+
#: ../Doc/c-api/object.rst:410
553555
msgid ""
554556
"Return an estimated length for the object *o*. First try to return its "
555557
"actual length, then an estimate using :meth:`~object.__length_hint__`, and "
556558
"finally return the default value. On error return ``-1``. This is the "
557559
"equivalent to the Python expression ``operator.length_hint(o, default)``."
558560
msgstr ""
559561

560-
#: ../Doc/c-api/object.rst:413
562+
#: ../Doc/c-api/object.rst:420
561563
msgid ""
562564
"Return element of *o* corresponding to the object *key* or *NULL* on "
563565
"failure. This is the equivalent of the Python expression ``o[key]``."
564566
msgstr ""
565567

566-
#: ../Doc/c-api/object.rst:419
568+
#: ../Doc/c-api/object.rst:426
567569
msgid ""
568570
"Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
569571
"on failure; return ``0`` on success. This is the equivalent of the Python "
570572
"statement ``o[key] = v``."
571573
msgstr ""
572574

573-
#: ../Doc/c-api/object.rst:426
575+
#: ../Doc/c-api/object.rst:433
574576
msgid ""
575577
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
576578
"on failure. This is equivalent to the Python statement ``del o[key]``."
577579
msgstr ""
578580

579-
#: ../Doc/c-api/object.rst:432
581+
#: ../Doc/c-api/object.rst:439
580582
msgid ""
581583
"This is equivalent to the Python expression ``dir(o)``, returning a "
582584
"(possibly empty) list of strings appropriate for the object argument, or "
@@ -586,7 +588,7 @@ msgid ""
586588
"`PyErr_Occurred` will return false."
587589
msgstr ""
588590

589-
#: ../Doc/c-api/object.rst:441
591+
#: ../Doc/c-api/object.rst:448
590592
msgid ""
591593
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
592594
"iterator for the object argument, or the object itself if the object is "

0 commit comments

Comments
 (0)
0