文件操作 - _stan.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/twisted/web/__pycache__/_stan.cpython-310.pyc
编辑文件内容
o �b�* � @ s� d Z ddlmZmZ ddlmZmZmZmZm Z ddl mZ ddlZer*ddl mZ ejdddd �G d d� d��Zejddddd�G d d� d��ZdZejddddd�G dd� d��Zejddddd�G dd� d��Zejddddd�G dd� d��ZdS )aC An s-expression-like syntax for expressing xml in pure python. Stan tags allow you to build XML documents using Python. Stan is a DOM, or Document Object Model, implemented using basic Python types and functions called "flatteners". A flattener is a function that knows how to turn an object of a specific type into something that is closer to an HTML string. Stan differs from the W3C DOM by not being as cumbersome and heavy weight. Since the object model is built using simple python types such as lists, strings, and dictionaries, the API is simpler and constructing a DOM less cumbersome. @var voidElements: the names of HTML 'U{void elements<http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#void-elements>}'; those which can't have contents and can therefore be self-closing in the output. � )�iscoroutine�isgenerator)� TYPE_CHECKING�Dict�List�Optional�Union)�warnN)�FlattenableFT)�hash�eq�auto_attribsc @ s~ e Zd ZU dZeed<