| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /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