Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__/ |
Upload File : |
� � h� � �D � d Z ddlmZ ddlZddlmZmZ ddlmZ ddl m Z ddlmZm Z mZ ddlmZ ej d k rdd l mZ ndd lmZ e e j e j e j e j f Z G d� de� � Z G d � de� � Zd!d�Z eef� � Z d"d�Z d#d$d �ZdS )%zHClasses representing different types of constraints on inference values.� )�annotationsN)�ABC�abstractmethod)�Iterator)�Union)�bases�nodes�util)�InferenceResult)� � )�Selfc �^ � e Zd ZdZdd�Zee ddd�� � � � Zedd�� � ZdS )� Constraintz-Represents a single constraint on a variable.�node�nodes.NodeNG�negate�bool�return�Nonec �$ � || _ || _ d S )N�r r )�selfr r s �c/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/astroid/constraint.py�__init__zConstraint.__init__ s � ��� �7����Q�Q� F�cls� type[Self]� _NameNodes�expr�Self | Nonec � � dS )z�Return a new constraint for node matched from expr, if expr matches the constraint pattern. If negate is True, negate the constraint. N� )r r r r s r �matchzConstraint.match! � � � � r �inferredr c � � dS )�HReturn True if this constraint is satisfied by the given inferred value.Nr# �r r&