1111# Zombie110year <[email protected] >, 20201212# Madlee <[email protected] >, 20201313# ppcfish <[email protected] >, 202014- # zeroswan <[email protected] >, 20201514# Freesand Leo <[email protected] >, 202015+ # zeroswan <[email protected] >, 20201616#
1717#, fuzzy
1818msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121"Report-Msgid-Bugs-To : \n "
2222"POT-Creation-Date : 2020-02-09 12:40+0000\n "
2323"PO-Revision-Date : 2020-05-30 11:59+0000\n "
24- "Last-Translator : Freesand Leo <yuqinju @163.com>, 2020\n "
24+ "Last-Translator : zeroswan <weditor @163.com>, 2020\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2626"MIME-Version : 1.0\n "
2727"Content-Type : text/plain; charset=UTF-8\n "
@@ -1108,10 +1108,13 @@ msgid ""
11081108"with :class:`threading.local` will *not* survive across different callbacks,"
11091109" even when those calls are made from the same C thread."
11101110msgstr ""
1111+ "注意,如果回调函数在Python之外的另外一个线程使用(比如,外部代码调用这个回调函数), ctypes 会在每一次调用上创建一个虚拟 Python "
1112+ "线程。这个行为在大多数情况下是合理的,但也意味着如果有数据使用 :class:`threading.local` "
1113+ "方式存储,将无法访问,就算它们是在同一个 C 线程中调用的 。"
11111114
11121115#: ../../library/ctypes.rst:1053
11131116msgid "Accessing values exported from dlls"
1114- msgstr ""
1117+ msgstr "访问 dll 中导出的值 "
11151118
11161119#: ../../library/ctypes.rst:1055
11171120msgid ""
0 commit comments