dU&M3-*ddlmZddlmZmZd dZdS) ) annotations)IOCallable file_likeIO[str]return int | Nonecdt|dd}| |S#t$rYdSwxYwdS)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)rr s j/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_vendor/rich/_fileno.py get_filenorsV(/y(D'I'IF  688O   44   4s  --N)rrrr ) __future__rtypingrrrrrsM""""""r