Debian Codegraph @

test cases/cython/2 generated sources/libdir/gen.py

raw
1 # SPDX-License-Identifier: Apache-2.0
2
3 import argparse
4 import textwrap
5
6 parser = argparse.ArgumentParser()
7 parser.add_argument('output')
8 args = parser.parse_args()
9
10 with open(args.output, 'w', encoding='utf-8') as f:
11 f.write(textwrap.dedent('''\
12 cpdef func():
13 return "Hello, World!"
14 '''))