o
    ÑtBhÛ  ã                   @   s   d d„ Z dd„ ZdS )c                 C   s   | j S )N)Ú
end_lineno)Únode© r   úd/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/vulture/lines.pyÚget_last_line_number   s   r   c                 C   s    t | dg ƒ}|r|d jS | jS )aï  
    From Python 3.8 onwards, lineno for decorated objects is the line at which
    the object definition starts, which is different from what Python < 3.8
    reported -- the lineno of the first decorator. To preserve this behaviour
    of Vulture for newer Python versions, which is also more accurate for
    counting the size of the unused code chunk (if the property is unused, we
    also don't need it's decorators), we return the lineno of the first
    decorator, if there are any.
    Údecorator_listé    )ÚgetattrÚlineno)r   Ú
decoratorsr   r   r   Úget_first_line_number   s   

r   N)r   r   r   r   r   r   Ú<module>   s    