"Te(ddlmZddlmZmZddZy)) annotations)IOCallablecPt|dd}| |Sy#t$rYywxYw)zGet 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_likers ./usr/lib/python3/dist-packages/rich/_fileno.py get_filenor s?(/y(D'IF  8O     s  %%N)r zIO[str]returnz int | None) __future__rtypingrrr r rs"r