parameters: (self)
docstring: change the i/o transformations
docstring_summary: change the i/o transformations
docstring_tokens: change the i / o transformations
function: def change_filter(self):
          """change the i/o transformations"""
          sys.stderr.write('\n--- Available Filters:\n')
          sys.stderr.write('\n'.join(
              '---   {:<10} = {.__doc__}'.format(k, v)
              for k, v in sorted(TRANSFORMATIONS.items())))
          sys.stderr.write('\n--- Enter new filter name(s) [{}]: '.format(' '.join(self.filters)))
          with self.console:
              new_filters = sys.stdin.readline().lower().split()
          if new_filters:
              for f in new_filters:
                  if f not in TRANSFORMATIONS:
                      sys.stderr.write('--- unknown filter: {}\n'.format(repr(f)))
                      break
              else:
                  self.filters = new_filters
                  self.update_transformations()
          sys.stderr.write('--- filters: {}\n'.format(' '.join(self.filters)))
function_tokens: def change_filter ( self ) : sys . stderr . write ( '\n--- Available Filters:\n' ) sys . stderr . write ( '\n' . join ( '---   {:<10} = {.__doc__}' . format ( k , v ) for k , v in sorted ( TRANSFORMATIONS . items ( ) ) ) ) sys . stderr . write ( '\n--- Enter new filter name(s) [{}]: ' . format ( ' ' . join ( self . filters ) ) ) with self . console : new_filters = sys . stdin . readline ( ) . lower ( ) . split ( ) if new_filters : for f in new_filters : if f not in TRANSFORMATIONS : sys . stderr . write ( '--- unknown filter: {}\n' . format ( repr ( f ) ) ) break else : self . filters = new_filters self . update_transformations ( ) sys . stderr . write ( '--- filters: {}\n' . format ( ' ' . join ( self . filters ) ) )