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

Skip to content

Commit 52a1314

Browse files
committed
[po] auto sync bot
1 parent e5f25ee commit 52a1314

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

library/importlib.po

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -939,59 +939,63 @@ msgstr ""
939939
msgid ""
940940
"With the subsequent code object one can execute it in a module by running "
941941
"``exec(code, module.__dict__)``."
942-
msgstr ""
942+
msgstr "在有后续代码对象的情况下,可以在一个模块中通过运行``exec(code, module.__dict__)``来执行它。"
943943

944944
#: ../../library/importlib.rst:630
945945
msgid "Made the method static."
946-
msgstr ""
946+
msgstr "使得这个方法变成静态的。"
947947

948948
#: ../../library/importlib.rst:635
949949
msgid "Implementation of :meth:`Loader.exec_module`."
950-
msgstr ""
950+
msgstr ":meth:`Loader.exec_module`的实现。"
951951

952952
#: ../../library/importlib.rst:641
953953
msgid "Implementation of :meth:`Loader.load_module`."
954-
msgstr ""
954+
msgstr ":meth:`Loader.load_module`的实现。"
955955

956956
#: ../../library/importlib.rst:643
957957
msgid "use :meth:`exec_module` instead."
958-
msgstr ""
958+
msgstr "使用:meth:`exec_module`来代替。"
959959

960960
#: ../../library/importlib.rst:649
961961
msgid ""
962962
"An abstract base class which inherits from :class:`InspectLoader` that, when"
963963
" implemented, helps a module to be executed as a script. The ABC represents "
964964
"an optional :pep:`302` protocol."
965965
msgstr ""
966+
"一个继承:class:`InspectLoader`,当被实现时,帮助一个模块当作一个脚本来执行的抽象基类。这个抽象基类表示可选的:pep:`302`协议。"
966967

967968
#: ../../library/importlib.rst:655
968969
msgid ""
969970
"An abstract method that is to return the value of :attr:`__file__` for the "
970971
"specified module. If no path is available, :exc:`ImportError` is raised."
971-
msgstr ""
972+
msgstr "一个用来为指定模块返回:attr:`__file__`的值的抽象方法。如果无路径可用,则引发:exc:`ImportError`异常。"
972973

973974
#: ../../library/importlib.rst:659
974975
msgid ""
975976
"If source code is available, then the method should return the path to the "
976977
"source file, regardless of whether a bytecode was used to load the module."
977-
msgstr ""
978+
msgstr "如果源代码可用,那么这个方法返回源文件的路径,不管是否是用来加载模块的字节码。"
978979

979980
#: ../../library/importlib.rst:669
980981
msgid ""
981982
"An abstract base class which inherits from :class:`ResourceLoader` and "
982983
":class:`ExecutionLoader`, providing concrete implementations of "
983984
":meth:`ResourceLoader.get_data` and :meth:`ExecutionLoader.get_filename`."
984985
msgstr ""
986+
"一个继承自 :class:`ResourceLoader` 和 :class:`ExecutionLoader`,提供 "
987+
":meth:`ResourceLoader.get_data` 和 "
988+
":meth:`ExecutionLoader.get_filename`具体实现的抽象基类。"
985989

986990
#: ../../library/importlib.rst:673
987991
msgid ""
988992
"The *fullname* argument is a fully resolved name of the module the loader is"
989993
" to handle. The *path* argument is the path to the file for the module."
990-
msgstr ""
994+
msgstr "参数*fullname*是加载器要处理的模块的完全解析的名字。参数*path*是模块文件的路径。"
991995

992996
#: ../../library/importlib.rst:680
993997
msgid "The name of the module the loader can handle."
994-
msgstr ""
998+
msgstr "加载器可以处理的模块的名字。"
995999

9961000
#: ../../library/importlib.rst:684
9971001
msgid "Path to the file of the module."

0 commit comments

Comments
 (0)