관리-도구
편집 파일: utils.cpython-311.pyc
� �܋f� � �R � d Z ddlmZ ddlmZ ddlmZ ddlmZ erddl m Z d d�ZdS )z8This module contains utility functions for scoped nodes.� )�annotations)�Sequence)� TYPE_CHECKING)�AstroidManager)�nodes�name�str�return�+tuple[nodes.Module, Sequence[nodes.NodeNG]]c �� � t � � } |j }n+# t $ r |� � � |j }Y nw xY w| dk r|dfS |j | }n# t $ r d}Y nw xY w||fS )zxLookup a name in the builtin module. Return the list of matching statements and the ast for the builtin module �__dict__� )r �builtins_module�KeyError�clear_cache�locals)r �manager�_builtin_astroid�stmtss �q/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/astroid/nodes/scoped_nodes/utils.py�builtin_lookupr s� � � ���G�3�"�2����� 3� 3� 3�������"�2����3���� �z�����#�#��(8�(?��(E����� � � ����������U�"�"s � �%A �A � A �A+�*A+N)r r r r )�__doc__� __future__r �collections.abcr �typingr �astroid.managerr �astroidr r r � r �<module>r s� �� ?� >� "� "� "� "� "� "� $� $� $� $� $� $� � � � � � � *� *� *� *� *� *�� �������#� #� #� #� #� #r