code: def __print_namespace_help(self, session, namespace, cmd_name=None):
          
          session.write_line("=== Name space '{0}' ===", namespace)
  
          # Get all commands in this name space
          if cmd_name is None:
              names = [command for command in self._commands[namespace]]
              names.sort()
          else:
              names = [cmd_name]
  
          first_cmd = True
          for command in names:
              if not first_cmd:
                  # Print an empty line
                  session.write_line("\n")
  
              self.__print_command_help(session, namespace, command)
              first_cmd = False
docs: Prints the documentation of all the commands in the given name space,
          or only of the given command
  
          :param session: Session Handler
          :param namespace: Name space of the command
          :param cmd_name: Name of the command to show, None to show them all