HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/rich/__pycache__/_fileno.cpython-311.pyc
�

�;f��*�ddlmZddlmZmZd	d�ZdS)
�)�annotations)�IO�Callable�	file_like�IO[str]�return�
int | Nonec�d�t|dd��}|�	|��S#t$rYdSwxYwdS)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)rrs  �?/opt/alt/python311/lib/python3.11/site-packages/rich/_fileno.py�
get_filenorsV��(/�y�(�D�'I�'I�F�
��	��6�8�8�O���	�	�	��4�4�		����
�4s�	�
-�-N)rrrr	)�
__future__r�typingrrr��r�<module>rsM��"�"�"�"�"�"��������������r