Commit 71a97ed2 by Chris Jerdonek

Added docstrings to all modules to avoid doctest bug 14649: http://bugs.python.org/issue14649

parent 15e6db66
"""
TODO: add a docstring.
"""
# We keep all initialization code in a separate module.
# TODO: consider doing something like this instead:
# from pystache.init import __version__, render, Renderer, TemplateSpec
......
# coding: utf-8
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class SayHello(object):
......
"""
TODO: add a docstring.
"""
class Comments(object):
def title(self):
......
"""
TODO: add a docstring.
"""
class Complex(object):
def header(self):
......
"""
TODO: add a docstring.
"""
class Delimiters(object):
def first(self):
......
"""
TODO: add a docstring.
"""
class DoubleSection(object):
def t(self):
......
"""
TODO: add a docstring.
"""
class Escaped(object):
def title(self):
......
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class Inverted(object):
......
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
def rot(s, n=13):
......
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class NestedContext(TemplateSpec):
......
"""
TODO: add a docstring.
"""
from pystache.tests.examples.lambdas import rot
class PartialsWithLambdas(object):
......
"""
TODO: add a docstring.
"""
class SayHello(object):
def to(self):
return "Pizza"
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class Simple(TemplateSpec):
......
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class TemplatePartial(TemplateSpec):
......
"""
TODO: add a docstring.
"""
class Unescaped(object):
def title(self):
......
"""
TODO: add a docstring.
"""
from pystache import TemplateSpec
class UnicodeInput(TemplateSpec):
......
# encoding: utf-8
"""
TODO: add a docstring.
"""
class UnicodeOutput(object):
def name(self):
......
# encoding: utf-8
"""
TODO: add a docstring.
"""
import unittest
from examples.comments import Comments
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment