view genshi/template/__init__.py @ 904:2772fa7c10a3

The `|` operator on `Attrs` objects now removes any existing attributes if the value is `None`.
author cmlenz
date Wed, 28 Apr 2010 21:25:12 +0000
parents 7145e4eba2ec
children c7dcd4dc240d
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006-2007 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://genshi.edgewall.org/log/.

"""Implementation of the template engine."""

from genshi.template.base import Context, Template, TemplateError, \
                                 TemplateRuntimeError, TemplateSyntaxError, \
                                 BadDirectiveError
from genshi.template.loader import TemplateLoader, TemplateNotFound
from genshi.template.markup import MarkupTemplate
from genshi.template.text import TextTemplate, OldTextTemplate, NewTextTemplate

__docformat__ = 'restructuredtext en'
Copyright (C) 2012-2017 Edgewall Software