@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
14
- "PO-Revision-Date : 2020-10-04 20:18 -0500\n "
14
+ "PO-Revision-Date : 2020-10-06 09:54 -0500\n "
15
15
"Language-Team : python-doc-es\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
@@ -858,7 +858,7 @@ msgid ""
858
858
"parameter and returns the resulting object."
859
859
msgstr ""
860
860
"También se puede configurar a cualquier otro *callable* que acepte un único "
861
- "parámetro *bytestring* y retorne el objeto resultante"
861
+ "parámetro *bytestring* y retorne el objeto resultante. "
862
862
863
863
#: ../Doc/library/sqlite3.rst:516
864
864
msgid "See the following example code for illustration:"
@@ -1004,33 +1004,44 @@ msgid ""
1004
1004
"the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows "
1005
1005
"using an :term:`iterator` yielding parameters instead of a sequence."
1006
1006
msgstr ""
1007
+ "Ejecuta un comando SQL contra todas las secuencias de parámetros o mapeos "
1008
+ "encontrados en la secuencia *seq_of_parameters*. El módulo también permite "
1009
+ "usar un :term:`iterator` produciendo parámetros en lugar de una secuencia."
1007
1010
1008
1011
#: ../Doc/library/sqlite3.rst:636
1009
1012
msgid "Here's a shorter example using a :term:`generator`:"
1010
- msgstr ""
1013
+ msgstr "Acá un corto ejemplo usando un :term:`generator`: "
1011
1014
1012
1015
#: ../Doc/library/sqlite3.rst:643
1013
1016
msgid ""
1014
1017
"This is a nonstandard convenience method for executing multiple SQL "
1015
1018
"statements at once. It issues a ``COMMIT`` statement first, then executes "
1016
1019
"the SQL script it gets as a parameter."
1017
1020
msgstr ""
1021
+ "Este es un conveniente método no estándar para ejecutar múltiples sentencias "
1022
+ "SQL de una vez. Emite una sentencia ``COMMIT`` primero, luego ejecuta el "
1023
+ "script SQL obtenido como parámetro."
1018
1024
1019
1025
#: ../Doc/library/sqlite3.rst:647
1020
1026
msgid "*sql_script* can be an instance of :class:`str`."
1021
- msgstr ""
1027
+ msgstr "*sql_script* puede ser una instancia de :class:`str`. "
1022
1028
1023
1029
#: ../Doc/library/sqlite3.rst:656
1024
1030
msgid ""
1025
1031
"Fetches the next row of a query result set, returning a single sequence, or :"
1026
1032
"const:`None` when no more data is available."
1027
1033
msgstr ""
1034
+ "Obtiene la siguiente fila de un conjunto resultado, retorna una única "
1035
+ "secuencia, o :const:`None` cuando no hay más datos disponibles."
1028
1036
1029
1037
#: ../Doc/library/sqlite3.rst:662
1030
1038
msgid ""
1031
1039
"Fetches the next set of rows of a query result, returning a list. An empty "
1032
1040
"list is returned when no more rows are available."
1033
1041
msgstr ""
1042
+ "Obtiene el siguiente conjunto de filas del resultado de una consulta, "
1043
+ "retornando una lista. Una lista vacía es retornada cuando no hay más filas "
1044
+ "disponibles."
1034
1045
1035
1046
#: ../Doc/library/sqlite3.rst:665
1036
1047
msgid ""
@@ -1040,6 +1051,12 @@ msgid ""
1040
1051
"size parameter. If this is not possible due to the specified number of rows "
1041
1052
"not being available, fewer rows may be returned."
1042
1053
msgstr ""
1054
+ "El número de filas a obtener por llamado es especificado por el parámetro "
1055
+ "*size*. Si no es suministrado, el *arraysize* del cursor determina el número "
1056
+ "de filas a obtener. El método debería intentar obtener tantas filas como las "
1057
+ "indicadas por el parámetro *size*. Si esto no es posible debido a que el "
1058
+ "número especificado de filas no está disponible, entonces menos filas "
1059
+ "deberán ser retornadas."
1043
1060
1044
1061
#: ../Doc/library/sqlite3.rst:671
1045
1062
msgid ""
@@ -1048,37 +1065,52 @@ msgid ""
1048
1065
"attribute. If the *size* parameter is used, then it is best for it to retain "
1049
1066
"the same value from one :meth:`fetchmany` call to the next."
1050
1067
msgstr ""
1068
+ "Nótese que hay consideraciones de desempeño involucradas con el parámetro "
1069
+ "*size*. Para un optimo desempeño, es usualmente mejor usar el atributo "
1070
+ "*arraysize*. Si el parámetro *size* es usado, entonces es mejor retener el "
1071
+ "mismo valor de una llamada :meth:`fetchmany` a la siguiente."
1051
1072
1052
1073
#: ../Doc/library/sqlite3.rst:678
1053
1074
msgid ""
1054
1075
"Fetches all (remaining) rows of a query result, returning a list. Note that "
1055
1076
"the cursor's arraysize attribute can affect the performance of this "
1056
1077
"operation. An empty list is returned when no rows are available."
1057
1078
msgstr ""
1079
+ "Obtiene todas las filas (restantes) del resultado de una consulta. Nótese "
1080
+ "que el atributo *arraysize* del cursor puede afectar el desempeño de esta "
1081
+ "operación. Una lista vacía será retornada cuando no hay filas disponibles."
1058
1082
1059
1083
#: ../Doc/library/sqlite3.rst:684
1060
1084
msgid "Close the cursor now (rather than whenever ``__del__`` is called)."
1061
- msgstr ""
1085
+ msgstr "Cierra el cursor ahora (en lugar que cuando ``__del__`` es llamado) "
1062
1086
1063
1087
#: ../Doc/library/sqlite3.rst:686
1064
1088
msgid ""
1065
1089
"The cursor will be unusable from this point forward; a :exc:"
1066
1090
"`ProgrammingError` exception will be raised if any operation is attempted "
1067
1091
"with the cursor."
1068
1092
msgstr ""
1093
+ "El cursor no será usable de este punto en adelante; una exepción :exc:"
1094
+ "`ProgrammingError` será lanzada si se intenta cualquier operación con el "
1095
+ "cursor."
1069
1096
1070
1097
#: ../Doc/library/sqlite3.rst:691
1071
1098
msgid ""
1072
1099
"Although the :class:`Cursor` class of the :mod:`sqlite3` module implements "
1073
1100
"this attribute, the database engine's own support for the determination of "
1074
1101
"\" rows affected\" /\" rows selected\" is quirky."
1075
1102
msgstr ""
1103
+ "A pesar de que la clase :class:`Cursor` del módulo :mod:`sqlite3` implementa "
1104
+ "este atributo, el propio soporte del motor de base de datos para la "
1105
+ "determinación de \" filas afectadas\" /\" filas seleccionadas\" es raro."
1076
1106
1077
1107
#: ../Doc/library/sqlite3.rst:695
1078
1108
msgid ""
1079
1109
"For :meth:`executemany` statements, the number of modifications are summed "
1080
1110
"up into :attr:`rowcount`."
1081
1111
msgstr ""
1112
+ "Para sentencias :meth:`executemany`, el número de modificaciones se resumen "
1113
+ "en :attr:`rowcount`."
1082
1114
1083
1115
#: ../Doc/library/sqlite3.rst:698
1084
1116
msgid ""
@@ -1088,12 +1120,20 @@ msgid ""
1088
1120
"includes ``SELECT`` statements because we cannot determine the number of "
1089
1121
"rows a query produced until all rows were fetched."
1090
1122
msgstr ""
1123
+ "Cómo lo requiere la especificación Python DB API, el atributo :attr:"
1124
+ "`rowcount` \" es -1 en caso de que ``executeXX()`` no haya sido ejecutada en "
1125
+ "el cursor o en el *rowcount* de la última operación no haya sido determinada "
1126
+ "por la interface\" . Esto incluye sentencias ``SELECT`` porque no podemos "
1127
+ "determinar el número de filas que una consulta produce hasta que todas las "
1128
+ "filas sean obtenidas."
1091
1129
1092
1130
#: ../Doc/library/sqlite3.rst:704
1093
1131
msgid ""
1094
1132
"With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make "
1095
1133
"a ``DELETE FROM table`` without any condition."
1096
1134
msgstr ""
1135
+ "Con versiones de SQLite anteriores a 3.6.5, :attr:`rowcount` es configurado "
1136
+ "a 0 si se hace un ``DELETE FROM table`` sin ninguna condición."
1097
1137
1098
1138
#: ../Doc/library/sqlite3.rst:709
1099
1139
msgid ""
@@ -1103,34 +1143,49 @@ msgid ""
1103
1143
"or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:"
1104
1144
"`None`."
1105
1145
msgstr ""
1146
+ "Este atributo de solo lectura provee el *rowid* de la última fila "
1147
+ "modificada. Solo se configura si se emite una sentencia ``INSERT`` o "
1148
+ "``REPLACE`` usando el método :meth:`execute`. Para otras operaciones "
1149
+ "diferentes a ``INSERT`` o ``REPLACE`` o cuando :meth:`executemany` es "
1150
+ "llamado, attr:`lastrowid` es configurado a :const:`None`."
1106
1151
1107
1152
#: ../Doc/library/sqlite3.rst:715
1108
1153
msgid ""
1109
1154
"If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous "
1110
1155
"successful rowid is returned."
1111
1156
msgstr ""
1157
+ "Si la sentencia ``INSERT`` o ``REPLACE`` no se pudo insertar, se retorna el "
1158
+ "anterior *rowid* exitoso."
1112
1159
1113
1160
#: ../Doc/library/sqlite3.rst:718
1114
1161
msgid "Added support for the ``REPLACE`` statement."
1115
- msgstr ""
1162
+ msgstr "Se agregó soporte para sentencias ``REPLACE``. "
1116
1163
1117
1164
#: ../Doc/library/sqlite3.rst:723
1118
1165
msgid ""
1119
1166
"Read/write attribute that controls the number of rows returned by :meth:"
1120
1167
"`fetchmany`. The default value is 1 which means a single row would be "
1121
1168
"fetched per call."
1122
1169
msgstr ""
1170
+ "Atributo de lectura/escritura que controla el número de filas retornadas "
1171
+ "por :meth:`fetchmany`. El valor por defecto es 1, lo cual significa que una "
1172
+ "única fila será obtenida por llamada."
1123
1173
1124
1174
#: ../Doc/library/sqlite3.rst:728
1125
1175
msgid ""
1126
1176
"This read-only attribute provides the column names of the last query. To "
1127
1177
"remain compatible with the Python DB API, it returns a 7-tuple for each "
1128
1178
"column where the last six items of each tuple are :const:`None`."
1129
1179
msgstr ""
1180
+ "Este atributo de solo lectura provee el nombre de las columnas de la última "
1181
+ "consulta. Para ser compatible con *Python DB API*, retorna una 7-tupla para "
1182
+ "cada columna en donde los últimos seis ítems de cada tupla son :const:`None`."
1130
1183
1131
1184
#: ../Doc/library/sqlite3.rst:732
1132
1185
msgid "It is set for ``SELECT`` statements without any matching rows as well."
1133
1186
msgstr ""
1187
+ "También es configurado para sentencias ``SELECT`` sin ninguna fila "
1188
+ "coincidente."
1134
1189
1135
1190
#: ../Doc/library/sqlite3.rst:736
1136
1191
msgid ""
@@ -1139,6 +1194,10 @@ msgid ""
1139
1194
"calling :meth:`con.cursor() <Connection.cursor>` will have a :attr:"
1140
1195
"`connection` attribute that refers to *con*::"
1141
1196
msgstr ""
1197
+ "Este atributo de solo lectura provee la :class:`Connection` de la base de "
1198
+ "datos SQLite usada por el objeto :class:`Cursor`. Un objeto :class:`Cursor` "
1199
+ "creado por la llamada de :meth:`con.cursor() <Connection.cursor>` tendrá un "
1200
+ "atributo :attr:`connection` que se fiere a *con*::"
1142
1201
1143
1202
#: ../Doc/library/sqlite3.rst:749
1144
1203
msgid "Row Objects"
0 commit comments