@@ -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-25 00:04 -0300\n "
14
+ "PO-Revision-Date : 2020-10-25 00:42 -0300\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 "
@@ -734,7 +734,10 @@ msgstr ""
734
734
"Algunos de ellos han sido reemplazados por comandos más nuevos en :rfc:"
735
735
"`3977`."
736
736
737
+ # “If *file* is a :term:`file object`, then it will start calling :meth:`write` on it to store the lines of the command output.”
738
+ # ¿Puede ser “entonces él comenzará a llamarse”?
737
739
#: ../Doc/library/nntplib.rst:515
740
+ #, fuzzy
738
741
msgid ""
739
742
"Send an ``XHDR`` command. The *hdr* argument is a header keyword, e.g. "
740
743
"``'subject'``. The *str* argument should have the form ``'first-last'`` "
@@ -748,6 +751,19 @@ msgid ""
748
751
"calling :meth:`write` on it to store the lines of the command output. If "
749
752
"*file* is supplied, then the returned *list* is an empty list."
750
753
msgstr ""
754
+ "Envíe un comando ``XHDR``. El argumento *hdr* es una palabra clave de "
755
+ "encabezado, por ejemplo ``'subject'``. El argumento *str* debe tener la "
756
+ "forma ``'first-last'`` donde *first* y *last* son el primer y último número "
757
+ "de artículo para buscar. Devuelve un par ``(response, list)``, donde *list* "
758
+ "es una lista de pares ``(id, text)``, donde *id* es un número de artículo "
759
+ "(como una cadena) y *text* es el texto del encabezado solicitado para ese "
760
+ "artículo. Si se proporciona el parámetro *file*, entonces la salida del "
761
+ "comando ``XHDR`` se almacena en un archivo. Si *file* es una cadena, "
762
+ "entonces el método abrirá un archivo con ese nombre, que escribirá en él y "
763
+ "luego lo cerrará. Si *file* es un :term:`file object`, entonces comenzará a "
764
+ "llamarse :meth:`write` en él para almacenar las líneas de la salida del "
765
+ "comando. Si se proporciona *file*, entonces devuelve *list* o una lista "
766
+ "vacía."
751
767
752
768
#: ../Doc/library/nntplib.rst:530
753
769
msgid ""
@@ -758,7 +774,7 @@ msgid ""
758
774
msgstr ""
759
775
"Envíe un comando ``XOVER``. *start* and *end* son números de artículo que "
760
776
"delimitan a la gama de artículos a seleccionar. El valor de retorno es el "
761
- "mismo que para :meth: `over()`. Se recomienda usar :meth:`over()` en su "
777
+ "mismo que para :meth:`over()`. Se recomienda usar :meth:`over()` en su "
762
778
"lugar, ya que se usará automáticamente el comando más nuevo ``OVER`` si está "
763
779
"disponible."
764
780
0 commit comments