| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/idlelib/__pycache__/ |
Upload File : |
o
�9jb � @ s� d Z ddlmZ ddlmZ dg d�fdg d�fdg d �fd
g d�fdg d
�fdg d�fdg d�fdg fdg d�fg Zed�rHed d �d� e�� Ze dkr^ddl
mZ eddd� dS dS )a� Define the menu contents, hotkeys, and event bindings.
There is additional configuration information in the EditorWindow class (and
subclasses): the menus are created there based on the menu_specs (class)
variable, and menus not created are silently skipped in the code here. This
makes it possible, for example, to define a Debug menu which is only present in
the PythonShell window, and a Format menu which is only present in the Editor
windows.
� )� find_spec)�idleConf�file))z _New Filez<<open-new-window>>)z_Open...z<<open-window-from-file>>)zOpen _Module...z<<open-module>>)zModule _Browserz<<open-class-browser>>)z
_Path Browserz<<open-path-browser>>N)�_Savez<<save-window>>)zSave _As...z<<save-window-as-file>>)zSave Cop_y As...z<<save-copy-of-window-as-file>>N)z
Prin_t Windowz<<print-window>>N)z
_Close Windowz<<close-window>>)z
E_xit IDLEz<<close-all-windows>>�edit))�_Undoz<<undo>>)�_Redoz<<redo>>N)zSelect _Allz<<select-all>>)�Cu_tz<<cut>>)�_Copyz<<copy>>)�_Pastez <<paste>>N)z_Find...z<<find>>)zFind A_gainz<<find-again>>)zFind _Selectionz<<find-selection>>)zFind in Files...z<<find-in-files>>)zR_eplace...z<<replace>>N)zGo to _Linez
<<goto-line>>)zS_how Completionsz<<force-open-completions>>)zE_xpand Wordz<<expand-word>>)zShow C_all Tipz<<force-open-calltip>>)zShow Surrounding P_arensz<<flash-paren>>�format)
)zF_ormat Paragraphz<<format-paragraph>>)z_Indent Regionz<<indent-region>>)z_Dedent Regionz<<dedent-region>>)zComment _Out Regionz<<comment-region>>)zU_ncomment Regionz<<uncomment-region>>)z
Tabify Regionz<<tabify-region>>)zUntabify Regionz<<untabify-region>>)zToggle Tabsz<<toggle-tabs>>)zNew Indent Widthz<<change-indentwidth>>)zS_trip Trailing Whitespacez
<<do-rstrip>>�run))zR_un Modulez<<run-module>>)zRun... _Customizedz<<run-custom>>)z
C_heck Modulez<<check-module>>)zPython Shellz<<open-python-shell>>�shell))z_View Last Restartz<<view-restart>>)z_Restart Shellz<<restart-shell>>N)z_Previous Historyz<<history-previous>>)z
_Next Historyz<<history-next>>N)z_Interrupt Executionz<<interrupt-execution>>�debug))z_Go to File/Linez<<goto-file-line>>)z
!_Debuggerz<<toggle-debugger>>)z
_Stack Viewerz<<open-stack-viewer>>)z!_Auto-open Stack Viewerz<<toggle-jit-stack-viewer>>�options))zConfigure _IDLEz<<open-config-dialog>>N)zShow _Code Contextz<<toggle-code-context>>)zShow _Line Numbersz<<toggle-line-numbers>>)z_Zoom Heightz<<zoom-height>>�window�help))z_About IDLEz<<about-idle>>N)z _IDLE Docz<<help>>)zPython _Docsz<<python-docs>>�
turtledemo���� )zTurtle Demoz<<open-turtle-demo>>�__main__)�mainzidlelib.idle_test.test_mainmenu� )� verbosityN)�__doc__�importlib.utilr �idlelib.configr �menudefs�append�GetCurrentKeySet�default_keydefs�__name__�unittestr � r# r# �'/usr/lib/python3.10/idlelib/mainmenu.py�<module> s(
�a�