File: sample_module_namespace.py

package info (click to toggle)
mako 1.3.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,424 kB
  • sloc: python: 12,492; makefile: 129; sh: 17
file content (8 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
def foo1(context):
    context.write("this is foo1.")
    return ""


def foo2(context, x):
    context.write("this is foo2, x is " + x)
    return ""