parameters: (state, module, user, sys_prefix,
                                    logger=None)
return_statement: return [_set_nbextension_state(section=nbext["section"],
                                     require=nbext["require"],
                                     state=state,
                                     user=user, sys_prefix=sys_prefix,
                                     logger=logger)
              for nbext in nbexts]
docstring: Enable or disable some nbextensions stored in a Python package
  
      Returns a list of whether the state was achieved (i.e. changed, or was
      already right)
  
      Parameters
      ----------
  
      state : Bool
          Whether the extensions should be enabled
      module : str
          Importable Python module exposing the
          magic-named `_jupyter_nbextension_paths` function
      user : bool
          Whether to enable in the user's nbextensions directory.
      sys_prefix : bool
          Enable/disable in the sys.prefix, i.e. environment
      logger : Jupyter logger [optional]
          Logger instance to use
docstring_summary: Enable or disable some nbextensions stored in a Python package
docstring_tokens: Enable or disable some nbextensions stored in a Python package
function: def _set_nbextension_state_python(state, module, user, sys_prefix,
                                    logger=None):
      """Enable or disable some nbextensions stored in a Python package
  
      Returns a list of whether the state was achieved (i.e. changed, or was
      already right)
  
      Parameters
      ----------
  
      state : Bool
          Whether the extensions should be enabled
      module : str
          Importable Python module exposing the
          magic-named `_jupyter_nbextension_paths` function
      user : bool
          Whether to enable in the user's nbextensions directory.
      sys_prefix : bool
          Enable/disable in the sys.prefix, i.e. environment
      logger : Jupyter logger [optional]
          Logger instance to use
      """
      m, nbexts = _get_nbextension_metadata(module)
      return [_set_nbextension_state(section=nbext["section"],
                                     require=nbext["require"],
                                     state=state,
                                     user=user, sys_prefix=sys_prefix,
                                     logger=logger)
              for nbext in nbexts]
function_tokens: def _set_nbextension_state_python ( state , module , user , sys_prefix , logger = None ) : m , nbexts = _get_nbextension_metadata ( module ) return [ _set_nbextension_state ( section = nbext [ "section" ] , require = nbext [ "require" ] , state = state , user = user , sys_prefix = sys_prefix , logger = logger ) for nbext in nbexts ]