Skip to content

Commit 1dab07d

Browse files
committed
Upgrade documentation sources to CPython 3.9 branch
Follow https://python-docs-es.readthedocs.io/es/3.8/upgrade-python-version.html to upgrade from Python 3.8 English documentation source files to Python 3.9
1 parent 23f33c6 commit 1dab07d

File tree

249 files changed

+71345
-25468
lines changed

Some content is hidden

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

249 files changed

+71345
-25468
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Doc/upgrade-python-version.rst
1414
locales/
1515
dict.txt
1616

17+
# Translations of our own files
18+
coc.po
19+
faq.po
20+
progress.po
21+
1722
# Byte-compiled / optimized / DLL files
1823
__pycache__/
1924
*.py[cod]

c-api/arg.po

+34-27
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
13+
"POT-Creation-Date: 2021-03-19 11:16+0100\n"
1414
"PO-Revision-Date: 2020-06-21 13:52+0200\n"
1515
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
16-
"Language-Team: python-doc-es\n"
1716
"Language: es\n"
17+
"Language-Team: python-doc-es\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
1819
"MIME-Version: 1.0\n"
19-
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Type: text/plain; charset=utf-8\n"
2021
"Content-Transfer-Encoding: 8bit\n"
21-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.8.0\n"
23-
"X-Generator: Poedit 2.3\n"
2423

2524
#: ../Doc/c-api/arg.rst:6
2625
msgid "Parsing arguments and building values"
@@ -335,10 +334,11 @@ msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]"
335334
msgstr "``S`` (:class:`bytes`) [PyBytesObject \\*]"
336335

337336
#: ../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 "
341-
"bytes object. The C variable may also be declared as :c:type:`PyObject\\*`."
341+
"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 "
@@ -349,11 +349,12 @@ msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
349349
msgstr "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
350350

351351
#: ../Doc/c-api/arg.rst:137
352+
#, fuzzy
352353
msgid ""
353354
"Requires that the Python object is a :class:`bytearray` object, without "
354355
"attempting any conversion. Raises :exc:`TypeError` if the object is not a :"
355356
"class:`bytearray` object. The C variable may also be declared as :c:type:"
356-
"`PyObject\\*`."
357+
"`PyObject*`."
357358
msgstr ""
358359
"Requiere que el objeto Python es un objeto :class:`bytearray`, sin intentar "
359360
"ninguna conversión. Lanza :exc:`TypeError` si el objeto no es un objecto :"
@@ -440,10 +441,11 @@ msgid "``U`` (:class:`str`) [PyObject \\*]"
440441
msgstr "``U`` (:class:`str`) [PyObject \\*]"
441442

442443
#: ../Doc/c-api/arg.rst:184
444+
#, fuzzy
443445
msgid ""
444446
"Requires that the Python object is a Unicode object, without attempting any "
445447
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object. "
446-
"The C variable may also be declared as :c:type:`PyObject\\*`."
448+
"The C variable may also be declared as :c:type:`PyObject*`."
447449
msgstr ""
448450
"Requiere que el objeto Python es un objeto Unicode, sin intentar ninguna "
449451
"conversión. Lanza :exc:`TypeError` si el objeto no es un objeto Unicode. La "
@@ -478,15 +480,15 @@ msgstr ""
478480
"caracteres. Solo funciona para datos codificados sin bytes NUL integrados."
479481

480482
#: ../Doc/c-api/arg.rst:198
483+
#, fuzzy
481484
msgid ""
482485
"This format requires two arguments. The first is only used as input, and "
483-
"must be a :c:type:`const char\\*` which points to the name of an encoding as "
484-
"a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
486+
"must be a :c:type:`const char*` which points to the name of an encoding as a "
487+
"NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
485488
"used. An exception is raised if the named encoding is not known to Python. "
486-
"The second argument must be a :c:type:`char\\*\\*`; the value of the pointer "
487-
"it references will be set to a buffer with the contents of the argument "
488-
"text. The text will be encoded in the encoding specified by the first "
489-
"argument."
489+
"The second argument must be a :c:type:`char**`; the value of the pointer it "
490+
"references will be set to a buffer with the contents of the argument text. "
491+
"The text will be encoded in the encoding specified by the first argument."
490492
msgstr ""
491493
"Este formato requiere dos argumentos. El primero solo se usa como entrada, y "
492494
"debe ser :c:type:`const char\\*` que apunta al nombre de una codificación "
@@ -547,12 +549,13 @@ msgstr ""
547549
"entrada que contienen caracteres NUL."
548550

549551
#: ../Doc/c-api/arg.rst:221
552+
#, fuzzy
550553
msgid ""
551554
"It requires three arguments. The first is only used as input, and must be "
552-
"a :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
555+
"a :c:type:`const char*` which points to the name of an encoding as a NUL-"
553556
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
554557
"An exception is raised if the named encoding is not known to Python. The "
555-
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
558+
"second argument must be a :c:type:`char**`; the value of the pointer it "
556559
"references will be set to a buffer with the contents of the argument text. "
557560
"The text will be encoded in the encoding specified by the first argument. "
558561
"The third argument must be a pointer to an integer; the referenced integer "
@@ -823,10 +826,11 @@ msgid "``O!`` (object) [*typeobject*, PyObject \\*]"
823826
msgstr "``O!`` (object) [*typeobject*, PyObject \\*]"
824827

825828
#: ../Doc/c-api/arg.rst:323
829+
#, fuzzy
826830
msgid ""
827831
"Store a Python object in a C object pointer. This is similar to ``O``, but "
828832
"takes two C arguments: the first is the address of a Python type object, the "
829-
"second is the address of the C variable (of type :c:type:`PyObject\\*`) into "
833+
"second is the address of the C variable (of type :c:type:`PyObject*`) into "
830834
"which the object pointer is stored. If the Python object does not have the "
831835
"required type, :exc:`TypeError` is raised."
832836
msgstr ""
@@ -841,10 +845,11 @@ msgid "``O&`` (object) [*converter*, *anything*]"
841845
msgstr "``O&`` (object) [*converter*, *anything*]"
842846

843847
#: ../Doc/c-api/arg.rst:332
848+
#, fuzzy
844849
msgid ""
845850
"Convert a Python object to a C variable through a *converter* function. "
846851
"This takes two arguments: the first is a function, the second is the address "
847-
"of a C variable (of arbitrary type), converted to :c:type:`void \\*`. The "
852+
"of a C variable (of arbitrary type), converted to :c:type:`void *`. The "
848853
"*converter* function in turn is called as follows::"
849854
msgstr ""
850855
"Convierte un objeto Python en una variable C a través de una función "
@@ -854,9 +859,10 @@ msgstr ""
854859
"siguiente manera::"
855860

856861
#: ../Doc/c-api/arg.rst:339
862+
#, fuzzy
857863
msgid ""
858864
"where *object* is the Python object to be converted and *address* is the :c:"
859-
"type:`void\\*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
865+
"type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
860866
"function. The returned *status* should be ``1`` for a successful conversion "
861867
"and ``0`` if the conversion has failed. When the conversion fails, the "
862868
"*converter* function should raise an exception and leave the content of "
@@ -1132,6 +1138,7 @@ msgstr ""
11321138
"descomponer otras tuplas, y puede continuar usándose para ese propósito."
11331139

11341140
#: ../Doc/c-api/arg.rst:479
1141+
#, fuzzy
11351142
msgid ""
11361143
"A simpler form of parameter retrieval which does not use a format string to "
11371144
"specify the types of the arguments. Functions which use this method to "
@@ -1140,13 +1147,12 @@ msgid ""
11401147
"should be passed as *args*; it must actually be a tuple. The length of the "
11411148
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
11421149
"equal. Additional arguments must be passed to the function, each of which "
1143-
"should be a pointer to a :c:type:`PyObject\\*` variable; these will be "
1144-
"filled in with the values from *args*; they will contain borrowed "
1145-
"references. The variables which correspond to optional parameters not given "
1146-
"by *args* will not be filled in; these should be initialized by the caller. "
1147-
"This function returns true on success and false if *args* is not a tuple or "
1148-
"contains the wrong number of elements; an exception will be set if there was "
1149-
"a failure."
1150+
"should be a pointer to a :c:type:`PyObject*` variable; these will be filled "
1151+
"in with the values from *args*; they will contain borrowed references. The "
1152+
"variables which correspond to optional parameters not given by *args* will "
1153+
"not be filled in; these should be initialized by the caller. This function "
1154+
"returns true on success and false if *args* is not a tuple or contains the "
1155+
"wrong number of elements; an exception will be set if there was a failure."
11501156
msgstr ""
11511157
"Una forma más simple de recuperación de parámetros que no utiliza una cadena "
11521158
"de formato para especificar los tipos de argumentos. Las funciones que "
@@ -1491,10 +1497,11 @@ msgstr ""
14911497
"de objetos en la lista de argumentos."
14921498

14931499
#: ../Doc/c-api/arg.rst:654
1500+
#, fuzzy
14941501
msgid ""
14951502
"Convert *anything* to a Python object through a *converter* function. The "
14961503
"function is called with *anything* (which should be compatible with :c:type:"
1497-
"`void \\*`) as its argument and should return a \"new\" Python object, or "
1504+
"`void*`) as its argument and should return a \"new\" Python object, or "
14981505
"``NULL`` if an error occurred."
14991506
msgstr ""
15001507
"Convierte *anything* a un objeto Python a través de una función *converter*. "

c-api/bool.po

+19-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
# Copyright (C) 2001-2020, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
33
# Maintained by the python-doc-es workteam.
4-
# [email protected] / https://mail.python.org/mailman3/lists/docs-es.python.org/
5-
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
4+
5+
# https://mail.python.org/mailman3/lists/docs-es.python.org/
6+
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get
7+
# the list of volunteers
68
#
79
msgid ""
810
msgstr ""
911
"Project-Id-Version: Python 3.8\n"
1012
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
13+
"POT-Creation-Date: 2021-03-19 11:16+0100\n"
1214
"PO-Revision-Date: 2020-05-09 03:05+0200\n"
15+
"Last-Translator: \n"
16+
"Language: es\n"
1317
"Language-Team: python-doc-es\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
1419
"MIME-Version: 1.0\n"
15-
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Type: text/plain; charset=utf-8\n"
1621
"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"
22+
"Generated-By: Babel 2.8.0\n"
2123

2224
#: ../Doc/c-api/bool.rst:6
2325
msgid "Boolean Objects"
@@ -36,42 +38,45 @@ msgstr ""
3638
"Sin embargo, los siguientes macros están disponibles."
3739

3840
#: ../Doc/c-api/bool.rst:16
39-
msgid "Return true if *o* is of type :c:data:`PyBool_Type`."
41+
#, fuzzy
42+
msgid ""
43+
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
44+
"succeeds."
4045
msgstr "Retorna verdad si *o* es de tipo :c:data:`PyBool_Type`."
4146

42-
#: ../Doc/c-api/bool.rst:21
47+
#: ../Doc/c-api/bool.rst:22
4348
msgid ""
4449
"The Python ``False`` object. This object has no methods. It needs to be "
4550
"treated just like any other object with respect to reference counts."
4651
msgstr ""
4752
"El objeto ``False`` de Python. Este objeto no tiene métodos. Debe tratarse "
4853
"como cualquier otro objeto con respecto a los recuentos de referencia."
4954

50-
#: ../Doc/c-api/bool.rst:27
55+
#: ../Doc/c-api/bool.rst:28
5156
msgid ""
5257
"The Python ``True`` object. This object has no methods. It needs to be "
5358
"treated just like any other object with respect to reference counts."
5459
msgstr ""
5560
"El objeto ``True`` de Python. Este objeto no tiene métodos. Debe tratarse "
5661
"como cualquier otro objeto con respecto a los recuentos de referencia."
5762

58-
#: ../Doc/c-api/bool.rst:33
63+
#: ../Doc/c-api/bool.rst:34
5964
msgid ""
6065
"Return :const:`Py_False` from a function, properly incrementing its "
6166
"reference count."
6267
msgstr ""
6368
"Retorna :const:`Py_False` de una función, incrementando adecuadamente su "
6469
"recuento de referencia."
6570

66-
#: ../Doc/c-api/bool.rst:39
71+
#: ../Doc/c-api/bool.rst:40
6772
msgid ""
6873
"Return :const:`Py_True` from a function, properly incrementing its reference "
6974
"count."
7075
msgstr ""
7176
"Retorna :const:`Py_True` desde una función, incrementando adecuadamente su "
7277
"recuento de referencia."
7378

74-
#: ../Doc/c-api/bool.rst:45
79+
#: ../Doc/c-api/bool.rst:46
7580
msgid ""
7681
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
7782
"the truth value of *v*."

0 commit comments

Comments
 (0)