Warlock.ModuleUtils.name_or_option

You're seeing just the function name_or_option, go back to Warlock.ModuleUtils module for more information.
Link to this function

name_or_option(module, opt)

Gets a module name from an option or from the module when no option is given.