File: //lib/python3/dist-packages/twisted/web/__pycache__/sux.cpython-310.pyc
o
�b�Q � @ s� d Z ddlmZ ddlmZ dZdZdZdZed Z dd � Z
d
d� Zdd
� Zdd� Z
dd� ZG dd� de�ZG dd� de�ZdS )a�
*S*mall, *U*ncomplicated *X*ML.
This is a very simple implementation of XML/HTML as a network
protocol. It is not at all clever. Its main features are that it
does not:
- support namespaces
- mung mnemonic entity references
- validate
- perform *any* external actions (such as fetching URLs or writing files)
under *any* circumstances
- has lots and lots of horrible hacks for supporting broken HTML (as an
option, they're not on by default).
� )�Protocol��prefixedMethodNames� � z.-_:z;+#/%~c O � dS )zDo nothing.N� )�args�kwr r �1/usr/lib/python3/dist-packages/twisted/web/sux.py�nop$ s r c G s. g }| D ]}|� |� qdd� |D �}|�� S )Nc S s i | ]}|d �qS )r r ��.0�xr r r �
<dictcomp>, s zunionlist.<locals>.<dictcomp>)�extend�keys)r �lr �dr r r � unionlist( s
r c sH |� dt�� i }tdd� | D �� D ]�t� �fdd�| D ��|�<