#13 Fix typo and docstring of AddModuleHanlder.get_module_config
Merged 5 months ago by cqi. Opened 5 months ago by cqi.
cqi/ursa-major fix-typo-docstring  into  master

@@ -95,12 +95,13 @@ 

      @staticmethod

      def get_module_config(module_configs, modinfo):

          """

-         Get the module config from configs which matches the module represent

+         Get the module config from configs which matches the module represented

          by the modinfo.

  

-         :params module_configs: a list of module config

+         :param module_configs: a list of module config

          :type module_configs: list[dict]

-         :params modinfo: instance of ModuleInfo

+         :param modinfo: instance of ModuleInfo

+         :type modinfo: :class:`ModuleInfo`

          :return: the matched module config. None is returned if no module

              config matches the module metadata.

          :rtype: dict

Pull-Request has been merged by cqi

5 months ago
Metadata