#NEWLINE# def _get_std_handle( self , stream ) : #NEWLINE# #INDENT# handle = ( self . _STDOUT_HANDLE if ( stream is sys . __stdout__ ) else self . _STDERR_HANDLE ) #NEWLINE# return windll . kernel32 . GetStdHandle ( stream )