parameters: (obj)
return_statement: return mod_namespace
docstring: Get the module's namespace.
docstring_summary: Get the module's namespace.
docstring_tokens: Get the module s namespace .
function: def get_module_namespace(obj):
      """Get the module's namespace."""
      logger.debug("get module namespace, module: %r", obj)
      mod_namespace = None
      if isinstance(obj, types.ModuleType):
          mod_namespace = CellNamespace(obj.__name__)
      else:
          logger.warning("Module(%r) is invalid, get namespace failure!", obj)
      return mod_namespace
function_tokens: def get_module_namespace ( obj ) : logger . debug ( "get module namespace, module: %r" , obj ) mod_namespace = None if isinstance ( obj , types . ModuleType ) : mod_namespace = CellNamespace ( obj . __name__ ) else : logger . warning ( "Module(%r) is invalid, get namespace failure!" , obj ) return mod_namespace