aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/py')
-rw-r--r--examples/py/BUILD1
-rw-r--r--examples/py/bin.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/py/BUILD b/examples/py/BUILD
index 314bc16ef5..39ef8c0452 100644
--- a/examples/py/BUILD
+++ b/examples/py/BUILD
@@ -8,7 +8,6 @@ py_library(
py_binary(
name = "bin",
srcs = ["bin.py"],
- legacy_create_init = False,
deps = [":lib"],
)
diff --git a/examples/py/bin.py b/examples/py/bin.py
index cdc01c4b65..f4a6666ddd 100644
--- a/examples/py/bin.py
+++ b/examples/py/bin.py
@@ -1,3 +1,3 @@
-import lib
+from examples.py import lib
print("Fib(5)=%d" % lib.Fib(5))