# Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. # Maintained by the python-doc-es workteam. # docs-es@python.org / # https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to # get the list of volunteers # msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-19 11:16+0100\n" "PO-Revision-Date: 2021-08-01 20:28+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" "Language: es\n" "Language-Team: python-doc-es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" "X-Generator: Poedit 3.0\n" #: ../Doc/c-api/memoryview.rst:9 msgid "MemoryView objects" msgstr "Objetos de vista de memoria (*MemoryView*)" #: ../Doc/c-api/memoryview.rst:11 msgid "" "A :class:`memoryview` object exposes the C level :ref:`buffer interface " "` as a Python object which can then be passed around like any " "other object." msgstr "" "Un objeto :class:`memoryview` expone la :ref:`interfaz de búfer " "` a nivel de C como un objeto Python que luego puede pasarse " "como cualquier otro objeto." #: ../Doc/c-api/memoryview.rst:18 msgid "" "Create a memoryview object from an object that provides the buffer " "interface. If *obj* supports writable buffer exports, the memoryview object " "will be read/write, otherwise it may be either read-only or read/write at " "the discretion of the exporter." msgstr "" "Crea un objeto de vista de memoria *memoryview* a partir de un objeto que " "proporciona la interfaz del búfer. Si *obj* admite exportaciones de búfer de " "escritura, el objeto de vista de memoria será de lectura/escritura, de lo " "contrario puede ser de solo lectura o de lectura/escritura a discreción del " "exportador." #: ../Doc/c-api/memoryview.rst:25 msgid "" "Create a memoryview object using *mem* as the underlying buffer. *flags* can " "be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`." msgstr "" "Crea un objeto de vista de memoria usando *mem* como el búfer subyacente. " "*flags* pueden ser uno de :c:macro:`PyBUF_READ` o :c:macro:`PyBUF_WRITE`." #: ../Doc/c-api/memoryview.rst:32 msgid "" "Create a memoryview object wrapping the given buffer structure *view*. For " "simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred " "function." msgstr "" "Crea un objeto de vista de memoria que ajuste la estructura de búfer dada " "*view*. Para memorias intermedias de bytes simples, :c:func:" "`PyMemoryView_FromMemory` es la función preferida." #: ../Doc/c-api/memoryview.rst:38 msgid "" "Create a memoryview object to a :term:`contiguous` chunk of memory (in " "either 'C' or 'F'ortran *order*) from an object that defines the buffer " "interface. If memory is contiguous, the memoryview object points to the " "original memory. Otherwise, a copy is made and the memoryview points to a " "new bytes object." msgstr "" "Crea un objeto de vista de memoria *memoryview* para un fragmento de memoria " "contiguo (:term:`contiguous`, en *order* 'C' o 'F' de Fortran) desde un " "objeto que define la interfaz del búfer. Si la memoria es contigua, el " "objeto de vista de memoria apunta a la memoria original. De lo contrario, se " "realiza una copia y la vista de memoria apunta a un nuevo objeto de bytes." #: ../Doc/c-api/memoryview.rst:47 msgid "" "Return true if the object *obj* is a memoryview object. It is not currently " "allowed to create subclasses of :class:`memoryview`. This function always " "succeeds." msgstr "" "Retorna verdadero si el objeto *obj* es un objeto de vista de memoria. " "Actualmente no está permitido crear subclases de :class:`memoryview`. Esta " "función siempre finaliza con éxito." # crashes -> bloquearse #: ../Doc/c-api/memoryview.rst:54 msgid "" "Return a pointer to the memoryview's private copy of the exporter's buffer. " "*mview* **must** be a memoryview instance; this macro doesn't check its " "type, you must do it yourself or you will risk crashes." msgstr "" "Retorna un puntero a la copia privada de la vista de memoria del búfer del " "exportador. *mview* **debe** ser una instancia de *memoryview*; este macro " "no verifica su tipo, debe hacerlo usted mismo o correrá el riesgo de fallas." #: ../Doc/c-api/memoryview.rst:60 msgid "" "Return either a pointer to the exporting object that the memoryview is based " "on or ``NULL`` if the memoryview has been created by one of the functions :c:" "func:`PyMemoryView_FromMemory` or :c:func:`PyMemoryView_FromBuffer`. *mview* " "**must** be a memoryview instance." msgstr "" "Retorna un puntero al objeto de exportación en el que se basa la vista de " "memoria o ``NULL`` si la vista de memoria ha sido creada por una de las " "funciones :c:func:`PyMemoryView_FromMemory` o :c:func:" "`PyMemoryView_FromBuffer`. *mview* **debe** ser una instancia de " "*memoryview*."