
    h                     B    S r SSKrSSKJrJr  SSKJr  S\S\SS4S jrg)	z2
Support similar deprecation of several reactors.
    N)VersiongetVersionString)DEPRECATION_WARNING_FORMATnameversionreturnc                 p    [         SU -   [        U5      S.-  nUS-   n[        R                  " U[        S9  g)z
Emit a deprecation warning about a gnome-related reactor.

@param name: The name of the reactor.  For example, C{"gtk2reactor"}.

@param version: The version in which the deprecation was introduced.
ztwisted.internet.)fqpnr   z1.  Please use twisted.internet.gireactor instead.)categoryN)r   r   warningswarnDeprecationWarning)r   r   stemmsgs       b/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/internet/_deprecate.pydeprecatedGnomeReactorr      s?     &#d*#G,) D D
DCMM# 23    )	__doc__r   incrementalr   r   twisted.python.deprecater   strr    r   r   <module>r      s/     1 ?4 4w 44 4r   