File: //usr/lib/python3/dist-packages/mercurial/__pycache__/minirst.cpython-310.pyc
o
�]Lb�t �
@ s� d Z ddlmZ ddlZddlmZ ddlmZmZm Z ddl
mZ dd � Zd
d� Z
dd
� Zdd� Zdd� Zdd� Ze�d�Zdd� Zdd� Ze�d�Ze�d�Ze�d�Ze�d�Ze�d�Zdd� Zd Zd!d"� Zd#d$� Zd%d&� Ze�d'�Z d(d)� Z!d*d+� Z"d,d-� Z#d.d/� Z$d0d1� Z%d2d3� Z&dWd4d5�Z'ed6�ed7�ed8�ed9�ed:�ed;�ed<�ed=�ed>�d?� Z(d@dA� Z)dBdC� Z*dDdE� Z+dXdFdG�Z,dHdI� Z-dJdK� Z.dYdNdO�Z/dPdQ� Z0dRdS� Z1dZdUdV�Z2dS )[a� simplified reStructuredText parser.
This parser knows just enough about reStructuredText to parse the
Mercurial docstrings.
It cheats in a major way: nested blocks are not really nested. They
are just indented blocks that look like they are nested. This relies
on the user to keep the right indentation for the blocks.
Remember to update https://mercurial-scm.org/wiki/HelpStyleGuide
when adding support for new constructs.
� )�absolute_importN� )�_)�encoding�pycompat�url)�
stringutilc C � d| dt �| � f S )N� %s
%s
� "�r �colwidth��s� r �3/usr/lib/python3/dist-packages/mercurial/minirst.py�section"