    .. versionchanged:: 4.0
           Added the ability to pass file-like objects in addition to
           raw file descriptors.
        N)