77msgstr ""
88"Project-Id-Version :Python 3.10\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2021-10-26 16:47 +0000\n "
10+ "POT-Creation-Date :2022-01-27 07:52 +0000\n "
1111"PO-Revision-Date :2018-05-23 14:35+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -305,11 +305,11 @@ msgstr ""
305305msgid "For Debian, run ``apt-get install python-dev``."
306306msgstr ""
307307
308- #: ../../faq/extending.rst:259
308+ #: ../../faq/extending.rst:258
309309msgid "How do I tell\" incomplete input\" from\" invalid input\" ?"
310310msgstr ""
311311
312- #: ../../faq/extending.rst:261
312+ #: ../../faq/extending.rst:260
313313msgid ""
314314"Sometimes you want to emulate the Python interactive interpreter's behavior, "
315315"where it gives you a continuation prompt when the input is incomplete (e.g. "
@@ -318,13 +318,13 @@ msgid ""
318318"message immediately when the input is invalid."
319319msgstr ""
320320
321- #: ../../faq/extending.rst:267
321+ #: ../../faq/extending.rst:266
322322msgid ""
323323"In Python you can use the :mod:`codeop` module, which approximates the "
324324"parser's behavior sufficiently. IDLE uses this, for example."
325325msgstr ""
326326
327- #: ../../faq/extending.rst:270
327+ #: ../../faq/extending.rst:269
328328msgid ""
329329"The easiest way to do it in C is to call :c:func:`PyRun_InteractiveLoop` "
330330"(perhaps in a separate thread) and let the Python interpreter handle the "
@@ -334,44 +334,29 @@ msgid ""
334334msgstr ""
335335
336336#: ../../faq/extending.rst:276
337- msgid ""
338- "However sometimes you have to run the embedded Python interpreter in the "
339- "same thread as your rest application and you can't allow the :c:func:"
340- "`PyRun_InteractiveLoop` to stop while waiting for user input. A solution is "
341- "trying to compile the received string with :c:func:`Py_CompileString`. If it "
342- "compiles without errors, try to execute the returned code object by calling :"
343- "c:func:`PyEval_EvalCode`. Otherwise save the input for later. If the "
344- "compilation fails, find out if it's an error or just more input is required "
345- "- by extracting the message string from the exception tuple and comparing it "
346- "to the string\" unexpected EOF while parsing\" . Here is a complete example "
347- "using the GNU readline library (you may want to ignore **SIGINT** while "
348- "calling readline())::"
349- msgstr ""
350-
351- #: ../../faq/extending.rst:401
352337msgid "How do I find undefined g++ symbols __builtin_new or __pure_virtual?"
353338msgstr ""
354339
355- #: ../../faq/extending.rst:403
340+ #: ../../faq/extending.rst:278
356341msgid ""
357342"To dynamically load g++ extension modules, you must recompile Python, relink "
358343"it using g++ (change LINKCC in the Python Modules Makefile), and link your "
359344"extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``)."
360345msgstr ""
361346
362- #: ../../faq/extending.rst:409
347+ #: ../../faq/extending.rst:284
363348msgid ""
364349"Can I create an object class with some methods implemented in C and others "
365350"in Python (e.g. through inheritance)?"
366351msgstr ""
367352
368- #: ../../faq/extending.rst:411
353+ #: ../../faq/extending.rst:286
369354msgid ""
370355"Yes, you can inherit from built-in classes such as :class:`int`, :class:"
371356"`list`, :class:`dict`, etc."
372357msgstr ""
373358
374- #: ../../faq/extending.rst:414
359+ #: ../../faq/extending.rst:289
375360msgid ""
376361"The Boost Python Library (BPL, http://www.boost.org/libs/python/doc/index."
377362"html) provides a way of doing this from C++ (i.e. you can inherit from an "