/opt/alt/python33/lib64/python3.3/idlelib
NameSizeModeActions
Icons/-0755rm
idle_test/-0755rm
__pycache__/-0755rm
aboutDialog.py65750644editdlrm
AutoComplete.py90820644editdlrm
AutoCompleteWindow.py176720644editdlrm
AutoExpand.py24830644editdlrm
Bindings.py34340644editdlrm
CallTips.py59320644editdlrm
CallTipWindow.py58990644editdlrm
ChangeLog563930644editdlrm
ClassBrowser.py63710644editdlrm
CodeContext.py83530644editdlrm
ColorDelegator.py104670644editdlrm
config-extensions.def27880644editdlrm
config-highlight.def17400644editdlrm
config-keys.def75240644editdlrm
config-main.def25140644editdlrm
configDialog.py528500644editdlrm
configHandler.py293230644editdlrm
configHelpSourceEdit.py67250644editdlrm
configSectionNameDialog.py43140644editdlrm
CREDITS.txt18650644editdlrm
Debugger.py163670644editdlrm
Delegator.py6650644editdlrm
dynOptionMenuWidget.py13080644editdlrm
EditorWindow.py663070644editdlrm
extend.txt36420644editdlrm
FileList.py38140644editdlrm
FormatParagraph.py71660644editdlrm
GrepDialog.py41110644editdlrm
help.txt119940644editdlrm
HISTORY.txt103170644editdlrm
HyperParser.py105620644editdlrm
idle.py4000644editdlrm
idle.pyw6710644editdlrm
IdleHistory.py41170644editdlrm
idlever.py230644editdlrm
IOBinding.py198620644editdlrm
keybindingDialog.py124270644editdlrm
macosxSupport.py71720644editdlrm
MultiCall.py175290644editdlrm
MultiStatusBar.py7830644editdlrm
NEWS.txt344170644editdlrm
ObjectBrowser.py37490644editdlrm
OutputWindow.py43940644editdlrm
ParenMatch.py66270644editdlrm
PathBrowser.py28780644editdlrm
Percolator.py26580644editdlrm
PyParse.py194140644editdlrm
PyShell.py578770755editdlrm
README.txt25020644editdlrm
RemoteDebugger.py120290644editdlrm
RemoteObjectBrowser.py9640644editdlrm
ReplaceDialog.py58290644editdlrm
rpc.py209530644editdlrm
RstripExtension.py10500644editdlrm
run.py136940644editdlrm
ScriptBinding.py80690644editdlrm
ScrolledList.py39970644editdlrm
SearchDialog.py20160644editdlrm
SearchDialogBase.py51850644editdlrm
SearchEngine.py75440644editdlrm
StackViewer.py35670644editdlrm
tabbedpages.py181670644editdlrm
textView.py35450644editdlrm
TODO.txt84780644editdlrm
ToolTip.py27360644editdlrm
TreeWidget.py152200644editdlrm
UndoDelegator.py103050644editdlrm
WidgetRedirector.py44770644editdlrm
WindowList.py24720644editdlrm
ZoomHeight.py13070644editdlrm
__init__.py370644editdlrm
__main__.py1090644editdlrm
Edit: /opt/alt/python33/lib64/python3.3/idlelib/Bindings.py (3434B)
"""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. """ import sys from idlelib.configHandler import idleConf from idlelib import macosxSupport menudefs = [ # underscore prefixes character to underscore ('file', [ ('_New File', '<>'), ('_Open...', '<>'), ('Open _Module...', '<>'), ('Class _Browser', '<>'), ('_Path Browser', '<>'), None, ('_Save', '<>'), ('Save _As...', '<>'), ('Save Cop_y As...', '<>'), None, ('Prin_t Window', '<>'), None, ('_Close', '<>'), ('E_xit', '<>'), ]), ('edit', [ ('_Undo', '<>'), ('_Redo', '<>'), None, ('Cu_t', '<>'), ('_Copy', '<>'), ('_Paste', '<>'), ('Select _All', '<>'), None, ('_Find...', '<>'), ('Find A_gain', '<>'), ('Find _Selection', '<>'), ('Find in Files...', '<>'), ('R_eplace...', '<>'), ('Go to _Line', '<>'), ]), ('format', [ ('_Indent Region', '<>'), ('_Dedent Region', '<>'), ('Comment _Out Region', '<>'), ('U_ncomment Region', '<>'), ('Tabify Region', '<>'), ('Untabify Region', '<>'), ('Toggle Tabs', '<>'), ('New Indent Width', '<>'), ]), ('run', [ ('Python Shell', '<>'), ]), ('shell', [ ('_View Last Restart', '<>'), ('_Restart Shell', '<>'), ]), ('debug', [ ('_Go to File/Line', '<>'), ('!_Debugger', '<>'), ('_Stack Viewer', '<>'), ('!_Auto-open Stack Viewer', '<>'), ]), ('options', [ ('_Configure IDLE...', '<>'), None, ]), ('help', [ ('_About IDLE', '<>'), None, ('_IDLE Help', '<>'), ('Python _Docs', '<>'), ]), ] if macosxSupport.runningAsOSXApp(): # Running as a proper MacOS application bundle. This block restructures # the menus a little to make them conform better to the HIG. quitItem = menudefs[0][1][-1] closeItem = menudefs[0][1][-2] # Remove the last 3 items of the file menu: a separator, close window and # quit. Close window will be reinserted just above the save item, where # it should be according to the HIG. Quit is in the application menu. del menudefs[0][1][-3:] menudefs[0][1].insert(6, closeItem) # Remove the 'About' entry from the help menu, it is in the application # menu del menudefs[-1][1][0:2] # Remove the 'Configure' entry from the options menu, it is in the # application menu as 'Preferences' del menudefs[-2][1][0:2] default_keydefs = idleConf.GetCurrentKeySet() del sys