File: //lib/python3/dist-packages/markdown_it/__pycache__/token.cpython-311.pyc
�
�&d� � � � d dl mZ d dlmZmZ d dlZd dlmZ d dl Z d dl
mZ dd �Z ej
d
i e�� G d
� d� � � � ZdS )� )�annotations)�Callable�MutableMappingN)�Any)�DATACLASS_KWARGS�valuer �returnc �V � | si S t | t � � rt | � � S | S )z�Convert Token.attrs set as ``None`` or ``[[key, value], ...]`` to a dict.
This improves compatibility with upstream markdown-it.
)�
isinstance�list�dict)r s �3/usr/lib/python3/dist-packages/markdown_it/token.py�
convert_attrsr s4 � �
� �� ��%���� ��E�{�{���L� c �| � e Zd ZU ded<