Hacked By AnonymousFox
�
��f� c @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l j Z d d l m
Z
d d l m Z m
Z
d d l m Z d d l m Z d Z Gd d � d � Z d S(
u? Extension to execute code outside the Python shell window.
This adds the following commands:
- Check module does a full syntax check of the current module.
It also runs the tabnanny to catch any inconsistent tabs.
- Run module executes the module's code in the __main__ namespace. The window
must have been saved previously. The module is added to sys.modules, and is
also added to the __main__ namespace.
XXX GvR Redesign this interface (yet again) as follows:
- Present a dialog box for ``Run Module''
- Allow specify command line arguments in the dialog box
i N( u EditorWindow( u PyShellu IOBinding( u idleConf( u
macosxSupportu/ Error: Inconsistent indentation detected!
1) Your indentation is outright incorrect (easy to fix), OR
2) Your indentation mixes tabs and spaces.
To fix case 2, change all tabs to spaces by using Edit->Select All followed by Format->Untabify Region and specify the number of columns used by each tab.
c B s� | Ee Z d Z d d d d g f g Z d d � Z d d � Z d
d � Z d d
� Z d d � Z d d � Z
d d � Z d d � Z d d � Z
d S( u
ScriptBindingu runu Check Moduleu <<check-module>>u
Run Moduleu <<run-module>>c C sS | | _ | j j | _ | j j | _ t j � rO | j j j d | j � n d S( Nu <<run-module-event-2>>( u editwinu flistu rootu
macosxSupportu runningAsOSXAppu
text_frameu bindu _run_module_event( u selfu editwin( ( u: /opt/alt/python33/lib64/python3.3/idlelib/ScriptBinding.pyu __init__1 s
u ScriptBinding.__init__c C s@ | j � } | s d S| j | � s) d S| j | � s<