Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /proc/thread-self/root/lib64/python2.7/idlelib/ |
Upload File : |
� p��fc @ s/ d d l Z d d l Z d d d � � YZ d S( i����Nt AutoExpandc B sR e Z d d g f g Z e j e j d Z d � Z d � Z d � Z d � Z RS( t edits E_xpand Words <<expand-word>>t _c C s | j | _ d | _ d S( N( t textt Nonet state( t selft editwin( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyt __init__ s c C sT | j j d � } | j j d d � } | j sE | j � } d } nB | j \ } } } } | | k sr | | k r� | j � } d } n | s� | j j � d S| j � } | j j d t | � d � | | } | d t | � } | d k r| j j � n | j j d | � | j j d � } | j j d d � } | | | | f | _ d S( Nt inserts insert linestarts insert lineendi t breaks insert - %d charsi ( R t indext getR t getwordst bellt getprevwordt deletet lenR ( R t eventt curinsertt curlinet wordsR R t linet wordt newword( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyt expand_word_event s. c C s- | j � } | s g S| j j d d � } t j d | d | � } ~ | j j d d � } t j d | d | � } ~ | r� | r� g Sg } i } | j � x: | D]2 } | j | � r� q� n | j | � | | | <q� Wx: | D]2 } | j | � rq� n | j | � | | | <q� W| j | � | S( Ns 1.0s insert wordstarts \bs \w+\bs insert wordendt end( R R R t ret findallt reverset append( R R t beforet wbeforet aftert wafterR t dictt w( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyR 0 s4 c C s] | j j d d � } t | � } x1 | d k rT | | d | j k rT | d } q$ W| | S( Ns insert linestartR i i ( R R R t wordchars( R R t i( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyR N s &( s E_xpand Words <<expand-word>>( t __name__t __module__t menudefst stringt ascii_letterst digitsR% R R R R ( ( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyR s ( ( R* R R ( ( ( s* /usr/lib64/python2.7/idlelib/AutoExpand.pyt <module> s