@@ -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-05-23 23:20 +0200\n "
14
+ "PO-Revision-Date : 2020-05-23 23:33 +0200\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 "
@@ -2125,7 +2125,7 @@ msgstr ""
2125
2125
2126
2126
#: ../Doc/library/re.rst:1477
2127
2127
msgid "Making a Phonebook"
2128
- msgstr ""
2128
+ msgstr "Haciendo una guía telefónica "
2129
2129
2130
2130
#: ../Doc/library/re.rst:1479
2131
2131
msgid ""
@@ -2134,32 +2134,49 @@ msgid ""
2134
2134
"that can be easily read and modified by Python as demonstrated in the "
2135
2135
"following example that creates a phonebook."
2136
2136
msgstr ""
2137
+ ":func:`split` divide una cadena en una lista delimitada por el patrón "
2138
+ "recibido. El método es muy útil para convertir datos textuales en "
2139
+ "estructuras de datos que pueden ser fácilmente leídas y modificadas por "
2140
+ "Python, como se demuestra en el siguiente ejemplo en el que se crea una guía "
2141
+ "telefónica."
2137
2142
2138
2143
#: ../Doc/library/re.rst:1484
2139
2144
msgid ""
2140
2145
"First, here is the input. Normally it may come from a file, here we are "
2141
2146
"using triple-quoted string syntax"
2142
2147
msgstr ""
2148
+ "Primero, aquí está la información. Normalmente puede venir de un archivo, "
2149
+ "aquí se usa la sintaxis de cadena de triple comilla"
2143
2150
2144
2151
#: ../Doc/library/re.rst:1497
2145
2152
msgid ""
2146
2153
"The entries are separated by one or more newlines. Now we convert the string "
2147
2154
"into a list with each nonempty line having its own entry:"
2148
2155
msgstr ""
2156
+ "Las entradas (*entries*) están separadas por una o más líneas nuevas. Ahora "
2157
+ "se convierte la cadena en una lista en la que cada línea no vacía tiene su "
2158
+ "propia entrada:"
2149
2159
2150
2160
#: ../Doc/library/re.rst:1510
2151
2161
msgid ""
2152
2162
"Finally, split each entry into a list with first name, last name, telephone "
2153
2163
"number, and address. We use the ``maxsplit`` parameter of :func:`split` "
2154
2164
"because the address has spaces, our splitting pattern, in it:"
2155
2165
msgstr ""
2166
+ "Finalmente, se divide cada entrada en una lista con nombre, apellido, número "
2167
+ "de teléfono y dirección. Se utiliza el parámetro ``maxsplit`` (división "
2168
+ "máxima) de :func:`split` porque la dirección tiene espacios dentro del "
2169
+ "patrón de división:"
2156
2170
2157
2171
#: ../Doc/library/re.rst:1523
2158
2172
msgid ""
2159
2173
"The ``:?`` pattern matches the colon after the last name, so that it does "
2160
2174
"not occur in the result list. With a ``maxsplit`` of ``4``, we could "
2161
2175
"separate the house number from the street name:"
2162
2176
msgstr ""
2177
+ "El patrón ``:?`` coincide con los dos puntos después del apellido, de manera "
2178
+ "que no aparezca en la lista de resultados. Con ``maxsplit`` de ``4``, se "
2179
+ "podría separar el número de casa del nombre de la calle:"
2163
2180
2164
2181
#: ../Doc/library/re.rst:1538
2165
2182
msgid "Text Munging"
0 commit comments