[pypy-commit] pypy default: Document who is using this case
arigo
noreply at buildbot.pypy.org
Tue Jun 9 10:34:45 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r77977:f5c8f6b5aca5
Date: 2015-06-09 08:29 +0100
http://bitbucket.org/pypy/pypy/changeset/f5c8f6b5aca5/
Log: Document who is using this case
diff --git a/rpython/translator/c/node.py b/rpython/translator/c/node.py
--- a/rpython/translator/c/node.py
+++ b/rpython/translator/c/node.py
@@ -932,7 +932,7 @@
assert fnobj.external == 'CPython'
return [CExternalFunctionCodeGenerator(fnobj, db)]
elif hasattr(fnobj._callable, "c_name"):
- return []
+ return [] # this case should only be used for entrypoints
else:
raise ValueError("don't know how to generate code for %r" % (fnobj,))
More information about the pypy-commit
mailing list