@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.9\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2021-01-27 05:16 +0000\n "
16+ "POT-Creation-Date : 2021-02-22 05:31 +0000\n "
1717"PO-Revision-Date : 2017-02-16 23:14+0000\n "
1818"
Last-Translator :
ppcfish <[email protected] >, 2019\n "
1919"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1291,14 +1291,6 @@ msgstr ""
12911291
12921292#: ../../library/idle.rst:729
12931293msgid ""
1294- "When Shell has the focus, it controls the keyboard and screen. This is "
1295- "normally transparent, but functions that directly access the keyboard and "
1296- "screen will not work. These include system-specific functions that "
1297- "determine whether a key has been pressed and if so, which."
1298- msgstr ""
1299-
1300- #: ../../library/idle.rst:734
1301- msgid ""
13021294"IDLE's standard stream replacements are not inherited by subprocesses "
13031295"created in the execution process, whether directly by user code or by "
13041296"modules such as multiprocessing. If such subprocess use ``input`` from "
@@ -1307,32 +1299,40 @@ msgid ""
13071299" attached to that window for input and output."
13081300msgstr ""
13091301
1310- #: ../../library/idle.rst:741
1302+ #: ../../library/idle.rst:736
13111303msgid ""
1312- "The IDLE code running in the execution process adds frames to the call stack"
1313- " that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` "
1314- "and ``sys.setrecursionlimit`` to reduce the effect of the additional stack "
1315- "frames."
1304+ "If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, "
1305+ "IDLE's changes are lost and input from the keyboard and output to the screen"
1306+ " will not work correctly."
1307+ msgstr ""
1308+
1309+ #: ../../library/idle.rst:740
1310+ msgid ""
1311+ "When Shell has the focus, it controls the keyboard and screen. This is "
1312+ "normally transparent, but functions that directly access the keyboard and "
1313+ "screen will not work. These include system-specific functions that "
1314+ "determine whether a key has been pressed and if so, which."
13161315msgstr ""
13171316
13181317#: ../../library/idle.rst:745
13191318msgid ""
1320- "If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, "
1321- "IDLE's changes are lost and input from the keyboard and output to the screen"
1322- " will not work correctly."
1319+ "The IDLE code running in the execution process adds frames to the call stack"
1320+ " that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` "
1321+ "and ``sys.setrecursionlimit`` to reduce the effect of the additional stack "
1322+ "frames."
13231323msgstr ""
13241324
1325- #: ../../library/idle.rst:749
1325+ #: ../../library/idle.rst:750
13261326msgid ""
13271327"When user code raises SystemExit either directly or by calling sys.exit, "
13281328"IDLE returns to a Shell prompt instead of exiting."
13291329msgstr ""
13301330
1331- #: ../../library/idle.rst:753
1331+ #: ../../library/idle.rst:754
13321332msgid "User output in Shell"
13331333msgstr "Shell中的用户输出"
13341334
1335- #: ../../library/idle.rst:755
1335+ #: ../../library/idle.rst:756
13361336msgid ""
13371337"When a program outputs text, the result is determined by the corresponding "
13381338"output device. When IDLE executes user code, ``sys.stdout`` and "
@@ -1342,7 +1342,7 @@ msgid ""
13421342"rather than production runs."
13431343msgstr ""
13441344
1345- #: ../../library/idle.rst:762
1345+ #: ../../library/idle.rst:763
13461346msgid ""
13471347"For instance, Shell never throws away output. A program that sends "
13481348"unlimited output to Shell will eventually fill memory, resulting in a memory"
@@ -1351,7 +1351,7 @@ msgid ""
13511351"lines, with 300 the default."
13521352msgstr ""
13531353
1354- #: ../../library/idle.rst:768
1354+ #: ../../library/idle.rst:769
13551355msgid ""
13561356"A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) "
13571357"in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters "
@@ -1365,7 +1365,7 @@ msgid ""
13651365"spacing behavior.) ::"
13661366msgstr ""
13671367
1368- #: ../../library/idle.rst:786
1368+ #: ../../library/idle.rst:787
13691369msgid ""
13701370"The ``repr`` function is used for interactive echo of expression values. It"
13711371" returns an altered version of the input string in which control codes, some"
@@ -1374,13 +1374,13 @@ msgid ""
13741374" regardless of how they are displayed."
13751375msgstr ""
13761376
1377- #: ../../library/idle.rst:792
1377+ #: ../../library/idle.rst:793
13781378msgid ""
13791379"Normal and error output are generally kept separate (on separate lines) from"
13801380" code input and each other. They each get different highlight colors."
13811381msgstr ""
13821382
1383- #: ../../library/idle.rst:795
1383+ #: ../../library/idle.rst:796
13841384msgid ""
13851385"For SyntaxError tracebacks, the normal '^' marking where the error was "
13861386"detected is replaced by coloring the text with an error highlight. When code"
@@ -1389,7 +1389,7 @@ msgid ""
13891389"opened if necessary."
13901390msgstr ""
13911391
1392- #: ../../library/idle.rst:801
1392+ #: ../../library/idle.rst:802
13931393msgid ""
13941394"Shell has a special facility for squeezing output lines down to a 'Squeezed "
13951395"text' label. This is done automatically for output over N lines (N = 50 by "
@@ -1399,18 +1399,18 @@ msgid ""
13991399"scrolling."
14001400msgstr ""
14011401
1402- #: ../../library/idle.rst:809
1402+ #: ../../library/idle.rst:810
14031403msgid ""
14041404"Squeezed output is expanded in place by double-clicking the label. It can "
14051405"also be sent to the clipboard or a separate view window by right-clicking "
14061406"the label."
14071407msgstr ""
14081408
1409- #: ../../library/idle.rst:814
1409+ #: ../../library/idle.rst:815
14101410msgid "Developing tkinter applications"
14111411msgstr "开发 tkinter 应用程序"
14121412
1413- #: ../../library/idle.rst:816
1413+ #: ../../library/idle.rst:817
14141414msgid ""
14151415"IDLE is intentionally different from standard Python in order to facilitate "
14161416"development of tkinter programs. Enter ``import tkinter as tk; root = "
@@ -1422,7 +1422,7 @@ msgid ""
14221422" visibly changes in standard Python until one enters ``root.update()``."
14231423msgstr ""
14241424
1425- #: ../../library/idle.rst:825
1425+ #: ../../library/idle.rst:826
14261426msgid ""
14271427"Most tkinter programs run ``root.mainloop()``, which usually does not return"
14281428" until the tk app is destroyed. If the program is run with ``python -i`` or"
@@ -1431,27 +1431,27 @@ msgid ""
14311431"with."
14321432msgstr ""
14331433
1434- #: ../../library/idle.rst:831
1434+ #: ../../library/idle.rst:832
14351435msgid ""
14361436"When running a tkinter program from an IDLE editor, one can comment out the "
14371437"mainloop call. One then gets a shell prompt immediately and can interact "
14381438"with the live application. One just has to remember to re-enable the "
14391439"mainloop call when running in standard Python."
14401440msgstr ""
14411441
1442- #: ../../library/idle.rst:837
1442+ #: ../../library/idle.rst:838
14431443msgid "Running without a subprocess"
14441444msgstr "在没有子进程的情况下运行"
14451445
1446- #: ../../library/idle.rst:839
1446+ #: ../../library/idle.rst:840
14471447msgid ""
14481448"By default, IDLE executes user code in a separate subprocess via a socket, "
14491449"which uses the internal loopback interface. This connection is not "
14501450"externally visible and no data is sent to or received from the Internet. If "
14511451"firewall software complains anyway, you can ignore it."
14521452msgstr ""
14531453
1454- #: ../../library/idle.rst:844
1454+ #: ../../library/idle.rst:845
14551455msgid ""
14561456"If the attempt to make the socket connection fails, Idle will notify you. "
14571457"Such failures are sometimes transient, but if persistent, the problem may be"
@@ -1460,7 +1460,7 @@ msgid ""
14601460" command line switch."
14611461msgstr ""
14621462
1463- #: ../../library/idle.rst:850
1463+ #: ../../library/idle.rst:851
14641464msgid ""
14651465"If IDLE is started with the -n command line switch it will run in a single "
14661466"process and will not create the subprocess which runs the RPC Python "
@@ -1474,15 +1474,15 @@ msgid ""
14741474"at all possible."
14751475msgstr ""
14761476
1477- #: ../../library/idle.rst:865
1477+ #: ../../library/idle.rst:866
14781478msgid "Help and preferences"
14791479msgstr "帮助和偏好"
14801480
1481- #: ../../library/idle.rst:870
1481+ #: ../../library/idle.rst:871
14821482msgid "Help sources"
14831483msgstr "帮助源"
14841484
1485- #: ../../library/idle.rst:872
1485+ #: ../../library/idle.rst:873
14861486msgid ""
14871487"Help menu entry \" IDLE Help\" displays a formatted html version of the IDLE "
14881488"chapter of the Library Reference. The result, in a read-only tkinter text "
@@ -1492,7 +1492,7 @@ msgid ""
14921492"the opened box."
14931493msgstr ""
14941494
1495- #: ../../library/idle.rst:880
1495+ #: ../../library/idle.rst:881
14961496msgid ""
14971497"Help menu entry \" Python Docs\" opens the extensive sources of help, "
14981498"including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is "
@@ -1501,17 +1501,17 @@ msgid ""
15011501"instead."
15021502msgstr ""
15031503
1504- #: ../../library/idle.rst:886
1504+ #: ../../library/idle.rst:887
15051505msgid ""
15061506"Selected URLs can be added or removed from the help menu at any time using "
15071507"the General tab of the Configure IDLE dialog."
15081508msgstr ""
15091509
1510- #: ../../library/idle.rst:892
1510+ #: ../../library/idle.rst:893
15111511msgid "Setting preferences"
15121512msgstr "首选项设置"
15131513
1514- #: ../../library/idle.rst:894
1514+ #: ../../library/idle.rst:895
15151515msgid ""
15161516"The font preferences, highlighting, keys, and general preferences can be "
15171517"changed via Configure IDLE on the Option menu. Non-default user settings are"
@@ -1520,7 +1520,7 @@ msgid ""
15201520" or more of the files in ``.idlerc``."
15211521msgstr ""
15221522
1523- #: ../../library/idle.rst:900
1523+ #: ../../library/idle.rst:901
15241524msgid ""
15251525"On the Font tab, see the text sample for the effect of font face and size on"
15261526" multiple characters in multiple languages. Edit the sample to add other "
@@ -1529,30 +1529,30 @@ msgid ""
15291529"the top of the sample and try changing first size and then font."
15301530msgstr ""
15311531
1532- #: ../../library/idle.rst:907
1532+ #: ../../library/idle.rst:908
15331533msgid ""
15341534"On the Highlights and Keys tab, select a built-in or custom color theme and "
15351535"key set. To use a newer built-in color theme or key set with older IDLEs, "
15361536"save it as a new custom theme or key set and it well be accessible to older "
15371537"IDLEs."
15381538msgstr ""
15391539
1540- #: ../../library/idle.rst:913
1540+ #: ../../library/idle.rst:914
15411541msgid "IDLE on macOS"
15421542msgstr "macOS 上的IDLE "
15431543
1544- #: ../../library/idle.rst:915
1544+ #: ../../library/idle.rst:916
15451545msgid ""
15461546"Under System Preferences: Dock, one can set \" Prefer tabs when opening "
15471547"documents\" to \" Always\" . This setting is not compatible with the "
15481548"tk/tkinter GUI framework used by IDLE, and it breaks a few IDLE features."
15491549msgstr ""
15501550
1551- #: ../../library/idle.rst:920
1551+ #: ../../library/idle.rst:921
15521552msgid "Extensions"
15531553msgstr "扩展"
15541554
1555- #: ../../library/idle.rst:922
1555+ #: ../../library/idle.rst:923
15561556msgid ""
15571557"IDLE contains an extension facility. Preferences for extensions can be "
15581558"changed with the Extensions tab of the preferences dialog. See the beginning"
0 commit comments