Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/werkzeug/debug/__pycache__/repr.cpython-39.pyc
Ðазад
a ^�h% � @ s d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl mZ e� Z e�d�Zee�ZdZdZeed �d d�Ze fedd �dd �ZG dd� d�Ze� Zeeejejejejdf f ed�dd�Zdeeejeejdeje gef d�dd�Z!G dd� d�Z"dS )z�Object representations for debugging purposes. Unlike the default repr, these expose more information and produce HTML instead of ASCII. Together with the CSS and JavaScript of the debugger this gives a colorful and more compact output. � N)�deque)�escape)�format_exception_onlyz(?:\r\n|\r|\n){2,}zL<div class=box> <h3>%(title)s</h3> <pre class=help>%(text)s</pre> </div>zQ<div class=box> <h3>%(title)s</h3> %(repr)s <table>%(items)s</table> </div>��obj�returnc C s t � �| �S )z1Creates a debug repr of an object as HTML string.)�DebugReprGenerator�repr)r � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/werkzeug/debug/repr.py� debug_repr"