|
18 | 18 | #, fuzzy |
19 | 19 | msgid "" |
20 | 20 | msgstr "" |
21 | | -"Project-Id-Version: Python 3.8\n" |
| 21 | +"Project-Id-Version: Python 3.9\n" |
22 | 22 | "Report-Msgid-Bugs-To: \n" |
23 | | -"POT-Creation-Date: 2020-02-09 12:40+0000\n" |
| 23 | +"POT-Creation-Date: 2020-05-31 09:25+0000\n" |
24 | 24 | "PO-Revision-Date: 2017-02-16 17:33+0000\n" |
25 | 25 | " Last-Translator: Freesand Leo <[email protected]>, 2020\n" |
26 | 26 | "Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
@@ -679,70 +679,70 @@ msgstr "" |
679 | 679 | #: ../../c-api/buffer.rst:467 |
680 | 680 | msgid "" |
681 | 681 | "Return the implied :c:data:`~Py_buffer.itemsize` from " |
682 | | -":c:data:`~Py_buffer.format`. This function is not yet implemented." |
| 682 | +":c:data:`~Py_buffer.format`. On error, raise an exception and return -1." |
683 | 683 | msgstr "" |
684 | 684 |
|
685 | | -#: ../../c-api/buffer.rst:473 |
| 685 | +#: ../../c-api/buffer.rst:475 |
686 | 686 | msgid "" |
687 | 687 | "Return ``1`` if the memory defined by the *view* is C-style (*order* is " |
688 | 688 | "``'C'``) or Fortran-style (*order* is ``'F'``) :term:`contiguous` or either " |
689 | 689 | "one (*order* is ``'A'``). Return ``0`` otherwise. This function always " |
690 | 690 | "succeeds." |
691 | 691 | msgstr "" |
692 | 692 |
|
693 | | -#: ../../c-api/buffer.rst:480 |
| 693 | +#: ../../c-api/buffer.rst:482 |
694 | 694 | msgid "" |
695 | 695 | "Get the memory area pointed to by the *indices* inside the given *view*. " |
696 | 696 | "*indices* must point to an array of ``view->ndim`` indices." |
697 | 697 | msgstr "" |
698 | 698 |
|
699 | | -#: ../../c-api/buffer.rst:486 |
| 699 | +#: ../../c-api/buffer.rst:488 |
700 | 700 | msgid "" |
701 | 701 | "Copy contiguous *len* bytes from *buf* to *view*. *fort* can be ``'C'`` or " |
702 | 702 | "``'F'`` (for C-style or Fortran-style ordering). ``0`` is returned on " |
703 | 703 | "success, ``-1`` on error." |
704 | 704 | msgstr "" |
705 | 705 |
|
706 | | -#: ../../c-api/buffer.rst:493 |
| 706 | +#: ../../c-api/buffer.rst:495 |
707 | 707 | msgid "" |
708 | 708 | "Copy *len* bytes from *src* to its contiguous representation in *buf*. " |
709 | 709 | "*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style " |
710 | 710 | "ordering or either one). ``0`` is returned on success, ``-1`` on error." |
711 | 711 | msgstr "" |
712 | 712 |
|
713 | | -#: ../../c-api/buffer.rst:497 |
| 713 | +#: ../../c-api/buffer.rst:499 |
714 | 714 | msgid "This function fails if *len* != *src->len*." |
715 | 715 | msgstr "" |
716 | 716 |
|
717 | | -#: ../../c-api/buffer.rst:502 |
| 717 | +#: ../../c-api/buffer.rst:504 |
718 | 718 | msgid "" |
719 | 719 | "Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style " |
720 | 720 | "if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the " |
721 | 721 | "given shape with the given number of bytes per element." |
722 | 722 | msgstr "" |
723 | 723 |
|
724 | | -#: ../../c-api/buffer.rst:509 |
| 724 | +#: ../../c-api/buffer.rst:511 |
725 | 725 | msgid "" |
726 | 726 | "Handle buffer requests for an exporter that wants to expose *buf* of size " |
727 | 727 | "*len* with writability set according to *readonly*. *buf* is interpreted as " |
728 | 728 | "a sequence of unsigned bytes." |
729 | 729 | msgstr "" |
730 | 730 |
|
731 | | -#: ../../c-api/buffer.rst:513 |
| 731 | +#: ../../c-api/buffer.rst:515 |
732 | 732 | msgid "" |
733 | 733 | "The *flags* argument indicates the request type. This function always fills " |
734 | 734 | "in *view* as specified by flags, unless *buf* has been designated as read-" |
735 | 735 | "only and :c:macro:`PyBUF_WRITABLE` is set in *flags*." |
736 | 736 | msgstr "" |
737 | 737 |
|
738 | | -#: ../../c-api/buffer.rst:517 |
| 738 | +#: ../../c-api/buffer.rst:519 |
739 | 739 | msgid "" |
740 | 740 | "On success, set :c:member:`view->obj` to a new reference to *exporter* and " |
741 | 741 | "return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set " |
742 | 742 | ":c:member:`view->obj` to ``NULL`` and return ``-1``;" |
743 | 743 | msgstr "" |
744 | 744 |
|
745 | | -#: ../../c-api/buffer.rst:521 |
| 745 | +#: ../../c-api/buffer.rst:523 |
746 | 746 | msgid "" |
747 | 747 | "If this function is used as part of a :ref:`getbufferproc <buffer-structs>`," |
748 | 748 | " *exporter* MUST be set to the exporting object and *flags* must be passed " |
|
0 commit comments