Source

pypy / pypy / doc / rffi.rst

Diff from to

pypy/doc/rffi.rst

 lltype.Signed or lltype.Array) and memory management must be done
 by hand. To declare a function, we write::
 
-  from pypy.rpython.lltypesystem import rffi
+  from rpython.rtyper.lltypesystem import rffi
 
   external_function = rffi.llexternal(name, args, result)
 
 libraries and sources by passing in the optional ``compilation_info``
 parameter::
 
-  from pypy.rpython.lltypesystem import rffi
+  from rpython.rtyper.lltypesystem import rffi
   from rpython.translator.tool.cbuild import ExternalCompilationInfo
 
   info = ExternalCompilationInfo(includes=[], libraries=[])