HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/rich/__pycache__/_fileno.cpython-310.pyc
o

;j�@s*ddlmZddlmZmZd
dd�Zd	S)�)�annotations)�IO�Callable�	file_like�IO[str]�return�
int | NonecCs6t|dd�}|durz|�WStyYdSwdS)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)rr	�r�@/opt/saltstack/salt/lib/python3.10/site-packages/rich/_fileno.py�
get_filenos	�rN)rrrr)�
__future__r�typingrrrrrrr
�<module>s