
    )i                    *    S SK Jr  S SKJrJr  SS jrg)    )annotations)IOCallablec                T    [        U SS5      nUb   U" 5       $ g! [         a     gf = f)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     L/var/www/html/land-doc-ocr/venv/lib/python3.13/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   