
    mi                    6    d dl mZ d dlmZ d dlmZmZ d
dZd	S )    )annotations)FuncIR)CallCPrimitiveOpfnr   returnset[str] | Nonec                    d}| j         D ]r}|j        D ]h}t          |t                    r2|j        +|t                      }|                    |j                   It          |t                    r
J d            is|S )ay  Find implicit dependencies on capsules that need to be imported.

    Using primitives or types defined in librt submodules such as "librt.base64"
    requires a capsule import.

    Note that a module can depend on a librt module even if it doesn't explicitly
    import it, for example via re-exported names or via return types of functions
    defined in other modules.
    NzLowered IR is expected)blocksops
isinstancer   capsulesetaddr   )r   depsblockops       s/var/www/html/bestrading.cuttalo.com/scripts/kaggle-env/lib/python3.11/site-packages/mypyc/analysis/capsule_deps.py"find_implicit_capsule_dependenciesr      s     !D Q Q) 	Q 	QB"e$$ Q)?<55D$$$$%b+66PP8PPPPP	Q K    N)r   r   r   r	   )
__future__r   mypyc.ir.func_irr   mypyc.ir.opsr   r   r    r   r   <module>r      s_    " " " " " " # # # # # # + + + + + + + +     r   