Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/ScriptBinding.pyo |
³ò h”Rc @ s› d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z e i e i 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 idleConft _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 sq e Z d d d d g f g Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( t runs Check Modules <<check-module>>s Run Modules <<run-module>>c C s+ | | _ | i i | _ | i i | _ d S( N( t editwint flistt root( t selfR ( ( s1 /usr/local/lib/python2.5/idlelib/ScriptBinding.pyt __init__1 s c C sO | i ƒ } | p d Sn | i | ƒ p d Sn | i | ƒ p d Sn d S( N( t getfilenamet checksyntaxt tabnanny( R t eventt filename( ( s1 /usr/local/lib/python2.5/idlelib/ScriptBinding.pyt check_module_event8 s c C sÆ t | d ƒ } y t i t i | i ƒ ƒ Wn“ t i j oC } | \ } \ } } | i i | ƒ | i d d | ƒ t SnC t i j o3 } | i i | i ƒ ƒ | i d t ƒ t Sn Xt S( Nt rs Tabnanny Tokenizing Errors Token Error: %ss Tab/space error( t openR t process_tokenst tokenizet generate_tokenst readlinet TokenErrorR t gotolinet errorboxt Falset NannyNagt get_linenot indent_messaget True( R R t ft msgt msgtxtt linenot startt nag( ( s1 /usr/local/lib/python2.5/idlelib/ScriptBinding.pyR A s c C s² | i i ƒ | _ } | i ƒ } | i | i ƒ t | d ƒ } | i ƒ } | i ƒ d | j o. t i d d | ƒ } t i d d | ƒ } n | o | d d j o | d } n | i i } | i d d d ƒ zÆ y t | | d ƒ SWn« t t f j o™ } y^ | \ } \ } } } } | p( | | | | | f f | _ | | _ n | i | | | ƒ Wn d t | ƒ } n X| i d d | ƒ t Sn XWd | i | ƒ Xd S( NR s s \r\ns s \riÿÿÿÿt ERRORs 1.0t endt execs *** s Syntax errors"