Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/jedi/inference/value/__pycache__/dynamic_arrays.cpython-39.pyc
Ðазад
a j�hg � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZmZm Z m Z ddlmZ ddl mZ ddlmZ e� Zd d � Zeed�ejdd � ��Zdd� ZG dd� de �ZG dd� de �ZG dd� de�ZG dd� de�ZdS )a� A module to deal with stuff like `list.append` and `set.add`. Array modifications ******************* If the content of an array (``set``/``list``) is requested somewhere, the current module will be checked for appearances of ``arr.append``, ``arr.insert``, etc. If the ``arr`` name points to an actual array, the content will be added This can be really cpu intensive, as you can imagine. Because |jedi| has to follow **every** ``append`` and check whether it's the right array. However this works pretty good, because in *slow* cases, the recursion detector and other settings will stop this process. It is important to note that: 1. Array modifications work only in the current module. 2. Jedi only checks Array additions; ``list.pop``, etc are ignored. � )�debug)�settings)� recursion)�ValueSet� NO_VALUES�HelperValueMixin�ValueWrapper)�LazyKnownValues)�infer_call_of_leaf)�inference_state_method_cachec C s |j dvrtS t| |�S )zI Just a mapper function for the internal _internal_check_array_additions )�list�set)Z array_typer �_internal_check_array_additions)�context�sequence� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/jedi/inference/value/dynamic_arrays.py�check_array_additions"