7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-06-29 00:14 +0000\n "
10
+ "POT-Creation-Date : 2022-07-04 00:18 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:03+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -1078,7 +1078,7 @@ msgstr ""
1078
1078
1079
1079
#: ../../library/idle.rst:597
1080
1080
msgid ""
1081
- "Lines containing ``' RESTART' `` mean that the user execution process has been "
1081
+ "Lines containing ``RESTART`` mean that the user execution process has been "
1082
1082
"re-started. This occurs when the user execution process has crashed, when "
1083
1083
"one requests a restart on the Shell menu, or when one runs code in an editor "
1084
1084
"window."
@@ -1330,44 +1330,45 @@ msgid ""
1330
1330
"created in the execution process, whether directly by user code or by "
1331
1331
"modules such as multiprocessing. If such subprocess use ``input`` from sys."
1332
1332
"stdin or ``print`` or ``write`` to sys.stdout or sys.stderr, IDLE should be "
1333
- "started in a command line window. The secondary subprocess will then be "
1333
+ "started in a command line window. (On Windows, use ``python`` or ``py`` "
1334
+ "rather than ``pythonw`` or ``pyw``.) The secondary subprocess will then be "
1334
1335
"attached to that window for input and output."
1335
1336
msgstr ""
1336
1337
1337
- #: ../../library/idle.rst:781
1338
+ #: ../../library/idle.rst:783
1338
1339
msgid ""
1339
1340
"If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, "
1340
1341
"IDLE's changes are lost and input from the keyboard and output to the screen "
1341
1342
"will not work correctly."
1342
1343
msgstr ""
1343
1344
1344
- #: ../../library/idle.rst:785
1345
+ #: ../../library/idle.rst:787
1345
1346
msgid ""
1346
1347
"When Shell has the focus, it controls the keyboard and screen. This is "
1347
1348
"normally transparent, but functions that directly access the keyboard and "
1348
1349
"screen will not work. These include system-specific functions that "
1349
1350
"determine whether a key has been pressed and if so, which."
1350
1351
msgstr ""
1351
1352
1352
- #: ../../library/idle.rst:790
1353
+ #: ../../library/idle.rst:792
1353
1354
msgid ""
1354
1355
"The IDLE code running in the execution process adds frames to the call stack "
1355
1356
"that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and "
1356
1357
"``sys.setrecursionlimit`` to reduce the effect of the additional stack "
1357
1358
"frames."
1358
1359
msgstr ""
1359
1360
1360
- #: ../../library/idle.rst:795
1361
+ #: ../../library/idle.rst:797
1361
1362
msgid ""
1362
1363
"When user code raises SystemExit either directly or by calling sys.exit, "
1363
1364
"IDLE returns to a Shell prompt instead of exiting."
1364
1365
msgstr ""
1365
1366
1366
- #: ../../library/idle.rst:799
1367
+ #: ../../library/idle.rst:801
1367
1368
msgid "User output in Shell"
1368
1369
msgstr ""
1369
1370
1370
- #: ../../library/idle.rst:801
1371
+ #: ../../library/idle.rst:803
1371
1372
msgid ""
1372
1373
"When a program outputs text, the result is determined by the corresponding "
1373
1374
"output device. When IDLE executes user code, ``sys.stdout`` and ``sys."
@@ -1377,7 +1378,7 @@ msgid ""
1377
1378
"rather than production runs."
1378
1379
msgstr ""
1379
1380
1380
- #: ../../library/idle.rst:808
1381
+ #: ../../library/idle.rst:810
1381
1382
msgid ""
1382
1383
"For instance, Shell never throws away output. A program that sends "
1383
1384
"unlimited output to Shell will eventually fill memory, resulting in a memory "
@@ -1386,7 +1387,7 @@ msgid ""
1386
1387
"lines, with 300 the default."
1387
1388
msgstr ""
1388
1389
1389
- #: ../../library/idle.rst:814
1390
+ #: ../../library/idle.rst:816
1390
1391
msgid ""
1391
1392
"A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) "
1392
1393
"in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters "
@@ -1400,7 +1401,7 @@ msgid ""
1400
1401
"spacing behavior.) ::"
1401
1402
msgstr ""
1402
1403
1403
- #: ../../library/idle.rst:832
1404
+ #: ../../library/idle.rst:834
1404
1405
msgid ""
1405
1406
"The ``repr`` function is used for interactive echo of expression values. It "
1406
1407
"returns an altered version of the input string in which control codes, some "
@@ -1409,13 +1410,13 @@ msgid ""
1409
1410
"regardless of how they are displayed."
1410
1411
msgstr ""
1411
1412
1412
- #: ../../library/idle.rst:838
1413
+ #: ../../library/idle.rst:840
1413
1414
msgid ""
1414
1415
"Normal and error output are generally kept separate (on separate lines) from "
1415
1416
"code input and each other. They each get different highlight colors."
1416
1417
msgstr ""
1417
1418
1418
- #: ../../library/idle.rst:841
1419
+ #: ../../library/idle.rst:843
1419
1420
msgid ""
1420
1421
"For SyntaxError tracebacks, the normal '^' marking where the error was "
1421
1422
"detected is replaced by coloring the text with an error highlight. When code "
@@ -1424,7 +1425,7 @@ msgid ""
1424
1425
"opened if necessary."
1425
1426
msgstr ""
1426
1427
1427
- #: ../../library/idle.rst:847
1428
+ #: ../../library/idle.rst:849
1428
1429
msgid ""
1429
1430
"Shell has a special facility for squeezing output lines down to a 'Squeezed "
1430
1431
"text' label. This is done automatically for output over N lines (N = 50 by "
@@ -1433,18 +1434,18 @@ msgid ""
1433
1434
"on the output. This can be useful lines long enough to slow down scrolling."
1434
1435
msgstr ""
1435
1436
1436
- #: ../../library/idle.rst:855
1437
+ #: ../../library/idle.rst:857
1437
1438
msgid ""
1438
1439
"Squeezed output is expanded in place by double-clicking the label. It can "
1439
1440
"also be sent to the clipboard or a separate view window by right-clicking "
1440
1441
"the label."
1441
1442
msgstr ""
1442
1443
1443
- #: ../../library/idle.rst:860
1444
+ #: ../../library/idle.rst:862
1444
1445
msgid "Developing tkinter applications"
1445
1446
msgstr ""
1446
1447
1447
- #: ../../library/idle.rst:862
1448
+ #: ../../library/idle.rst:864
1448
1449
msgid ""
1449
1450
"IDLE is intentionally different from standard Python in order to facilitate "
1450
1451
"development of tkinter programs. Enter ``import tkinter as tk; root = tk."
@@ -1456,35 +1457,35 @@ msgid ""
1456
1457
"changes in standard Python until one enters ``root.update()``."
1457
1458
msgstr ""
1458
1459
1459
- #: ../../library/idle.rst:871
1460
+ #: ../../library/idle.rst:873
1460
1461
msgid ""
1461
1462
"Most tkinter programs run ``root.mainloop()``, which usually does not return "
1462
1463
"until the tk app is destroyed. If the program is run with ``python -i`` or "
1463
1464
"from an IDLE editor, a ``>>>`` shell prompt does not appear until "
1464
1465
"``mainloop()`` returns, at which time there is nothing left to interact with."
1465
1466
msgstr ""
1466
1467
1467
- #: ../../library/idle.rst:877
1468
+ #: ../../library/idle.rst:879
1468
1469
msgid ""
1469
1470
"When running a tkinter program from an IDLE editor, one can comment out the "
1470
1471
"mainloop call. One then gets a shell prompt immediately and can interact "
1471
1472
"with the live application. One just has to remember to re-enable the "
1472
1473
"mainloop call when running in standard Python."
1473
1474
msgstr ""
1474
1475
1475
- #: ../../library/idle.rst:883
1476
+ #: ../../library/idle.rst:885
1476
1477
msgid "Running without a subprocess"
1477
1478
msgstr ""
1478
1479
1479
- #: ../../library/idle.rst:885
1480
+ #: ../../library/idle.rst:887
1480
1481
msgid ""
1481
1482
"By default, IDLE executes user code in a separate subprocess via a socket, "
1482
1483
"which uses the internal loopback interface. This connection is not "
1483
1484
"externally visible and no data is sent to or received from the internet. If "
1484
1485
"firewall software complains anyway, you can ignore it."
1485
1486
msgstr ""
1486
1487
1487
- #: ../../library/idle.rst:890
1488
+ #: ../../library/idle.rst:892
1488
1489
msgid ""
1489
1490
"If the attempt to make the socket connection fails, Idle will notify you. "
1490
1491
"Such failures are sometimes transient, but if persistent, the problem may be "
@@ -1493,7 +1494,7 @@ msgid ""
1493
1494
"command line switch."
1494
1495
msgstr ""
1495
1496
1496
- #: ../../library/idle.rst:896
1497
+ #: ../../library/idle.rst:898
1497
1498
msgid ""
1498
1499
"If IDLE is started with the -n command line switch it will run in a single "
1499
1500
"process and will not create the subprocess which runs the RPC Python "
@@ -1507,15 +1508,15 @@ msgid ""
1507
1508
"at all possible."
1508
1509
msgstr ""
1509
1510
1510
- #: ../../library/idle.rst:911
1511
+ #: ../../library/idle.rst:913
1511
1512
msgid "Help and Preferences"
1512
1513
msgstr ""
1513
1514
1514
- #: ../../library/idle.rst:916
1515
+ #: ../../library/idle.rst:918
1515
1516
msgid "Help sources"
1516
1517
msgstr ""
1517
1518
1518
- #: ../../library/idle.rst:918
1519
+ #: ../../library/idle.rst:920
1519
1520
msgid ""
1520
1521
"Help menu entry \" IDLE Help\" displays a formatted html version of the IDLE "
1521
1522
"chapter of the Library Reference. The result, in a read-only tkinter text "
@@ -1525,7 +1526,7 @@ msgid ""
1525
1526
"the opened box."
1526
1527
msgstr ""
1527
1528
1528
- #: ../../library/idle.rst:926
1529
+ #: ../../library/idle.rst:928
1529
1530
msgid ""
1530
1531
"Help menu entry \" Python Docs\" opens the extensive sources of help, "
1531
1532
"including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is "
@@ -1534,17 +1535,17 @@ msgid ""
1534
1535
"instead."
1535
1536
msgstr ""
1536
1537
1537
- #: ../../library/idle.rst:932
1538
+ #: ../../library/idle.rst:934
1538
1539
msgid ""
1539
1540
"Selected URLs can be added or removed from the help menu at any time using "
1540
1541
"the General tab of the Configure IDLE dialog."
1541
1542
msgstr ""
1542
1543
1543
- #: ../../library/idle.rst:938
1544
+ #: ../../library/idle.rst:940
1544
1545
msgid "Setting preferences"
1545
1546
msgstr ""
1546
1547
1547
- #: ../../library/idle.rst:940
1548
+ #: ../../library/idle.rst:942
1548
1549
msgid ""
1549
1550
"The font preferences, highlighting, keys, and general preferences can be "
1550
1551
"changed via Configure IDLE on the Option menu. Non-default user settings are "
@@ -1553,7 +1554,7 @@ msgid ""
1553
1554
"or more of the files in ``.idlerc``."
1554
1555
msgstr ""
1555
1556
1556
- #: ../../library/idle.rst:946
1557
+ #: ../../library/idle.rst:948
1557
1558
msgid ""
1558
1559
"On the Font tab, see the text sample for the effect of font face and size on "
1559
1560
"multiple characters in multiple languages. Edit the sample to add other "
@@ -1562,30 +1563,30 @@ msgid ""
1562
1563
"them to the top of the sample and try changing first size and then font."
1563
1564
msgstr ""
1564
1565
1565
- #: ../../library/idle.rst:953
1566
+ #: ../../library/idle.rst:955
1566
1567
msgid ""
1567
1568
"On the Highlights and Keys tab, select a built-in or custom color theme and "
1568
1569
"key set. To use a newer built-in color theme or key set with older IDLEs, "
1569
1570
"save it as a new custom theme or key set and it well be accessible to older "
1570
1571
"IDLEs."
1571
1572
msgstr ""
1572
1573
1573
- #: ../../library/idle.rst:959
1574
+ #: ../../library/idle.rst:961
1574
1575
msgid "IDLE on macOS"
1575
1576
msgstr ""
1576
1577
1577
- #: ../../library/idle.rst:961
1578
+ #: ../../library/idle.rst:963
1578
1579
msgid ""
1579
1580
"Under System Preferences: Dock, one can set \" Prefer tabs when opening "
1580
1581
"documents\" to \" Always\" . This setting is not compatible with the tk/"
1581
1582
"tkinter GUI framework used by IDLE, and it breaks a few IDLE features."
1582
1583
msgstr ""
1583
1584
1584
- #: ../../library/idle.rst:966
1585
+ #: ../../library/idle.rst:968
1585
1586
msgid "Extensions"
1586
1587
msgstr ""
1587
1588
1588
- #: ../../library/idle.rst:968
1589
+ #: ../../library/idle.rst:970
1589
1590
msgid ""
1590
1591
"IDLE contains an extension facility. Preferences for extensions can be "
1591
1592
"changed with the Extensions tab of the preferences dialog. See the beginning "
0 commit comments