ok
Direktori : /opt/alt/python27/lib64/python2.7/idlelib/ |
Current File : //opt/alt/python27/lib64/python2.7/idlelib/ScriptBinding.pyc |
� �[ bc @ 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 Z d d l m Z d d l m Z d d l m Z e j e j d Z d Z d d d � � YZ d S( s? 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( t PyShell( t idleConf( t macosxSupportt _s/ 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. t ScriptBindingc B s� e Z d d d d g f g Z d � Z d � Z d � Z d � Z d � Z d � Z e j � rr e Z d � Z n d � Z d � Z d � Z RS( t runs Check Modules <<check-module>>s Run Modules <<run-module>>c C sS | | _ | j j | _ | j j | _ t j � rO | j j j d | j � n d S( Ns <<run-module-event-2>>( t editwint flistt rootR t isCocoaTkt text_framet bindt _run_module_event( t selfR ( ( s: /opt/alt/python27/lib64/python2.7/idlelib/ScriptBinding.pyt __init__2 s c C s@ | j � } | s d S| j | � s) d S| j | � s<