(build=True, extra=True)
return s
Returns the version number of Whoosh as a string.

    :param build: Whether to include the build number in the string.
    :param extra: Whether to include alpha/beta/rc etc. tags. Only
        checked if build is True.
    :rtype: str
Returns the version number of Whoosh as a string.
Returns the version number of Whoosh as a string .
def versionstring(build=True, extra=True):
    """Returns the version number of Whoosh as a string.

    :param build: Whether to include the build number in the string.
    :param extra: Whether to include alpha/beta/rc etc. tags. Only
        checked if build is True.
    :rtype: str
    """

    if build:
        first = 3
    else:
        first = 2

    s = ".".join(str(n) for n in __version__[:first])
    if build and extra:
        s += "".join(str(n) for n in __version__[3:])

    return s
def versionstring ( build = True , extra = True ) : if build : first = 3 else : first = 2 s = "." . join ( str ( n ) for n in __version__ [ : first ] ) if build and extra : s += "" . join ( str ( n ) for n in __version__ [ 3 : ] ) return s