
    жvg                    *    d dl mZ d dlmZmZ d	dZdS )
    )annotations)IOCallable	file_likeIO[str]return
int | Nonec                d    t          | dd          }|	  |            S # t          $ r Y dS w xY wdS )zGet fileno() from a file, accounting for poorly implemented file-like objects.

    Args:
        file_like (IO): A file-like object.

    Returns:
        int | None: The result of fileno if available, or None if operation failed.
    filenoN)getattr	Exception)r   r   s     U/var/www/pixelcanvas.ch/venv/lib/python3.11/site-packages/pip/_vendor/rich/_fileno.py
get_filenor      sV     (/y(D'I'IF	688O 	 	 	 44		
 4s   	 
--N)r   r   r   r	   )
__future__r   typingr   r   r        r   <module>r      sM    " " " " " "             r   