Skip to content

Commit 7fbcc1d

Browse files
committed
included format and frozenset
1 parent bfca466 commit 7fbcc1d

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

library/functions.po

+22-1
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-07 14:37+0200\n"
14-
"PO-Revision-Date: 2020-05-15 01:17+0200\n"
14+
"PO-Revision-Date: 2020-05-15 18:57+0200\n"
1515
"Last-Translator: \n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-esMIME-Version: 1.0\n"
@@ -1167,14 +1167,21 @@ msgid ""
11671167
"of the *value* argument, however there is a standard formatting syntax that "
11681168
"is used by most built-in types: :ref:`formatspec`."
11691169
msgstr ""
1170+
"Convierte *value* a su representación “con formato”, de forma controlada por "
1171+
"*format_spec*. La interpretación de *format_spec* dependerá del tipo del "
1172+
"argumento *value*. Sin embargo, hay una sintaxis estándar de formato que "
1173+
"emplean la mayoría de los tipos built-in: :ref:`formatspec`."
11701174

11711175
#: ../Doc/library/functions.rst:643
11721176
msgid ""
11731177
"The default *format_spec* is an empty string which usually gives the same "
11741178
"effect as calling :func:`str(value) <str>`."
11751179
msgstr ""
1180+
"El *format_spec* por defecto es una cadena vacía que normalmente produce el "
1181+
"mismo efecto que llamar a :func:`str(value) <str>`."
11761182

11771183
#: ../Doc/library/functions.rst:646
1184+
#, fuzzy
11781185
msgid ""
11791186
"A call to ``format(value, format_spec)`` is translated to ``type(value)."
11801187
"__format__(value, format_spec)`` which bypasses the instance dictionary when "
@@ -1183,25 +1190,39 @@ msgid ""
11831190
"*format_spec* is non-empty, or if either the *format_spec* or the return "
11841191
"value are not strings."
11851192
msgstr ""
1193+
"Una llamada a ``format(value, format_spec)`` se traduce a ``type(value)."
1194+
"__format__(value, format_spec)`` , que sortea el diccionario de la instancia "
1195+
"cuando busca por el método :meth:`__format__` del valor. Una excepción :exc:"
1196+
"`TypeError` será lanzada si la búsqueda del método llega a :mod:`object` y "
1197+
"*format_spec* no está vacío, o si *format_spec* o el valor de retorno no son "
1198+
"cadenas."
11861199

11871200
#: ../Doc/library/functions.rst:653
11881201
msgid ""
11891202
"``object().__format__(format_spec)`` raises :exc:`TypeError` if "
11901203
"*format_spec* is not an empty string."
11911204
msgstr ""
1205+
"``object().__format__(format_spec)`` lanza :exc:`TypeError` si *format_spec* "
1206+
"no es una cadena vacía."
11921207

11931208
#: ../Doc/library/functions.rst:662
11941209
msgid ""
11951210
"Return a new :class:`frozenset` object, optionally with elements taken from "
11961211
"*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :"
11971212
"ref:`types-set` for documentation about this class."
11981213
msgstr ""
1214+
"Devuelve un nuevo objeto :class:`frozenset` , opcionalmente con elementos "
1215+
"tomados de *iterable*. ``frozenset`` es una clase built-in. Ver :class:"
1216+
"`frozenset` y :ref:`types-set` para documentación sobre esta clase."
11991217

12001218
#: ../Doc/library/functions.rst:666
12011219
msgid ""
12021220
"For other containers see the built-in :class:`set`, :class:`list`, :class:"
12031221
"`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module."
12041222
msgstr ""
1223+
"Para otro tipo de contenedores, ver las clases built-in :class:`set`, :"
1224+
"class:`list`, :class:`tuple`, y :class:`dict`, así como el módulo :mod:"
1225+
"`collections`."
12051226

12061227
#: ../Doc/library/functions.rst:673
12071228
msgid ""

0 commit comments

Comments
 (0)