def _find_get_notepad_pages():
 if (config.WEB_GET_NOTEPAD_PAGES is None):
  return None
 if (type(config.WEB_GET_NOTEPAD_PAGES) is not tuple):
  config.WEB_GET_NOTEPAD_PAGES = (config.WEB_GET_NOTEPAD_PAGES, ())
 return functools.partial(GET_NOTEPAD_PAGES[config.WEB_GET_NOTEPAD_PAGES[0]], *config.WEB_GET_NOTEPAD_PAGES[1])

def _find_get_notepad_pages ( ) : if ( config . WEB_GET_NOTEPAD_PAGES is None ) : return None if ( type ( config . WEB_GET_NOTEPAD_PAGES ) is not tuple ) : config . WEB_GET_NOTEPAD_PAGES = ( config . WEB_GET_NOTEPAD_PAGES , ( ) ) return functools . partial ( GET_NOTEPAD_PAGES [ config . WEB_GET_NOTEPAD_PAGES [ 0 ] ] , * config . WEB_GET_NOTEPAD_PAGES [ 1 ] )
this function finds and returns the get_notepad_pages() based on the configuration .