8000 Making a Phonebook · python/python-docs-es@78af4c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78af4c9

Browse files
committed
Making a Phonebook
1 parent baa7fd9 commit 78af4c9

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

library/re.po

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"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"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2125,7 +2125,7 @@ msgstr ""
21252125

21262126
#: ../Doc/library/re.rst:1477
21272127
msgid "Making a Phonebook"
2128-
msgstr ""
2128+
msgstr "Haciendo una guía telefónica"
21292129

21302130
#: ../Doc/library/re.rst:1479
21312131
msgid ""
@@ -2134,32 +2134,49 @@ msgid ""
21342134
"that can be easily read and modified by Python as demonstrated in the "
21352135
"following example that creates a phonebook."
21362136
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."
21372142

21382143
#: ../Doc/library/re.rst:1484
21392144
msgid ""
21402145
"First, here is the input. Normally it may come from a file, here we are "
21412146
"using triple-quoted string syntax"
21422147
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"
21432150

21442151
#: ../Doc/library/re.rst:1497
21452152
msgid ""
21462153
"The entries are separated by one or more newlines. Now we convert the string "
21472154
"into a list with each nonempty line having its own entry:"
21482155
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:"
21492159

21502160
#: ../Doc/library/re.rst:1510
21512161
msgid ""
21522162
"Finally, split each entry into a list with first name, last name, telephone "
21532163
"number, and address. We use the ``maxsplit`` parameter of :func:`split` "
21542164
"because the address has spaces, our splitting pattern, in it:"
21552165
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:"
21562170

21572171
#: ../Doc/library/re.rst:1523
21582172
msgid ""
21592173
"The ``:?`` pattern matches the colon after the last name, so that it does "
21602174
"not occur in the result list. With a ``maxsplit`` of ``4``, we could "
21612175
"separate the house number from the street name:"
21622176
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:"
21632180

21642181
#: ../Doc/library/re.rst:1538
21652182
msgid "Text Munging"

0 commit comments

Comments
 (0)
0