pmacs3/code_examples/python-overrides.py

13 lines
326 B
Python

def do_junk(*args):
#@@:string:sql
s = "select * from foo where bar = 99;"
s = "select * from foo where bar = 99;"
#@@:string:xml
s = "<foo blah='3'>bar</foo>"
s = "<foo blah='3'>bar</foo>"
#@@:string:python
s = "lambda x, y: 'result: %d' % x + y"
s = "lambda x, y: 'result: %d' % x + y"