1. brownan
  2. pypy-tutorial

Commits

snim2  committed 42135b1

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

  • Participants
  • Parent commits 670b968
  • Branches default

Comments (0)

Files changed (4)

File example3.py

View file
  • Ignore whitespace
     return entry_point, None
     
 def jitpolicy(driver):
-    from pypy.jit.codewriter.policy import JitPolicy
+    from rpython.jit.codewriter.policy import JitPolicy
     return JitPolicy()
 
 if __name__ == "__main__":

File example4.py

View file
  • Ignore whitespace
     return entry_point, None
     
 def jitpolicy(driver):
-    from pypy.jit.codewriter.policy import JitPolicy
+    from rpython.jit.codewriter.policy import JitPolicy
     return JitPolicy()
 
 if __name__ == "__main__":

File example5.py

View file
  • Ignore whitespace
     return entry_point, None
     
 def jitpolicy(driver):
-    from pypy.jit.codewriter.policy import JitPolicy
+    from rpython.jit.codewriter.policy import JitPolicy
     return JitPolicy()
 
 if __name__ == "__main__":

File tutorial.rst

View file
  • Ignore whitespace
 all we need somewhere in the file::
 
     def jitpolicy(driver):
-        from pypy.jit.codewriter.policy import JitPolicy
+        from rpython.jit.codewriter.policy import JitPolicy
         return JitPolicy()
         
 See this example at `<example3.py>`_