Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b5f6fc

Browse files
Jighdancmaureir
andauthored
Apply suggestions from code review
Co-authored-by: Cristián Maureira-Fredes <[email protected]>
1 parent ab747d0 commit 4b5f6fc

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

reference/import.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ msgid ""
582582
"qualified name of the module being imported, for example ``foo.bar.baz``. "
583583
"The second argument is the path entries to use for the module search. For "
584584
"top-level modules, the second argument is ``None``, but for submodules or "
585-
"subpackages, the second argument is the value of the parent package`s "
585+
"subpackages, the second argument is the value of the parent package's "
586586
"``__path__`` attribute. If the appropriate ``__path__`` attribute cannot be "
587587
"accessed, a :exc:`ModuleNotFoundError` is raised. The third argument is an "
588588
"existing module object that will be the target of loading later. The import "
@@ -633,7 +633,7 @@ msgstr ""
633633

634634
#: ../Doc/reference/import.rst:318
635635
msgid ""
636-
"Python`s default :data:`sys.meta_path` has three meta path finders, one that "
636+
"Python's default :data:`sys.meta_path` has three meta path finders, one that "
637637
"knows how to import built-in modules, one that knows how to import frozen "
638638
"modules, and one that knows how to import modules from an :term:`import "
639639
"path` (i.e. the :term:`path based finder`)."
@@ -776,8 +776,8 @@ msgstr "Los cargadores deben cumplir los siguientes requisitos:"
776776
#: ../Doc/reference/import.rst:412
777777
msgid ""
778778
"If the module is a Python module (as opposed to a built-in module or a "
779-
"dynamically loaded extension), the loader should execute the module`s code "
780-
"in the module`s global name space (``module.__dict__``)."
779+
"dynamically loaded extension), the loader should execute the module's code "
780+
"in the module's global name space (``module.__dict__``)."
781781
msgstr ""
782782
"Si el módulo es un módulo Python (a diferencia de un módulo integrado o una "
783783
"extensión cargada dinámicamente), el cargador debe ejecutar el código del "
@@ -916,10 +916,10 @@ msgstr "Sub-modulos"
916916
msgid ""
917917
"When a submodule is loaded using any mechanism (e.g. ``importlib`` APIs, the "
918918
"``import`` or ``import-from`` statements, or built-in ``__import__()``) a "
919-
"binding is placed in the parent module`s namespace to the submodule object. "
919+
"binding is placed in the parent module's namespace to the submodule object. "
920920
"For example, if package ``spam`` has a submodule ``foo``, after importing "
921921
"``spam.foo``, ``spam`` will have an attribute ``foo`` which is bound to the "
922-
"submodule. Let`s say you have the following directory structure::"
922+
"submodule. Let's say you have the following directory structure::"
923923
msgstr ""
924924
"Cuando se carga un submódulo mediante cualquier mecanismo (por ejemplo, API "
925925
"``importlib``, las instrucciones ``import`` o ``import-from``, o "
@@ -943,10 +943,10 @@ msgstr ""
943943

944944
#: ../Doc/reference/import.rst:500
945945
msgid ""
946-
"Given Python`s familiar name binding rules this might seem surprising, but "
947-
"it`s actually a fundamental feature of the import system. The invariant "
948-
"holding is that if you have ``sys.modules[`spam`]`` and ``sys.modules[`spam."
949-
"foo`]`` (as you would after the above import), the latter must appear as the "
946+
"Given Python's familiar name binding rules this might seem surprising, but "
947+
"it's actually a fundamental feature of the import system. The invariant "
948+
"holding is that if you have ``sys.modules['spam']`` and ``sys.modules['spam."
949+
"foo']`` (as you would after the above import), the latter must appear as the "
950950
"``foo`` attribute of the former."
951951
msgstr ""
952952
"Dadas las reglas de enlace de nombres familiares de Python, esto puede "
@@ -964,7 +964,7 @@ msgstr "Especificaciones del módulo"
964964
msgid ""
965965
"The import machinery uses a variety of information about each module during "
966966
"import, especially before loading. Most of the information is common to all "
967-
"modules. The purpose of a module`s spec is to encapsulate this import-"
967+
"modules. The purpose of a module's spec is to encapsulate this import-"
968968
"related information on a per-module basis."
969969
msgstr ""
970970
"La maquinaria de importación utiliza una variedad de información sobre cada "
@@ -990,7 +990,7 @@ msgstr ""
990990

991991
#: ../Doc/reference/import.rst:520
992992
msgid ""
993-
"The module`s spec is exposed as the ``__spec__`` attribute on a module "
993+
"The module's spec is exposed as the ``__spec__`` attribute on a module "
994994
"object. See :class:`~importlib.machinery.ModuleSpec` for details on the "
995995
"contents of the module spec."
996996
msgstr ""
@@ -1005,7 +1005,7 @@ msgstr "Atributos de módulo relacionados con la importación"
10051005
#: ../Doc/reference/import.rst:531
10061006
msgid ""
10071007
"The import machinery fills in these attributes on each module object during "
1008-
"loading, based on the module`s spec, before the loader executes the module."
1008+
"loading, based on the module's spec, before the loader executes the module."
10091009
msgstr ""
10101010
"La máquina de importación rellena estos atributos en cada objeto de módulo "
10111011
"durante la carga, en función de las especificaciones del módulo, antes de "
@@ -1036,11 +1036,11 @@ msgstr ""
10361036

10371037
#: ../Doc/reference/import.rst:550
10381038
msgid ""
1039-
"The module`s ``__package__`` attribute must be set. Its value must be a "
1039+
"The module's ``__package__`` attribute must be set. Its value must be a "
10401040
"string, but it can be the same value as its ``__name__``. When the module "
10411041
"is a package, its ``__package__`` value should be set to its ``__name__``. "
10421042
"When the module is not a package, ``__package__`` should be set to the empty "
1043-
"string for top-level modules, or for submodules, to the parent package`s "
1043+
"string for top-level modules, or for submodules, to the parent package's "
10441044
"name. See :pep:`366` for further details."
10451045
msgstr ""
10461046
"Se debe establecer el atributo ``__package__`` del módulo. Su valor debe "
@@ -1174,7 +1174,7 @@ msgstr ""
11741174

11751175
#: ../Doc/reference/import.rst:620
11761176
msgid ""
1177-
"A package`s ``__path__`` attribute is used during imports of its "
1177+
"A package's ``__path__`` attribute is used during imports of its "
11781178
"subpackages. Within the import machinery, it functions much the same as :"
11791179
"data:`sys.path`, i.e. providing a list of locations to search for modules "
11801180
"during import. However, ``__path__`` is typically much more constrained "
@@ -1899,7 +1899,7 @@ msgstr "Consideraciones especiales para __main__"
18991899

19001900
#: ../Doc/reference/import.rst:967
19011901
msgid ""
1902-
"The :mod:`__main__` module is a special case relative to Python`s import "
1902+
"The :mod:`__main__` module is a special case relative to Python's import "
19031903
"system. As noted :ref:`elsewhere <programs>`, the ``__main__`` module is "
19041904
"directly initialized at interpreter startup, much like :mod:`sys` and :mod:"
19051905
"`builtins`. However, unlike those two, it doesn't strictly qualify as a "

0 commit comments

Comments
 (0)