| Server IP : 139.59.63.204 / Your IP : 216.73.216.39 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/rich/__pycache__/ |
Upload File : |
�
"T�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 �./usr/lib/python3/dist-packages/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