summaryrefslogtreecommitdiff
path: root/tools/quickbook/test/snippets/pass_thru.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/quickbook/test/snippets/pass_thru.py')
-rw-r--r--tools/quickbook/test/snippets/pass_thru.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/quickbook/test/snippets/pass_thru.py b/tools/quickbook/test/snippets/pass_thru.py
new file mode 100644
index 0000000000..412cee420f
--- /dev/null
+++ b/tools/quickbook/test/snippets/pass_thru.py
@@ -0,0 +1,13 @@
+# Copyright (c) 2011 Daniel James
+#
+# Use, modification and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+#[foo_py
+def foo:
+ #=print('foo')
+ #<-
+ print('bar')
+ #->
+#] \ No newline at end of file