[pypy-svn] r77281 - pypy/branch/jitffi/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Wed Sep 22 21:39:16 CEST 2010
Author: fijal
Date: Wed Sep 22 21:39:14 2010
New Revision: 77281
Modified:
pypy/branch/jitffi/pypy/rlib/jitffi.py
Log:
Some docstrings
Modified: pypy/branch/jitffi/pypy/rlib/jitffi.py
==============================================================================
--- pypy/branch/jitffi/pypy/rlib/jitffi.py (original)
+++ pypy/branch/jitffi/pypy/rlib/jitffi.py Wed Sep 22 21:39:14 2010
@@ -1,7 +1,10 @@
+
class AbstractArg(object):
next = None
class IntArg(AbstractArg):
+ """ An argument holding an integer
+ """
def __init__(self, intval):
self.intval = intval
@@ -10,6 +13,8 @@
funcptr.push_arg(self.intval)
class FloatArg(AbstractArg):
+ """ An argument holding a float
+ """
def __init__(self, floatval):
self.floatval = floatval
@@ -17,7 +22,6 @@
def push(self, funcptr):
funcptr.push_arg(self.floatval)
-
class Func(object):
def __init__(self, funcptr):
More information about the Pypy-commit
mailing list