
    ,h                    (    d dl mZ d dlmZmZ ddZy)    )annotations)IOCallablec                P    t        | dd      }|	  |       S y# t        $ r Y yw xY w)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)	file_liker   s     N/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/rich/_fileno.py
get_filenor      s?     (/y(D'IF	8O   	 		s    	%%N)r
   zIO[str]returnz
int | None)
__future__r   typingr   r   r        r   <module>r      s    " r   