U
    ª€ljç  ã                   @   s>   d Z ddlZddlmZmZ ddlmZ eeddœdd„ZdS )z2
Support similar deprecation of several reactors.
é    N)ÚVersionÚgetVersionString)ÚDEPRECATION_WARNING_FORMAT)ÚnameÚversionÚreturnc                 C   s0   t d|  t|ƒdœ }|d }tj|td� dS )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.)Zfqpnr   z1.  Please use twisted.internet.gireactor instead.)ÚcategoryN)r   r   ÚwarningsÚwarnÚDeprecationWarning)r   r   ÚstemÚmsg© r   ú?/tmp/pip-unpacked-wheel-aghyhbke/twisted/internet/_deprecate.pyÚdeprecatedGnomeReactor   s    þr   )	Ú__doc__r	   Úincrementalr   r   Ztwisted.python.deprecater   Ústrr   r   r   r   r   Ú<module>   s   