~ubuntu-branches/ubuntu/karmic/pypy/karmic

« back to all changes in this revision

Viewing changes to pypy/interpreter/test/foointerp.py

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Fayolle
  • Date: 2007-04-13 09:33:09 UTC
  • Revision ID: james.westby@ubuntu.com-20070413093309-yoojh4jcoocu2krz
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
w_foo2 = space.wrap("hello")
 
2
foo2 = "never mind"   # should be hidden by w_foo2
 
3
 
 
4
def foobuilder(w_name):
 
5
    name = space.unwrap(w_name)
 
6
    return space.wrap("hi, %s!" % name)
 
7
 
 
8
from __applevel__ import bar
 
9
fortytwo = bar(space.wrap(6), space.wrap(7))