[pypy-svn] r24326 - in pypy/dist/pypy: annotation translator/test

tismer at codespeak.net tismer at codespeak.net
Tue Mar 14 03:48:03 CET 2006


Author: tismer
Date: Tue Mar 14 03:47:52 2006
New Revision: 24326

Modified:
   pypy/dist/pypy/annotation/registry.py
   pypy/dist/pypy/translator/test/test_extension.py
Log:
shuffled doc strings where they belong. Hey, I seem to be a rare animal in this project, writing doc strings

Modified: pypy/dist/pypy/annotation/registry.py
==============================================================================
--- pypy/dist/pypy/annotation/registry.py	(original)
+++ pypy/dist/pypy/annotation/registry.py	Tue Mar 14 03:47:52 2006
@@ -3,8 +3,14 @@
 
 Reason: building extension modules.
 
-This is a first attempt to have a way to declare what
-we cannot translate, but want to get handled in some way.
+A simple approach to support building extension modules.
+The key idea is to provide a mechanism to record certain objects
+and types to be recognized as SomeObject, to be created using imports
+without trying to further investigate them.
+
+This is intentionally using global dicts, since what we can
+translate is growing in time, but usually nothing you want
+to configure dynamically.
 """
 
 import sys

Modified: pypy/dist/pypy/translator/test/test_extension.py
==============================================================================
--- pypy/dist/pypy/translator/test/test_extension.py	(original)
+++ pypy/dist/pypy/translator/test/test_extension.py	Tue Mar 14 03:47:52 2006
@@ -3,16 +3,7 @@
 from pypy import conftest
 from py.test import raises
 
-"""
-This is a simple approach to support building extension moduels.
-The key idea is to provide a mechanism to record certain objects
-and types to be recognized as SomeObject, to be created using imports
-without trying to further investigate them.
-
-This is intentionally using global dicts, since what we can
-translate is growing in time, but usually nothing you want
-to configure dynamically.
-"""
+# see annotation/registry for comments
 
 def get_annotation(func):
     argstypelist = []



More information about the Pypy-commit mailing list