Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a23307

Browse files
authored
Merge branch '3.8' into traduccion-library/numbers.po
2 parents6be29c1 +be097ad commit6a23307

File tree

8 files changed

+467
-90
lines changed

8 files changed

+467
-90
lines changed

‎c-api/iter.po

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,33 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#,fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version:Python 3.8\n"
1312
"Report-Msgid-Bugs-To:\n"
1413
"POT-Creation-Date:2020-05-05 12:54+0200\n"
15-
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
16-
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
14+
"PO-Revision-Date:2020-05-09 03:18+0200\n"
1715
"Language-Team:python-doc-es\n"
1816
"MIME-Version:1.0\n"
19-
"Content-Type:text/plain; charset=utf-8\n"
17+
"Content-Type:text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding:8bit\n"
2119
"Generated-By:Babel 2.8.0\n"
20+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
21+
"Last-Translator:\n"
22+
"Language:es\n"
23+
"X-Generator:Poedit 2.3\n"
2224

2325
#:../Doc/c-api/iter.rst:6
2426
msgid"Iterator Protocol"
25-
msgstr""
27+
msgstr"Protocolo iterador"
2628

2729
#:../Doc/c-api/iter.rst:8
2830
msgid"There are two functions specifically for working with iterators."
29-
msgstr""
31+
msgstr"Hay dos funciones específicas para trabajar con iteradores."
3032

3133
#:../Doc/c-api/iter.rst:12
3234
msgid"Return true if the object *o* supports the iterator protocol."
33-
msgstr""
35+
msgstr"Retorna verdadero si el objeto *o* admite el protocolo iterador."
3436

3537
#:../Doc/c-api/iter.rst:17
3638
msgid""
@@ -39,9 +41,15 @@ msgid ""
3941
"values, returns ``NULL`` with no exception set. If an error occurs while "
4042
"retrieving the item, returns ``NULL`` and passes along the exception."
4143
msgstr""
44+
"Retorna el siguiente valor de la iteración *o*. El objeto debe ser un "
45+
"iterador (depende de quién llama comprobar esto). Si no quedan valores "
46+
"restantes, retorna ``NULL`` sin establecer ninguna excepción. Si se produce "
47+
"un error al recuperar el elemento, retorna ``NULL`` y pasa la excepción."
4248

4349
#:../Doc/c-api/iter.rst:22
4450
msgid""
4551
"To write a loop which iterates over an iterator, the C code should look "
4652
"something like this::"
4753
msgstr""
54+
"Para escribir un bucle que itera sobre un iterador, el código en C debería "
55+
"verse así::"

‎c-api/memoryview.po

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,35 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#,fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version:Python 3.8\n"
1312
"Report-Msgid-Bugs-To:\n"
1413
"POT-Creation-Date:2020-05-05 12:54+0200\n"
15-
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
16-
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
14+
"PO-Revision-Date:2020-05-10 00:37+0200\n"
1715
"Language-Team:python-doc-es\n"
1816
"MIME-Version:1.0\n"
19-
"Content-Type:text/plain; charset=utf-8\n"
17+
"Content-Type:text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding:8bit\n"
2119
"Generated-By:Babel 2.8.0\n"
20+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
21+
"Last-Translator:Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
22+
"Language:es\n"
23+
"X-Generator:Poedit 2.3\n"
2224

2325
#:../Doc/c-api/memoryview.rst:9
2426
msgid"MemoryView objects"
25-
msgstr""
27+
msgstr"Objetos de vista de memoria (*MemoryView*)"
2628

2729
#:../Doc/c-api/memoryview.rst:11
2830
msgid""
2931
"A :class:`memoryview` object exposes the C level :ref:`buffer interface "
3032
"<bufferobjects>` as a Python object which can then be passed around like any "
3133
"other object."
3234
msgstr""
35+
"Un objeto :class:`memoryview` expone la :ref:`interfaz de búfer "
36+
"<bufferobjects>` a nivel de C como un objeto Python que luego puede pasarse "
37+
"como cualquier otro objeto."
3338

3439
#:../Doc/c-api/memoryview.rst:18
3540
msgid""
@@ -38,19 +43,29 @@ msgid ""
3843
"will be read/write, otherwise it may be either read-only or read/write at "
3944
"the discretion of the exporter."
4045
msgstr""
46+
"Crea un objeto de vista de memoria *memoryview* a partir de un objeto que "
47+
"proporciona la interfaz del búfer. Si *obj* admite exportaciones de búfer de "
48+
"escritura, el objeto de vista de memoria será de lectura/escritura, de lo "
49+
"contrario puede ser de solo lectura o de lectura/escritura a discreción del "
50+
"exportador."
4151

4252
#:../Doc/c-api/memoryview.rst:25
4353
msgid""
4454
"Create a memoryview object using *mem* as the underlying buffer. *flags* can "
4555
"be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
4656
msgstr""
57+
"Crea un objeto de vista de memoria usando *mem* como el búfer subyacente. "
58+
"*flags* pueden ser uno de :c:macro:`PyBUF_READ` o :c:macro:`PyBUF_WRITE`."
4759

4860
#:../Doc/c-api/memoryview.rst:32
4961
msgid""
5062
"Create a memoryview object wrapping the given buffer structure *view*. For "
5163
"simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred "
5264
"function."
5365
msgstr""
66+
"Crea un objeto de vista de memoria que ajuste la estructura de búfer dada "
67+
"*view*. Para memorias intermedias de bytes simples, :c:func:"
68+
"`PyMemoryView_FromMemory` es la función preferida."
5469

5570
#:../Doc/c-api/memoryview.rst:38
5671
msgid""
@@ -60,19 +75,32 @@ msgid ""
6075
"original memory. Otherwise, a copy is made and the memoryview points to a "
6176
"new bytes object."
6277
msgstr""
78+
"Crea un objeto de vista de memoria *memoryview* para un fragmento de memoria "
79+
"contiguo (:term:`contiguous`, en *order* 'C' o 'F' de Fortran) desde un "
80+
"objeto que define la interfaz del búfer. Si la memoria es contigua, el "
81+
"objeto de vista de memoria apunta a la memoria original. De lo contrario, se "
82+
"realiza una copia y la vista de memoria apunta a un nuevo objeto de bytes."
6383

6484
#:../Doc/c-api/memoryview.rst:47
6585
msgid""
6686
"Return true if the object *obj* is a memoryview object. It is not currently "
6787
"allowed to create subclasses of :class:`memoryview`."
6888
msgstr""
89+
"Retorna verdadero si el objeto *obj* es un objeto de vista de memoria. "
90+
"Actualmente no está permitido crear subclases de :class:`memoryview`."
6991

92+
# crashes -> bloquearse
7093
#:../Doc/c-api/memoryview.rst:53
94+
#,fuzzy
7195
msgid""
7296
"Return a pointer to the memoryview's private copy of the exporter's buffer. "
7397
"*mview* **must** be a memoryview instance; this macro doesn't check its "
7498
"type, you must do it yourself or you will risk crashes."
7599
msgstr""
100+
"Retorna un puntero a la copia privada de la vista de memoria del búfer del "
101+
"exportador. *mview* **debe** ser una instancia de *memoryview*; este macro "
102+
"no verifica su tipo, debe hacerlo usted mismo o correrá el riesgo de "
103+
"bloquearse."
76104

77105
#:../Doc/c-api/memoryview.rst:59
78106
msgid""
@@ -81,3 +109,8 @@ msgid ""
81109
"func:`PyMemoryView_FromMemory` or :c:func:`PyMemoryView_FromBuffer`. *mview* "
82110
"**must** be a memoryview instance."
83111
msgstr""
112+
"Retorna un puntero al objeto de exportación en el que se basa la vista de "
113+
"memoria o ``NULL`` si la vista de memoria ha sido creada por una de las "
114+
"funciones :c:func:`PyMemoryView_FromMemory` o :c:func:"
115+
"`PyMemoryView_FromBuffer`. *mview* **debe** ser una instancia de "
116+
"*memoryview*."

‎c-api/objbuffer.po

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
# Copyright (C) 2001-2020, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
3-
# Maintained by the python-doc-es workteam.
3+
# Maintained by the python-doc-es workteam.
44
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66
#
7-
#,fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version:Python 3.8\n"
1110
"Report-Msgid-Bugs-To:\n"
1211
"POT-Creation-Date:2019-05-06 11:59-0400\n"
13-
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
12+
"PO-Revision-Date:2020-05-09 16:31+0200\n"
1513
"Language-Team:python-doc-es\n"
1614
"MIME-Version:1.0\n"
1715
"Content-Type:text/plain; charset=UTF-8\n"
1816
"Content-Transfer-Encoding:8bit\n"
17+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
18+
"Last-Translator:\n"
19+
"Language:es\n"
20+
"X-Generator:Poedit 2.3\n"
1921

2022
#:../Doc/c-api/objbuffer.rst:4
2123
msgid"Old Buffer Protocol"
22-
msgstr""
24+
msgstr"Protocolo de búfer antiguo"
2325

2426
#:../Doc/c-api/objbuffer.rst:8
2527
msgid""
@@ -30,6 +32,12 @@ msgid ""
3032
"you control over the lifetime of the resources acquired when a buffer is "
3133
"exported."
3234
msgstr""
35+
"Estas funciones formaban parte de la API del\"antiguo protocolo de búfer\" "
36+
"en Python 2. En Python 3, este protocolo ya no existe, pero las funciones "
37+
"aún están expuestas para facilitar la transferencia del código 2.x. Actúan "
38+
"como una envoltura de compatibilidad alrededor del :ref:`nuevo protocolo de "
39+
"búfer <bufferobjects>`, pero no le dan control sobre la vida útil de los "
40+
"recursos adquiridos cuando se exporta un búfer."
3341

3442
#:../Doc/c-api/objbuffer.rst:15
3543
msgid""
@@ -38,6 +46,11 @@ msgid ""
3846
"`PyArg_ParseTuple` family of functions) to get a buffer view over an object, "
3947
"and :c:func:`PyBuffer_Release` when the buffer view can be released."
4048
msgstr""
49+
"Por lo tanto, se recomienda que llame :c:func:`PyObject_GetBuffer` (o "
50+
"``y*``o ``w*`` :ref:`format codes <arg-parsing>` con la familia de "
51+
"funciones :c:func:`PyArg_ParseTuple`) para obtener una vista de búfer sobre "
52+
"un objeto, y :c:func:`PyBuffer_Release` cuando se puede liberar la vista de "
53+
"búfer."
4154

4255
#:../Doc/c-api/objbuffer.rst:23
4356
msgid""
@@ -47,6 +60,12 @@ msgid ""
4760
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
4861
"`TypeError` on error."
4962
msgstr""
63+
"Retorna un puntero a una ubicación de memoria de solo lectura que se puede "
64+
"usar como entrada basada en caracteres. El argumento *obj* debe admitir la "
65+
"interfaz de búfer de caracteres de segmento único. En caso de éxito, "
66+
"devuelve ``0``, establece *buffer* en la ubicación de memoria y *buffer_len* "
67+
"en la longitud del búfer. Retorna ``-1`` y lanza :exc:`TypeError` en caso de "
68+
"error."
5069

5170
#:../Doc/c-api/objbuffer.rst:32
5271
msgid""
@@ -56,19 +75,30 @@ msgid ""
5675
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
5776
"`TypeError` on error."
5877
msgstr""
78+
"Retorna un puntero a una ubicación de memoria de solo lectura que contiene "
79+
"datos arbitrarios. El argumento *obj* debe admitir la interfaz de búfer "
80+
"legible de segmento único. En caso de éxito, retorna ``0``, establece "
81+
"*buffer* en la ubicación de memoria y *buffer_len* en la longitud del búfer. "
82+
"Devuelve ``-1`` y lanza un :exc:`TypeError` en caso de error."
5983

6084
#:../Doc/c-api/objbuffer.rst:41
6185
msgid""
6286
"Returns ``1`` if *o* supports the single-segment readable buffer interface. "
6387
"Otherwise returns ``0``. This function always succeeds."
6488
msgstr""
89+
"Retorna ``1`` si *o* admite la interfaz de búfer legible de segmento único. "
90+
"De lo contrario, devuelve ``0``. Esta función siempre tiene éxito."
6591

6692
#:../Doc/c-api/objbuffer.rst:44
6793
msgid""
6894
"Note that this function tries to get and release a buffer, and exceptions "
6995
"which occur while calling corresponding functions will get suppressed. To "
7096
"get error reporting use :c:func:`PyObject_GetBuffer()` instead."
7197
msgstr""
98+
"Tenga en cuenta que esta función intenta obtener y liberar un búfer, y las "
99+
"excepciones que se producen al llamar a las funciones correspondientes se "
100+
"suprimirán. Para obtener informes de errores, utilice :c:func:"
101+
"`PyObject_GetBuffer()` en su lugar."
72102

73103
#:../Doc/c-api/objbuffer.rst:51
74104
msgid""
@@ -77,3 +107,8 @@ msgid ""
77107
"``0``, sets *buffer* to the memory location and *buffer_len* to the buffer "
78108
"length. Returns ``-1`` and sets a :exc:`TypeError` on error."
79109
msgstr""
110+
"Retorna un puntero a una ubicación de memoria de escritura. El argumento "
111+
"*obj* debe admitir la interfaz de búfer de caracteres de segmento único. En "
112+
"caso de éxito, retorna ``0``, establece *buffer* en la ubicación de memoria "
113+
"y *buffer_len* en la longitud del búfer. Retorna ``-1`` y lanza un :exc:"
114+
"`TypeError` en caso de error."

‎c-api/reflection.po

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,70 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#,fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version:Python 3.8\n"
1312
"Report-Msgid-Bugs-To:\n"
1413
"POT-Creation-Date:2020-05-05 12:54+0200\n"
15-
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
16-
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
14+
"PO-Revision-Date:2020-05-09 02:56+0200\n"
1715
"Language-Team:python-doc-es\n"
1816
"MIME-Version:1.0\n"
19-
"Content-Type:text/plain; charset=utf-8\n"
17+
"Content-Type:text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding:8bit\n"
2119
"Generated-By:Babel 2.8.0\n"
20+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
21+
"Last-Translator:\n"
22+
"Language:es\n"
23+
"X-Generator:Poedit 2.3\n"
2224

2325
#:../Doc/c-api/reflection.rst:6
2426
msgid"Reflection"
25-
msgstr""
27+
msgstr"Reflexión"
2628

2729
#:../Doc/c-api/reflection.rst:10
2830
msgid""
2931
"Return a dictionary of the builtins in the current execution frame, or the "
3032
"interpreter of the thread state if no frame is currently executing."
3133
msgstr""
34+
"Retorna un diccionario de las construcciones en el marco de ejecución "
35+
"actual, o el intérprete del estado del hilo si no se está ejecutando ningún "
36+
"marco actualmente."
3237

3338
#:../Doc/c-api/reflection.rst:16
3439
msgid""
3540
"Return a dictionary of the local variables in the current execution frame, "
3641
"or ``NULL`` if no frame is currently executing."
3742
msgstr""
43+
"Retorna un diccionario de las variables locales en el marco de ejecución "
44+
"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco."
3845

3946
#:../Doc/c-api/reflection.rst:22
4047
msgid""
4148
"Return a dictionary of the global variables in the current execution frame, "
4249
"or ``NULL`` if no frame is currently executing."
4350
msgstr""
51+
"Retorna un diccionario de las variables globales en el marco de ejecución "
52+
"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco."
4453

4554
#:../Doc/c-api/reflection.rst:28
4655
msgid""
4756
"Return the current thread state's frame, which is ``NULL`` if no frame is "
4857
"currently executing."
4958
msgstr""
59+
"Retorna el marco del estado del hilo actual, que es ``NULL`` si actualmente "
60+
"no se está ejecutando ningún marco."
5061

5162
#:../Doc/c-api/reflection.rst:34
5263
msgid"Return the line number that *frame* is currently executing."
53-
msgstr""
64+
msgstr"Retorna el número de línea que *frame* está ejecutando actualmente."
5465

5566
#:../Doc/c-api/reflection.rst:39
5667
msgid""
5768
"Return the name of *func* if it is a function, class or instance object, "
5869
"else the name of *func*\\s type."
5970
msgstr""
71+
"Retorna el nombre de *func* si es una función, clase u objeto de instancia; "
72+
"de lo contrario, el nombre del tipo *func*\\s."
6073

6174
#:../Doc/c-api/reflection.rst:45
6275
msgid""
@@ -65,3 +78,7 @@ msgid ""
6578
"and\" object\". Concatenated with the result of :c:func:"
6679
"`PyEval_GetFuncName`, the result will be a description of *func*."
6780
msgstr""
81+
"Retorna una cadena de caracteres de descripción, según el tipo de *func*. "
82+
"Los valores de retorno incluyen\"()\" para funciones y métodos, "
83+
"\"constructor\",\"instancia\" y\"objeto\". Concatenado con el resultado "
84+
"de :c:func:`PyEval_GetFuncName`, el resultado será una descripción de *func*."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp