Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/pty.pyc
mς =5Dc @ s d Z d k l Z d k Z d k Z d d d g Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z e e d Z e e d Z d S( s Pseudo terminal utilities.( s selectNt openptyt forkt spawni i i c C sO y t i SWn t t f j o n Xt \ } } t | } | | f S( sd openpty() -> (master_fd, slave_fd) Open a pty master/slave pair, using os.openpty() if possible.N( t osR t AttributeErrort OSErrort _open_terminalt master_fdt slave_namet slave_opent slave_fd( R R R ( ( t /usr/lib/python2.4/pty.pyR s c C s_ y t i \ } } Wn t t f j o n( Xt i | } t i | | | f St S( s master_open() -> (master_fd, slave_name) Open a pty master and return the fd, and the filename of the slave end. Deprecated, use openpty() instead.N( R R R R R R t ttynameR t closeR ( R R R ( ( R t master_open! s c C sϊ y d k } Wn t j o nR Xy"