You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
"The special global variables ``__name__``, ``__spec__``, ``__file__``, "
"``__cached__``, ``__loader__`` and ``__package__`` are set in the globals "
Expand All
@@ -139,15 +135,14 @@ msgstr ""
"paquete y al argumento *mod_name* en caso contrario."
#: ../Doc/library/runpy.rst:62
#, fuzzy
msgid ""
"``__spec__`` will be set appropriately for the *actually* imported module "
"(that is, ``__spec__.name`` will always be *mod_name* or ``mod_name + '."
"__main__'``, never *run_name*)."
msgstr ""
"``__spec__`` se configura apropiadamente para elmodulo *realmente* "
"``__spec__`` se configura apropiadamente para elmódulo *realmente* "
"importado (es decir, ``__spec__.name`` siempre será un *mod_name* o "
"``mod_name +‘.__main__``, nunca *run_name*)."
"``mod_name +'.__main__'``, nunca *run_name*)."
#: ../Doc/library/runpy.rst:66
msgid ""
Expand DownExpand Up
@@ -227,7 +222,6 @@ msgstr ""
"alternativas."
#: ../Doc/library/runpy.rst:106
#, fuzzy
msgid ""
"Execute the code at the named filesystem location and return the resulting "
"module's globals dictionary. As with a script name supplied to the CPython "
Expand All
@@ -237,11 +231,11 @@ msgid ""
msgstr ""
"Ejecuta el código en la ubicación del sistema de ficheros indicada y "
"devuelve el diccionario global del módulo resultante. Al igual que con un "
"nombre de script suministrado a la línea de comandos de CPython,la ruta "
"suministradapuede referirse a un archivo fuente de Python, un archivo de "
"código de bytescompilado o una entrada :data:`sys.path` válida que contenga "
"un módulo :mod:`__main__` (por ejemplo, un archivo zip que contenga un "
"archivo de nivelsuperior``__main__.py``)."
"nombre de script suministrado a la línea de comandos de CPython,*file_path* "
"puede referirse a un archivo fuente de Python, un archivo de código de bytes "
"compilado o una entrada :data:`sys.path` válida que contengaun módulo :mod:"
"`__main__` (por ejemplo, un archivo zip que contenga un archivo de nivel "
"superior:file:`__main__.py`)."
#: ../Doc/library/runpy.rst:113
msgid ""
Expand All
@@ -263,7 +257,6 @@ msgstr ""
"tal módulo en la ubicación especificada."
#: ../Doc/library/runpy.rst:121
#, fuzzy
msgid ""
"The optional dictionary argument *init_globals* may be used to pre-populate "
"the module's globals dictionary before the code is executed. *init_globals* "
Expand All
@@ -273,9 +266,9 @@ msgid ""
msgstr ""
"El argumento de diccionario opcional *init_globals* se puede utilizar para "
"rellenar previamente el diccionario global del módulo antes de ejecutar el "
"código.El diccionario suministradono se modificará. Si alguna de las "
"variables globalesespeciales siguientes se define enel diccionario "
"proporcionado, esas definiciones sereemplazan por :func:`run_path`."
"código.*init_globals*no se modificará. Si alguna de las variables globales "
"especiales siguientes se define en*init_globals*, esas definiciones se "
"reemplazan por :func:`run_path`."
#: ../Doc/library/runpy.rst:133
msgid ""
Expand All
@@ -286,36 +279,33 @@ msgstr ""
"const:`None` y a ``'<run_path>'`` de lo contrario."
#: ../Doc/library/runpy.rst:136
#, fuzzy
msgid ""
"If *file_path* directly references a script file (whether as source or as "
"precompiled byte code), then ``__file__`` will be set to *file_path*, and "
"``__spec__``, ``__cached__``, ``__loader__`` and ``__package__`` will all be "
"set to :const:`None`."
msgstr ""
"Sila ruta proporcionadahace referencia a un archivo script (ya sea como "
"Si*file_path*hace referencia directamente a un archivo script (ya sea como "
"fuente o un código de bytes precompilado), entonces ``__file__`` se "
"establecerá enla ruta proporcionada, y ``__spec__``, ``__cached__``, "
"``__loader__`` y ``__package__`` se establecerán todos en :const:`None`."
"establecerá en*file_path*, y ``__spec__``, ``__cached__``, ``__loader__`` y "
"``__package__`` se establecerán todos en :const:`None`."
#: ../Doc/library/runpy.rst:141
#, fuzzy
msgid ""
"If *file_path* is a reference to a valid :data:`sys.path` entry, then "
"``__spec__`` will be set appropriately for the imported :mod:`__main__` "
"module (that is, ``__spec__.name`` will always be ``__main__``). "
"``__file__``, ``__cached__``, ``__loader__`` and ``__package__`` will be :"
"ref:`set as normal <import-mod-attrs>` based on the module spec."
msgstr ""
"Sila ruta proporcionadaes una referencia a una entrada válida de :data:"
"`sys.path`,entonces ``__spec__`` se establecerá apropiadamente para el "
"móduloimportado :mod:`__main__` (es decir, ``__spec__.name`` siempre será "
"``__main__``).``__file__``, ``__cached__``, ``__loader__`` y "
"``__package__`` serán :ref:`establecidos de formanormal <import-mod-attrs>` "
"basándose enla especificación del módulo."
"Si*file_path*es una referencia a una entrada válida de :data:`sys.path`,"
"entonces ``__spec__`` se establecerá apropiadamente para el módulo "
"importado :mod:`__main__` (es decir, ``__spec__.name`` siempre será "
"``__main__``). ``__file__``, ``__cached__``, ``__loader__`` y "
"``__package__`` serán :ref:`set asnormal <import-mod-attrs>` basándose en "
"la especificación del módulo."
#: ../Doc/library/runpy.rst:147
#, fuzzy
msgid ""
"A number of alterations are also made to the :mod:`sys` module. Firstly, :"
"data:`sys.path` may be altered as described above. ``sys.argv[0]`` is "
Expand All
@@ -326,8 +316,8 @@ msgid ""
msgstr ""
"También se realizan una serie de modificaciones en el módulo :mod:`sys`. En "
"primer lugar, :data:`sys.path` puede alterarse como se ha descrito "
"anteriormente. Se actualiza ``sys.argv[0]`` con el valor de``path_name``` y "
"seactualiza ``sys.modules[__name__]`` con un objeto módulo temporal para el "
"anteriormente. Se actualiza ``sys.argv[0]`` con el valor de*file_path* y se "
"actualiza ``sys.modules[__name__]`` con un objeto módulo temporal para el "
"módulo que se está ejecutando. Todas las modificaciones a los elementos en :"
"mod:`sys` son revertidas antes de que la función retorne."
Expand Down
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.