+
     h  c                  s.    ^ RI Ht ^ RIHtHt R R ltR# )i    )annotations)IOCallablec               s     V ^8  d   QhRRRR/# )i   	file_likezIO[str]Zreturnz
int | None )Zformats   "=/usr/lib/python3.14/site-packages/pip/_vendor/rich/_fileno.py__annotate__r      s      ' j     c                s\    \        V RR4      pVe	    V! 4       # R#   \         d     R# i ; i)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)ZgetattrZ	Exception)r   r   s   & r   
get_filenor	      s?     (/y(D'IF	8O   	 		s    ++N)Z
__future__r    Ztypingr   r   r	   r   r   r   <module>r
      s    " r   