def prereleases(self, value):
        # type: (bool) -> None
        """
        Sets whether or not pre-releases as a whole are allowed by this
        specifier.
        """

        Sets whether or not pre-releases as a whole are allowed by this
        specifier.
        
src/pkg_resources/_vendor/packaging/specifiers.py