Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/jedi/api/__pycache__/errors.cpython-39.pyc
Ðазад
a j�h� � @ s d Z dd� ZG dd� d�ZdS )zU This file is about errors in Python files and not about exception handling in Jedi. c C s dd� | � |�D �S )Nc S s g | ]}t |��qS � )�SyntaxError)�.0�er r �/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/jedi/api/errors.py� <listcomp> � z(parso_to_jedi_errors.<locals>.<listcomp>)Ziter_errors)ZgrammarZmodule_noder r r �parso_to_jedi_errors s r c @ sX e Zd ZdZdd� Zedd� �Zedd� �Zedd � �Zed d� �Z dd � Z dd� ZdS )r zK Syntax errors are generated by :meth:`.Script.get_syntax_errors`. c C s || _ d S �N)�_parso_error)�selfZparso_errorr r r �__init__ s zSyntaxError.__init__c C s | j jd S )z2The line where the error starts (starting with 1).� �r � start_pos�r r r r �line s zSyntaxError.linec C s | j jd S )z4The column where the error starts (starting with 0).� r r r r r �column s zSyntaxError.columnc C s | j jd S )z0The line where the error ends (starting with 1).r �r �end_posr r r r � until_line s zSyntaxError.until_linec C s | j jd S )z2The column where the error ends (starting with 0).r r r r r r �until_column! s zSyntaxError.until_columnc C s | j jS r )r �messager r r r �get_message&