summaryrefslogtreecommitdiff
path: root/scipy/weave/examples/object.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-11-22 13:51:15 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-11-22 13:51:15 +0000
commit3180d78e34fa1a661e46b1475b89f8480d93766b (patch)
tree2291457978080cd72a1ae2a43b7c9757941b3b2a /scipy/weave/examples/object.py
parent20ba22538a5bc921032420bbfe0a886952d37335 (diff)
downloadnumpy-3180d78e34fa1a661e46b1475b89f8480d93766b.tar.gz
Some more fixes to weave.
Diffstat (limited to 'scipy/weave/examples/object.py')
-rw-r--r--scipy/weave/examples/object.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy/weave/examples/object.py b/scipy/weave/examples/object.py
index b69adbbe6..286591613 100644
--- a/scipy/weave/examples/object.py
+++ b/scipy/weave/examples/object.py
@@ -3,7 +3,7 @@
# inc result: 2
# after set attr: 5
-import weave
+import scipy.weave as weave
#----------------------------------------------------------------------------
# get/set attribute and call methods example
@@ -48,4 +48,4 @@ code = """
obj[i] = "goodbye";
"""
weave.inline(code,['obj'])
-print "obj with new values:", obj \ No newline at end of file
+print "obj with new values:", obj