Python: examples: import explicit BT modules
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 9 Dec 2014 23:51:25 +0000 (18:51 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Feb 2015 20:56:27 +0000 (15:56 -0500)
commit62c4fc67ea53c46da135f0e91cbd31f722817289
tree2f342e8515b56d45814fa9f018b59fbef3db8b99
parentbe5a4e673f4603dd4867e945ee6054de41be78c2
Python: examples: import explicit BT modules

The best practice in Python is generally to import
explicit modules rather than importing all its exposed
members.

This also makes the examples hide the fact that
reader/writer members are exposed directly by the package,
whereas this is only a backward compatibility layer now.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/examples/babeltrace_and_lttng.py
bindings/python/examples/ctf_writer.py
bindings/python/examples/example-api-test.py
bindings/python/examples/sched_switch.py
bindings/python/examples/sequence_test.py
This page took 0.024763 seconds and 4 git commands to generate.