Commits

Anonymous committed 670b968

Module pypy.rlib has been moved to rpython.rlib. Updated all docs and code to reflect this.

Comments (0)

Files changed (4)

 # So that you can still run this module under standard CPython, I add this
 # import guard that creates a dummy class instead.
 try:
-    from pypy.rlib.jit import JitDriver
+    from rpython.rlib.jit import JitDriver
 except ImportError:
     class JitDriver(object):
         def __init__(self,**kw): pass
 # So that you can still run this module under standard CPython, I add this
 # import guard that creates a dummy class instead.
 try:
-    from pypy.rlib.jit import JitDriver
+    from rpython.rlib.jit import JitDriver
 except ImportError:
     class JitDriver(object):
         def __init__(self,**kw): pass
 # So that you can still run this module under standard CPython, I add this
 # import guard that creates a dummy class instead.
 try:
-    from pypy.rlib.jit import JitDriver, purefunction
+    from rpython.rlib.jit import JitDriver, purefunction
 except ImportError:
     class JitDriver(object):
         def __init__(self,**kw): pass
 So let's tell PyPy this info. Start by importing the JitDriver class and making
 an instance::
 
-    from pypy.rlib.jit import JitDriver
+    from rpython.rlib.jit import JitDriver
     jitdriver = JitDriver(greens=['pc', 'program', 'bracket_map'],
             reds=['tape'])
     
 dictionary query is a pure function, that is, its output depends *only* on its
 inputs and the same inputs should always return the same output.
 
-To do this, we use a provided function decorator pypy.rlib.jit.purefunction,
+To do this, we use a provided function decorator rpython.rlib.jit.purefunction,
 and wrap the dictionary call in a decorated function::
 
     @purefunction
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.