3
mҗO"                 @   sH   d Z ddlZddlmZ eZddlmZ ddlmZ deiZ	dd	 Z
dS )
z
    tinycss
    -------

    A CSS parser, and nothing else.

    :copyright: (c) 2012 by Simon Sapin.
    :license: BSD, see LICENSE for more details.
    N   )VERSION)CSS21Parser)CSSPage3Parserpage3c              O   s8   | r*t dd | D }td|tf i }nt}|f |S )u  Make a parser object with the chosen features.

    :param features:
        Positional arguments are base classes the new parser class will extend.
        The string ``'page3'`` is accepted as short for
        :class:`~page3.CSSPage3Parser`.
    :param kwargs:
        Keyword arguments are passed to the parser’s constructor.
    :returns:
        An instance of a new subclass of :class:`CSS21Parser`

    c             s   s   | ]}t j||V  qd S )N)PARSER_MODULESget).0f r   P/var/www/html/enquirykeeper_venv/lib/python3.6/site-packages/tinycss/__init__.py	<genexpr>(   s    zmake_parser.<locals>.<genexpr>ZCustomCSSParser)tupletyper   )featureskwargsbasesZparser_classr   r   r   make_parser   s
    r   )__doc__sysversionr   __version__Zcss21r   r   r   r   r   r   r   r   r   <module>
   s   