Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
71a97ed2
Commit
71a97ed2
authored
Apr 23, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added docstrings to all modules to avoid doctest bug 14649:
http://bugs.python.org/issue14649
parent
15e6db66
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
105 additions
and
0 deletions
+105
-0
pystache/__init__.py
+6
-0
pystache/tests/data/views.py
+5
-0
pystache/tests/examples/comments.py
+6
-0
pystache/tests/examples/complex.py
+6
-0
pystache/tests/examples/delimiters.py
+6
-0
pystache/tests/examples/double_section.py
+6
-0
pystache/tests/examples/escaped.py
+6
-0
pystache/tests/examples/inverted.py
+6
-0
pystache/tests/examples/lambdas.py
+6
-0
pystache/tests/examples/nested_context.py
+6
-0
pystache/tests/examples/partials_with_lambdas.py
+6
-0
pystache/tests/examples/readme.py
+6
-0
pystache/tests/examples/simple.py
+6
-0
pystache/tests/examples/template_partial.py
+6
-0
pystache/tests/examples/unescaped.py
+6
-0
pystache/tests/examples/unicode_input.py
+6
-0
pystache/tests/examples/unicode_output.py
+5
-0
pystache/tests/test_examples.py
+5
-0
No files found.
pystache/__init__.py
View file @
71a97ed2
"""
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
...
...
pystache/tests/data/views.py
View file @
71a97ed2
# coding: utf-8
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
SayHello
(
object
):
...
...
pystache/tests/examples/comments.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
Comments
(
object
):
def
title
(
self
):
...
...
pystache/tests/examples/complex.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
Complex
(
object
):
def
header
(
self
):
...
...
pystache/tests/examples/delimiters.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
Delimiters
(
object
):
def
first
(
self
):
...
...
pystache/tests/examples/double_section.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
DoubleSection
(
object
):
def
t
(
self
):
...
...
pystache/tests/examples/escaped.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
Escaped
(
object
):
def
title
(
self
):
...
...
pystache/tests/examples/inverted.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
Inverted
(
object
):
...
...
pystache/tests/examples/lambdas.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
def
rot
(
s
,
n
=
13
):
...
...
pystache/tests/examples/nested_context.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
NestedContext
(
TemplateSpec
):
...
...
pystache/tests/examples/partials_with_lambdas.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache.tests.examples.lambdas
import
rot
class
PartialsWithLambdas
(
object
):
...
...
pystache/tests/examples/readme.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
SayHello
(
object
):
def
to
(
self
):
return
"Pizza"
pystache/tests/examples/simple.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
Simple
(
TemplateSpec
):
...
...
pystache/tests/examples/template_partial.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
TemplatePartial
(
TemplateSpec
):
...
...
pystache/tests/examples/unescaped.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
class
Unescaped
(
object
):
def
title
(
self
):
...
...
pystache/tests/examples/unicode_input.py
View file @
71a97ed2
"""
TODO: add a docstring.
"""
from
pystache
import
TemplateSpec
class
UnicodeInput
(
TemplateSpec
):
...
...
pystache/tests/examples/unicode_output.py
View file @
71a97ed2
# encoding: utf-8
"""
TODO: add a docstring.
"""
class
UnicodeOutput
(
object
):
def
name
(
self
):
...
...
pystache/tests/test_examples.py
View file @
71a97ed2
# encoding: utf-8
"""
TODO: add a docstring.
"""
import
unittest
from
examples.comments
import
Comments
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment