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

Skip to content

Commit aa6f8d5

Browse files
[po] auto sync
1 parent 5687c58 commit aa6f8d5

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

library/ctypes.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,29 +1586,35 @@ msgid ""
15861586
"calling the :meth:`LoadLibrary` method, or by retrieving the library as "
15871587
"attribute of the loader instance."
15881588
msgstr ""
1589+
"共享库也可以通用使用一个预制对象来加载,这种对象是 :class:`LibraryLoader` 类的实例,具体做法或是通过调用 "
1590+
":meth:`LoadLibrary` 方法,或是通过将库作为加载实例的属性来提取。"
15891591

15901592
#: ../../library/ctypes.rst:1460
15911593
msgid ""
15921594
"Class which loads shared libraries. *dlltype* should be one of the "
15931595
":class:`CDLL`, :class:`PyDLL`, :class:`WinDLL`, or :class:`OleDLL` types."
15941596
msgstr ""
1597+
"加载共享库的类。 *dlltype* 应当为 :class:`CDLL`, :class:`PyDLL`, :class:`WinDLL` 或 "
1598+
":class:`OleDLL` 类型之一。"
15951599

15961600
#: ../../library/ctypes.rst:1463
15971601
msgid ""
15981602
":meth:`__getattr__` has special behavior: It allows loading a shared library"
15991603
" by accessing it as attribute of a library loader instance. The result is "
16001604
"cached, so repeated attribute accesses return the same library each time."
16011605
msgstr ""
1606+
":meth:`__getattr__` 具有特殊的行为:它允许通过将一个共享库作为库加载器实例的属性进行访问来加载它。 "
1607+
"加载结果将被缓存,因此重复的属性访问每次都会返回相同的库。"
16021608

16031609
#: ../../library/ctypes.rst:1469
16041610
msgid ""
16051611
"Load a shared library into the process and return it. This method always "
16061612
"returns a new instance of the library."
1607-
msgstr ""
1613+
msgstr "加载一个共享库到进程中并将其返回。 此方法总是返回一个新的库实例。"
16081614

16091615
#: ../../library/ctypes.rst:1473
16101616
msgid "These prefabricated library loaders are available:"
1611-
msgstr ""
1617+
msgstr "可用的预制库加载器有如下这些:"
16121618

16131619
#: ../../library/ctypes.rst:1478
16141620
msgid "Creates :class:`CDLL` instances."
@@ -1630,7 +1636,7 @@ msgstr "创建 :class:`PyDLL` 实例。"
16301636
msgid ""
16311637
"For accessing the C Python api directly, a ready-to-use Python shared "
16321638
"library object is available:"
1633-
msgstr ""
1639+
msgstr "要直接访问 C Python api,可以使用一个现成的 Python 共享库对象:"
16341640

16351641
#: ../../library/ctypes.rst:1505
16361642
msgid ""

0 commit comments

Comments
 (0)