관리-도구
편집 파일: _fileno.cpython-312.pyc
� G��e � �( � d dl mZ d dlmZmZ dd�Zy)� )�annotations)�IO�Callablec �P � t | dd� }|� |� S y# t $ r Y yw xY w)z�Get 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 ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py� get_filenor s? � � (/�y�(�D�'I�F� �� ��8�O� �� � � � �s � � %�%N)r zIO[str]�returnz int | None)� __future__r �typingr r r � � r �<module>r s �� "� �r