from .menu import Menu, MenuError, MenuResult
del menu


def new_dmenu(**kwargs):
    from .dmenu import DMenu
    return DMenu(**kwargs)


def new_rofi(**kwargs):
    from .rofi import Rofi
    return Rofi(**kwargs)

from .menu import Menu, MenuError, MenuResult
del menu

def new_dmenu(**kwargs):
    """Create an instance of dynmen.dmenu.DMenu(**kwargs)

    The keyword arguments set the corresponding attribute
    on the DMenu instance.
    """
    from .dmenu import DMenu
    return DMenu(**kwargs)

def new_rofi(**kwargs):
    """Create an instance of dynmen.rofi.Rofi(**kwargs)

    The keyword arguments set the corresponding attribute
    on the Rofi instance.
    """
    from .rofi import Rofi
    return Rofi(**kwargs)

Add docstrings to dynmen.new_dmenu and dynmen.new_rofi
Add docstrings to dynmen.new_dmenu and dynmen.new_rofi

  from .menu import Menu, MenuError, MenuResult
  del menu
  
+ def new_dmenu(**kwargs):
+     """Create an instance of dynmen.dmenu.DMenu(**kwargs)
  
- def new_dmenu(**kwargs):
+     The keyword arguments set the corresponding attribute
+     on the DMenu instance.
+     """
      from .dmenu import DMenu
      return DMenu(**kwargs)
  
+ def new_rofi(**kwargs):
+     """Create an instance of dynmen.rofi.Rofi(**kwargs)
  
- def new_rofi(**kwargs):
+     The keyword arguments set the corresponding attribute
+     on the Rofi instance.
+     """
      from .rofi import Rofi
      return Rofi(**kwargs)
  
Add docstrings to dynmen.new_dmenu and dynmen.new_rofi
## Code Before:
from .menu import Menu, MenuError, MenuResult
del menu


def new_dmenu(**kwargs):
    from .dmenu import DMenu
    return DMenu(**kwargs)


def new_rofi(**kwargs):
    from .rofi import Rofi
    return Rofi(**kwargs)

## Instruction:
Add docstrings to dynmen.new_dmenu and dynmen.new_rofi
## Code After:
from .menu import Menu, MenuError, MenuResult
del menu

def new_dmenu(**kwargs):
    """Create an instance of dynmen.dmenu.DMenu(**kwargs)

    The keyword arguments set the corresponding attribute
    on the DMenu instance.
    """
    from .dmenu import DMenu
    return DMenu(**kwargs)

def new_rofi(**kwargs):
    """Create an instance of dynmen.rofi.Rofi(**kwargs)

    The keyword arguments set the corresponding attribute
    on the Rofi instance.
    """
    from .rofi import Rofi
    return Rofi(**kwargs)
