Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/IPython/utils/__pycache__/strdispatch.cpython-39.pyc
Ðазад
a o�h. � @ s, d Z ddlZddlmZ G dd� de�ZdS )z>String dispatch class to match regexps and dispatch commands. � N)�CommandChainDispatcherc @ sL e Zd ZdZdd� Zddd�Zddd�Zd d � Zdd� Zd d� Z dd� Z dS )�StrDispatcha Dispatch (lookup) a set of strings / regexps for match. Example: >>> dis = StrDispatch() >>> dis.add_s('hei',34, priority = 4) >>> dis.add_s('hei',123, priority = 2) >>> dis.add_re('h.i', 686) >>> print(list(dis.flat_matches('hei'))) [123, 34, 686] c C s i | _ i | _d S )N��strs�regexs��self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/IPython/utils/strdispatch.py�__init__ s zStrDispatch.__init__r c C s* | j �|t� �}|�||� || j |<