File: sample_module_namespace.py

package info (click to toggle)
mako 1.0.6%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,556 kB
  • ctags: 1,495
  • sloc: python: 11,807; makefile: 167
file content (7 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
def foo1(context):
    context.write("this is foo1.")
    return ''
 
def foo2(context, x):
    context.write("this is foo2, x is " + x)
    return ''