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
c76e2345
Commit
c76e2345
authored
Dec 28, 2011
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple docstring tweaks.
parent
761ccf44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
pystache/renderengine.py
+1
-1
pystache/view.py
+6
-6
No files found.
pystache/renderengine.py
View file @
c76e2345
...
...
@@ -48,7 +48,7 @@ class RenderEngine(object):
"""
Provides a render() method.
This class is meant only for internal use
by the Template class
.
This class is meant only for internal use.
As a rule, the code in this class operates on unicode strings where
possible rather than, say, strings of type str or markupsafe.Markup.
...
...
pystache/view.py
View file @
c76e2345
...
...
@@ -26,12 +26,12 @@ class View(object):
Arguments:
partials:
the object (e.g. pystache.Loader or dictionary)
responsible for loading partials during the rendering process.
The object should have a get() method that accepts a string and
returns
the corresponding template as a string, preferably as a
unicode string. The method should return None if there is
no
template with that name, or raise an exception.
partials:
a custom object (e.g. dictionary) responsible for
loading partials during the rendering process. The object
should have a get() method that accepts a string and returns
the corresponding template as a string, preferably as a
unicode string. The method should return None if there is
no
template with that name, or raise an exception.
"""
if
template
is
not
None
:
...
...
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