o
    ýÑÐb½  ã                   @   s0   d Z ddlmZ dZdd„ Zdd„ Z	 dd	„ Zq)
z<Check for else branches on loops with break and return only.é    )Úprint_functionc                  C   s*   t dƒD ]
} | d r|   S qtdƒ dS )úelse + return is not accetable.é
   é   zmath is brokenN)ÚrangeÚprint)Úi© r	   új/var/www/secure340b-portal/env/lib/python3.10/site-packages/pylint/test/functional/useless_else_on_loop.pyÚtest_return_for   s   ÿr   c                   C   s   	 dS )r   Té   )r   r	   r	   r	   r
   Útest_return_while   s   r   Tc                  C   s   t dƒD ]}  dS dS )zA function with a loop.r   N)r   )Ú_r	   r	   r
   Ú	short_fun   s   ÿr   )Ú__doc__Ú
__future__r   Z__revision__r   r   r   r   r   ÚjZtest_return_for2Ztest_break_in_orelse_deepZtest_break_in_orelse_deep2Ztest_break_in_orelse_deep3r	   r	   r	   r
   Ú<module>   s    		ÿ