#NEWLINE# @ staticmethod #NEWLINE# def _find_multiproc_options( parser ) : #NEWLINE# #INDENT# " Searches for multiprocessing options within a ConfigParser.\n\n        If such options are found, they are copied (without the `'multiproc_'` prefix)\n        into a new parser.\n\n        " #NEWLINE# sections = parser . sections ( ) #NEWLINE# if ( not any ( ( section . startswith ( 'multiproc_' ) for section in sections ) ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# mp_parser = NoInterpolationParser ( ) #NEWLINE# for section in sections : #NEWLINE# #INDENT# if section . startswith ( 'multiproc_' ) : #NEWLINE# #INDENT# new_section = section . replace ( 'multiproc_' , '' ) #NEWLINE# mp_parser . add_section ( sections ) #NEWLINE# options = parser . options ( section ) #NEWLINE# for option in options : #NEWLINE# #INDENT# val = parser . get ( section , option , raw = True ) #NEWLINE# mp_parser . set ( new_section , option , val ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return mp_parser