@staticmethod
def finalize_param(s, i):
    meta = {}
    _r = '\\s*([^,\\s]+(?:\\s*,\\s*[^,\\s]+)*)\\s*(?::\\s*(.*?))?[^\\S\\n]*?\\n(\\s+.*)'
    m = re.match(_r, s, re.DOTALL)
    if m:
        (names, typ, desc) = m.groups()
        names = [n.strip() for n in names.split(',')]
        (meta['indent'], descr) = dedent_verbose(desc, 0)
        descr_only = False
    else:
        names = ['{0}'.format(i)]
        typ = ''
        descr = s
        descr_only = True
    return Parameter(names, typ, descr, tag=i, descr_only=descr_only, **meta)
@staticmethod
def finalize_param(s, i):
    meta = {}
    _r = '\\s*([^,\\s]+(?:\\s*,\\s*[^,\\s]+)*)\\s*(?::\\s*(.*?))?[^\\S\\n]*?\\n(\\s+.*)'
    m = re.match(_r, s, re.DOTALL)
    if m:
        (names, typ, desc) = m.groups()
        names = [n.strip() for n in names.split(',')]
        (meta['indent'], descr) = dedent_verbose(desc, 0)
        descr_only = False
    else:
        names = ['{0}'.format(i)]
        typ = 
        descr = s
        descr_only = True
    return Parameter(names, typ, descr, tag=i, descr_only=descr_only, **meta)