/opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__/constraint.cpython-311.pyc (7031B)
§
G¾~æ6÷ ã ó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 úd/builddir/build/BUILD/cloudlinux-venv-1.0.12/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&