#NEWLINE# def __init__( self , cloexec = True , nonblock = True ) : #NEWLINE# #INDENT# ( self . _init1 , self . _add_watch , self . _rm_watch , self . _read ) = load_inotify ( ) #NEWLINE# flags = 0 #NEWLINE# if cloexec : #NEWLINE# #INDENT# flags |= self . CLOEXEC #NEWLINE# #UNINDENT# if nonblock : #NEWLINE# #INDENT# flags |= self . NONBLOCK #NEWLINE# #UNINDENT# self . _inotify_fd = self . _init1 ( flags ) #NEWLINE# if ( self . _inotify_fd == ( - 1 ) ) : #NEWLINE# #INDENT# raise INotifyError ( os . strerror ( ctypes . get_errno ( ) ) ) #NEWLINE# #UNINDENT# self . _buf = ctypes . create_string_buffer ( 5000 ) #NEWLINE# self . fenc = get_preferred_file_name_encoding ( ) #NEWLINE# self . hdr = struct . Struct ( b'iIII' ) #NEWLINE# self . os = os