[pypy-svn] r18503 - pypy/dist/pypy/translator/goal

afa at codespeak.net afa at codespeak.net
Wed Oct 12 19:01:26 CEST 2005


Author: afa
Date: Wed Oct 12 19:01:25 2005
New Revision: 18503

Modified:
   pypy/dist/pypy/translator/goal/targetnopstandalone.py
Log:
Adding a comment telling how to build a standalone target


Modified: pypy/dist/pypy/translator/goal/targetnopstandalone.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetnopstandalone.py	(original)
+++ pypy/dist/pypy/translator/goal/targetnopstandalone.py	Wed Oct 12 19:01:25 2005
@@ -1,8 +1,16 @@
+"""
+A simple standalone target.
+
+The target below specifies None as the argument types list.
+This is a case treated specially in driver.py . If the list
+of input types is empty, it is meant to be a list of strings,
+actually implementing argv of the executable.
+"""
+
 import os, sys
 
 def debug(msg): 
     os.write(2, "debug: " + msg + '\n')
-   
 
 # __________  Entry point  __________
 
@@ -14,4 +22,3 @@
 
 def target(*args):
     return entry_point, None
-



More information about the Pypy-commit mailing list