8000 Merge branch '3.9' into traduccion-2.2 · python/python-docs-es@f1ae32a · GitHub
[go: up one dir, main page]

Skip to content

Commit f1ae32a

Browse files
authored
Merge branch '3.9' into traduccion-2.2
2 parents 18e8bfb + 14ec944 commit f1ae32a

File tree

417 files changed

+9010
-3984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+9010
-3984
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
python-version: 3.9
1919
- name: Sincronizar con CPython
2020
run: |
21-
git submodule sync
22-
git submodule update --init --force cpython
21+
git submodule update --init --depth=1 cpython
2322
- name: Instalar dependencias
2423
run: |
2524
sudo apt-get update

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[submodule "cpython"]
22
path = cpython
33
url = https://github.com/python/cpython.git
4-
branch = 3.8
4+
branch = 3.9
55
shallow = true
66
[submodule "tutorialpyar"]
77
path = .migration/tutorialpyar

.overrides/coc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Este Código de Conducta se bifucó (fork) a partir de las pólizas de ejemplo d
236236
`Geek Feminism wiki, creado por Ada Initiative y otros voluntarios`_, que está bajo una licencia
237237
`Creative Commons Zero`_.
238238

239-
*Sage Sharp* de `Otter Tech`_ creó un nuevo lenguage y modificaciones adicionales.
239+
*Sage Sharp* de `Otter Tech`_ creó un nuevo lenguaje y modificaciones adicionales.
240240

241241
El lenguaje se incorporó a partir de los siguientes códigos de conducta:
242242

.overrides/translation-memory.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ Dividimos esta sección en dos partes, los términos que se traducen y los que m
9797

9898
bytecodes
9999
queda igual ``glossary.po``
100+
101+
callback
102+
retrollamada ``glossary.po``
100103

101104
callable
102105
invocable ``glossary.po``, ``library/functions.po``

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/JulienPalard/powrap
3-
rev: master
3+
rev: main
44
hooks:
55
- id: powrap
66
- repo: local
@@ -10,8 +10,8 @@ repos:
1010
entry: python ./scripts/create_dict.py
1111
language: python
1212
# This one requires package ``hunspell-es_es`` in Archlinux
13-
- repo: https://github.com/JulienPalard/pospell
14-
rev: v1.0.5
13+
- repo: https://github.com/AFPy/pospell
14+
rev: v1.0.11
1515
hooks:
1616
- id: pospell
17-
args: ['--personal-dict', 'dict.txt', '--modified', '--language', 'es_ES']
17+
args: ['--personal-dict', 'dict.txt', '--language', 'es_ES', '--language', 'es_AR']

TRANSLATORS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Enrique Zárate (@enrique-zarate)
137137
Jaume Montané (@jaumemy)
138138
Endika Gil (@endikagil)
139139
Federico Zuccolo (@fzuccolo)
140+
Francisco Mora (@framorac)
140141
Gibran Herrera (@gibranhl)
141142
Ulises Alexander Argüelles Monjaraz (@UlisesAlexanderAM)
142143
Juan Elias Rodriguez (@Juerodriguez)
@@ -145,6 +146,11 @@ Ignacio Sanz (@elnaquete)
145146
Jaime Rodrigo González Rodríguez (@jairock282)
146147
Martín Ramírez (@tinchoram)
147148
Kevin Cajachuán (@Kajachuan)
149+
Adolfo Villalobos (@AdolfoVillalobos)
148150
Yohanna Padrino (@Yo-hanaPR)
149151
Adolfo Villalobos (@AdolfoVillalobos)
150-
José Luis Salgado Banda (@josephLSalgado)
152+
José Luis Salgado Banda (@josephLSalgado)
153+
Marcos Medrano (@mmmarcos)
154+
Gonzalo Tixilima (@javoweb)
155+
Frank Montalvo Ochoa (@fmontalvoo)
156+
Diego Cristóbal (@dcristobalh)

c-api/arg.po

Lines changed: 31 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-03-19 11:16+0100\n"
14-
"PO-Revision-Date: 2020-06-21 13:52+0200\n"
14+
"PO-Revision-Date: 2021-08-02 01:47+0200\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.8.0\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/c-api/arg.rst:6
2526
msgid "Parsing arguments and building values"
@@ -334,22 +335,20 @@ msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]"
334335
msgstr "``S`` (:class:`bytes`) [PyBytesObject \\*]"
335336

336337
#: ../Doc/c-api/arg.rst:132
337-
#, fuzzy
338338
msgid ""
339339
"Requires that the Python object is a :class:`bytes` object, without "
340340
"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
341341
"bytes object. The C variable may also be declared as :c:type:`PyObject*`."
342342
msgstr ""
343343
"Requiere que el objeto Python es un objeto :class:`bytes`, sin intentar "
344344
"ninguna conversión. Lanza :exc:`TypeError` si el objeto no es un objeto "
345-
"bytes. La variable C también puede ser declarado como :c:type:`PyObject \\*`."
345+
"bytes. La variable C también puede ser declarado como :c:type:`PyObject*`."
346346

347347
#: ../Doc/c-api/arg.rst:139
348348
msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
349349
msgstr "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
350350

351351
#: ../Doc/c-api/arg.rst:137
352-
#, fuzzy
353352
msgid ""
354353
"Requires that the Python object is a :class:`bytearray` object, without "
355354
"attempting any conversion. Raises :exc:`TypeError` if the object is not a :"
@@ -358,8 +357,8 @@ msgid ""
358357
msgstr ""
359358
"Requiere que el objeto Python es un objeto :class:`bytearray`, sin intentar "
360359
"ninguna conversión. Lanza :exc:`TypeError` si el objeto no es un objecto :"
361-
"class:`bytearray`. La variable C también puede ser declarado como :c:type:"
362-
"`PyObject \\*`."
360+
"class:`bytearray`. La variable C también puede ser declarada como :c:type:"
361+
"`PyObject*`."
363362

364363
#: ../Doc/c-api/arg.rst:156
365364
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
@@ -441,15 +440,14 @@ msgid "``U`` (:class:`str`) [PyObject \\*]"
441440
msgstr "``U`` (:class:`str`) [PyObject \\*]"
442441

443442
#: ../Doc/c-api/arg.rst:184
444-
#, fuzzy
445443
msgid ""
446444
"Requires that the Python object is a Unicode object, without attempting any "
447445
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object. "
448446
"The C variable may also be declared as :c:type:`PyObject*`."
449447
msgstr ""
450448
"Requiere que el objeto Python es un objeto Unicode, sin intentar ninguna "
451449
"conversión. Lanza :exc:`TypeError` si el objeto no es un objeto Unicode. La "
452-
"variable C también puede ser declarado como :c:type:`PyObject\\*`."
450+
"variable C también puede ser declarada como :c:type:`PyObject*`."
453451

454452
#: ../Doc/c-api/arg.rst:192
455453
msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]"
@@ -480,7 +478,6 @@ msgstr ""
480478
"caracteres. Solo funciona para datos codificados sin bytes NUL integrados."
481479

482480
#: ../Doc/c-api/arg.rst:198
483-
#, fuzzy
484481
msgid ""
485482
"This format requires two arguments. The first is only used as input, and "
486483
"must be a :c:type:`const char*` which points to the name of an encoding as a "
@@ -491,13 +488,13 @@ msgid ""
491488
"The text will be encoded in the encoding specified by the first argument."
492489
msgstr ""
493490
"Este formato requiere dos argumentos. El primero solo se usa como entrada, y "
494-
"debe ser :c:type:`const char\\*` que apunta al nombre de una codificación "
495-
"como una cadena de caracteres terminada en NUL, o ``NULL``, en cuyo caso se "
491+
"debe ser :c:type:`const char*` que apunta al nombre de una codificación como "
492+
"una cadena de caracteres terminada en NUL, o ``NULL``, en cuyo caso se "
496493
"utiliza la codificación ``'utf-8'``. Se lanza una excepción si Python no "
497494
"conoce la codificación con nombre. El segundo argumento debe ser :c:type:"
498-
"`char\\*\\*`; el valor del puntero al que hace referencia se establecerá en "
499-
"un búfer con el contenido del texto del argumento. El texto se codificará en "
500-
"la codificación especificada por el primer argumento."
495+
"`char**`; el valor del puntero al que hace referencia se establecerá en un "
496+
"búfer con el contenido del texto del argumento. El texto se codificará en la "
497+
"codificación especificada por el primer argumento."
501498

502499
#: ../Doc/c-api/arg.rst:206
503500
msgid ""
@@ -549,7 +546,6 @@ msgstr ""
549546
"entrada que contienen caracteres NUL."
550547

551548
#: ../Doc/c-api/arg.rst:221
552-
#, fuzzy
553549
msgid ""
554550
"It requires three arguments. The first is only used as input, and must be "
555551
"a :c:type:`const char*` which points to the name of an encoding as a NUL-"
@@ -562,15 +558,15 @@ msgid ""
562558
"will be set to the number of bytes in the output buffer."
563559
msgstr ""
564560
"Requiere tres argumentos. El primero solo se usa como entrada, y debe ser :c:"
565-
"type:`const char \\*` que apunta al nombre de una codificación como una "
566-
"cadena terminada en NUL, o ``NULL``, en cuyo caso ``Se utiliza la "
561+
"type:`const char*` que apunta al nombre de una codificación como una cadena "
562+
"de caracteres terminada en NUL, o ``NULL``, en cuyo caso ``Se utiliza la "
567563
"codificación 'utf-8'``. Se lanza una excepción si Python no conoce la "
568-
"codificación con nombre. El segundo argumento debe ser :c:type:`char\\*\\*`; "
569-
"El valor del puntero al que hace referencia se establecerá en un búfer con "
570-
"el contenido del texto del argumento. El texto se codificará en la "
571-
"codificación especificada por el primer argumento. El tercer argumento debe "
572-
"ser un puntero a un entero; el número entero referenciado se establecerá en "
573-
"el número de bytes en el búfer de salida."
564+
"codificación con nombre. El segundo argumento debe ser :c:type:`char**`; El "
565+
"valor del puntero al que hace referencia se establecerá en un búfer con el "
566+
"contenido del texto del argumento. El texto se codificará en la codificación "
567+
"especificada por el primer argumento. El tercer argumento debe ser un "
568+
"puntero a un entero; el número entero referenciado se establecerá en el "
569+
"número de bytes en el búfer de salida."
574570

575571
#: ../Doc/c-api/arg.rst:231
576572
msgid "There are two modes of operation:"
@@ -826,7 +822,6 @@ msgid "``O!`` (object) [*typeobject*, PyObject \\*]"
826822
msgstr "``O!`` (object) [*typeobject*, PyObject \\*]"
827823

828824
#: ../Doc/c-api/arg.rst:323
829-
#, fuzzy
830825
msgid ""
831826
"Store a Python object in a C object pointer. This is similar to ``O``, but "
832827
"takes two C arguments: the first is the address of a Python type object, the "
@@ -837,15 +832,14 @@ msgstr ""
837832
"Almacena un objeto Python en un puntero de objeto C. Esto es similar a "
838833
"``O``, pero toma dos argumentos C: el primero es la dirección de un objeto "
839834
"de tipo Python, el segundo es la dirección de la variable C (de tipo :c:type:"
840-
"`PyObject\\*`) en el que se almacena el puntero del objeto. Si el objeto "
835+
"`PyObject*`) en el que se almacena el puntero del objeto. Si el objeto "
841836
"Python no tiene el tipo requerido, se lanza :exc:`TypeError`."
842837

843838
#: ../Doc/c-api/arg.rst:352 ../Doc/c-api/arg.rst:657
844839
msgid "``O&`` (object) [*converter*, *anything*]"
845840
msgstr "``O&`` (object) [*converter*, *anything*]"
846841

847842
#: ../Doc/c-api/arg.rst:332
848-
#, fuzzy
849843
msgid ""
850844
"Convert a Python object to a C variable through a *converter* function. "
851845
"This takes two arguments: the first is a function, the second is the address "
@@ -855,11 +849,10 @@ msgstr ""
855849
"Convierte un objeto Python en una variable C a través de una función "
856850
"*converter*. Esto requiere dos argumentos: el primero es una función, el "
857851
"segundo es la dirección de una variable C (de tipo arbitrario), convertida "
858-
"a :c:type:`void \\*`. La función *converter* a su vez se llama de la "
859-
"siguiente manera::"
852+
"a :c:type:`void *`. La función *converter* a su vez se llama de la siguiente "
853+
"manera::"
860854

861855
#: ../Doc/c-api/arg.rst:339
862-
#, fuzzy
863856
msgid ""
864857
"where *object* is the Python object to be converted and *address* is the :c:"
865858
"type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
@@ -869,11 +862,11 @@ msgid ""
869862
"*address* unmodified."
870863
msgstr ""
871864
"donde *object* es el objeto de Python a convertir y *address* es el "
872-
"argumento :c:type:`void\\*` que se pasó a la función :c:func:`PyArg_Parse"
873-
"\\*`. El *status* retornado debe ser ``1`` para una conversión exitosa y "
874-
"``0`` si la conversión ha fallado. Cuando la conversión falla, la función "
875-
"*converter* debería generar una excepción y dejar el contenido de *addres* "
876-
"sin modificar."
865+
"argumento :c:type:`void*` que se pasó a la función :c:func:`PyArg_Parse\\*`. "
866+
"El *status* retornado debe ser ``1`` para una conversión exitosa y ``0`` si "
867+
"la conversión ha fallado. Cuando la conversión falla, la función *converter* "
868+
"debería generar una excepción y dejar el contenido de *address* sin "
869+
"modificar."
877870

878871
#: ../Doc/c-api/arg.rst:345
879872
msgid ""
@@ -1138,7 +1131,6 @@ msgstr ""
11381131
"descomponer otras tuplas, y puede continuar usándose para ese propósito."
11391132

11401133
#: ../Doc/c-api/arg.rst:479
1141-
#, fuzzy
11421134
msgid ""
11431135
"A simpler form of parameter retrieval which does not use a format string to "
11441136
"specify the types of the arguments. Functions which use this method to "
@@ -1162,7 +1154,7 @@ msgstr ""
11621154
"ser una tupla. La longitud de la tupla debe ser al menos *min* y no más de "
11631155
"*max*; *min* y *max* pueden ser iguales. Se deben pasar argumentos "
11641156
"adicionales a la función, cada uno de los cuales debe ser un puntero a una "
1165-
"variable :c:type:`PyObject\\*`; estos se completarán con los valores de "
1157+
"variable :c:type:`PyObject*`; estos se completarán con los valores de "
11661158
"*args*; contendrán referencias prestadas. Las variables que corresponden a "
11671159
"parámetros opcionales no dados por *args* no se completarán; estos deben ser "
11681160
"inicializados por quien llama. Esta función retorna verdadero en caso de "
@@ -1497,7 +1489,6 @@ msgstr ""
14971489
"de objetos en la lista de argumentos."
14981490

14991491
#: ../Doc/c-api/arg.rst:654
1500-
#, fuzzy
15011492
msgid ""
15021493
"Convert *anything* to a Python object through a *converter* function. The "
15031494
"function is called with *anything* (which should be compatible with :c:type:"
@@ -1506,8 +1497,8 @@ msgid ""
15061497
msgstr ""
15071498
"Convierte *anything* a un objeto Python a través de una función *converter*. "
15081499
"La función se llama con *anything* (que debería ser compatible con :c:type:"
1509-
"`void \\*`) como argumento y debería retornar un \"nuevo\" objeto de Python, "
1510-
"o ``NULL`` si se produjo un error."
1500+
"`void*`) como argumento y debería retornar un \"nuevo\" objeto de Python, o "
1501+
"``NULL`` si se produjo un error."
15111502

15121503
#: ../Doc/c-api/arg.rst:660
15131504
msgid ""

0 commit comments

Comments
 (0)
0