idRdZddlmZddlmZddlmZddlmZerddl m Z d d Z d S)z8This module contains utility functions for scoped nodes.) annotations)Sequence) TYPE_CHECKING)AstroidManager)nodesnamestrreturn+tuple[nodes.Module, Sequence[nodes.NodeNG]]ct} |j}n+#t$r||j}YnwxYw|dkr|dfS |j|}n#t$rd}YnwxYw||fS)zxLookup a name in the builtin module. Return the list of matching statements and the ast for the builtin module __dict__)rbuiltins_moduleKeyError clear_cachelocals)rmanager_builtin_astroidstmtss U/opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/nodes/scoped_nodes/utils.pybuiltin_lookuprs G3"2 333"23 z##(8(?(E  U ""s %AA A A+*A+N)rr r r ) __doc__ __future__rcollections.abcrtypingrastroid.managerrastroidrrrrrs ?>""""""$$$$$$ ******######r