8000 Checking for a pair · python/python-docs-es@6628439 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6628439

Browse files
committed
Checking for a pair
1 parent 6a5ef56 commit 6628439

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

library/re.po

Lines changed: 16 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 22:55+0200\n"
14+
"PO-Revision-Date: 2020-05-23 23:04+0200\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1924,13 +1924,15 @@ msgstr "Ejemplos de expresiones regulares"
19241924

19251925
#: ../Doc/library/re.rst:1342
19261926
msgid "Checking for a Pair"
1927-
msgstr ""
1927+
msgstr "Buscando un par"
19281928

19291929
#: ../Doc/library/re.rst:1344
19301930
msgid ""
19311931
"In this example, we'll use the following helper function to display match "
19321932
"objects a little more gracefully::"
19331933
msgstr ""
1934+
"En este ejemplo, se utilizará la siguiente función de ayuda para mostrar los "
1935+
"objetos de coincidencia con un poco más de gracia::"
19341936

19351937
#: ../Doc/library/re.rst:1352
19361938
msgid ""
@@ -1939,23 +1941,35 @@ msgid ""
19391941
"ace, \"k\" for king, \"q\" for queen, \"j\" for jack, \"t\" for 10, and "
19401942
"\"2\" through \"9\" representing the card with that value."
19411943
msgstr ""
1944+
"Supongamos que se está escribiendo un programa de póquer en el que la mano "
1945+
"de un jugador se representa como una cadena de 5 caracteres en la que cada "
1946+
"carácter representa una carta, \"a\" para el as, \"k\" para el rey, \"q\" "
1947+
"para la reina, \"j\" para la jota, \"t\" para el 10, y del \" 2\" al \"9\" "
1948+
"representando la carta con ese valor."
19421949

19431950
#: ../Doc/library/re.rst:1357
19441951
msgid "To see if a given string is a valid hand, one could do the following::"
19451952
msgstr ""
1953+
"Para ver si una cadena dada es una mano válida, se podría hacer lo "
1954+
"siguiente::"
19461955

19471956
#: ../Doc/library/re.rst:1367
19481957
msgid ""
19491958
"That last hand, ``\"727ak\"``, contained a pair, or two of the same valued "
19501959
"cards. To match this with a regular expression, one could use backreferences "
19511960
"as such::"
19521961
msgstr ""
1962+
"Esa última mano, ``\"727ak\"``, contenía un par, o dos de las mismas cartas "
1963+
"de valor. Para igualar esto con una expresión regular, se podrían usar "
1964+
"referencias inversas como tales::"
19531965

19541966
#: ../Doc/library/re.rst:1377
19551967
msgid ""
19561968
"To find out what card the pair consists of, one could use the :meth:`~Match."
19571969
"group` method of the match object in the following manner::"
19581970
msgstr ""
1971+
"Para averiguar en qué carta consiste el par, se podría utilizar el método :"
1972+
"meth:`~Match.group` del objeto de coincidencia de la siguiente manera::"
19591973

19601974
#: ../Doc/library/re.rst:1396
19611975
msgid "Simulating scanf()"

0 commit comments

Comments
 (0)
0