[pypy-svn] r23578 - pypy/dist/pypy/annotation
tismer at codespeak.net
tismer at codespeak.net
Tue Feb 21 23:41:06 CET 2006
Author: tismer
Date: Tue Feb 21 23:41:03 2006
New Revision: 23578
Modified:
pypy/dist/pypy/annotation/bookkeeper.py
Log:
typo. this is most probably meant as >= 0
Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py (original)
+++ pypy/dist/pypy/annotation/bookkeeper.py Tue Feb 21 23:41:03 2006
@@ -316,7 +316,7 @@
elif tp is r_ulonglong:
result = SomeInteger(nonneg = True, unsigned = True, size = 2)
elif tp is r_longlong:
- result = SomeInteger(nonneg = x>0, size = 2)
+ result = SomeInteger(nonneg = x>=0, size = 2)
elif issubclass(tp, str): # py.lib uses annotated str subclasses
if len(x) == 1:
result = SomeChar()
More information about the Pypy-commit
mailing list