File: //usr/lib/python3/dist-packages/docutils/parsers/rst/__pycache__/tableparser.cpython-310.pyc
o
�?�] R � @ s| d Z dZddlZddlZddlmZ ddlmZ G dd� de�ZG dd � d e �Z
G d
d� de
�ZG dd
� d
e
�Zdd� Z
dS )a�
This module defines table parser classes,which parse plaintext-graphic tables
and produce a well-formed data structure suitable for building a CALS table.
:Classes:
- `GridTableParser`: Parse fully-formed tables represented with a grid.
- `SimpleTableParser`: Parse simple tables, delimited by top & bottom
borders.
:Exception class: `TableMarkupError`
:Function:
`update_dict_of_lists()`: Merge two dictionaries containing list values.
�reStructuredText� N)� DataError��strip_combining_charsc @ s e Zd ZdZdd� ZdS )�TableMarkupErrorz�
Raise if there is any problem with table markup.
The keyword argument `offset` denotes the offset of the problem
from the table's start line.
c O s$ |� dd�| _tj| g|�R � d S )N�offsetr )�popr r �__init__)�self�args�kwargs� r
�B/usr/lib/python3/dist-packages/docutils/parsers/rst/tableparser.pyr &