[prev in list] [next in list] [prev in thread] [next in thread]
List: pypy-svn
Subject: [pypy-svn] r9518 - pypy/dist/pypy/module/builtin
From: sanxiyn () codespeak ! net
Date: 2005-02-26 9:14:15
Message-ID: 20050226091415.4003127B42 () code1 ! codespeak ! net
[Download RAW message or body]
Author: sanxiyn
Date: Sat Feb 26 10:14:14 2005
New Revision: 9518
Modified:
pypy/dist/pypy/module/builtin/app_functional.py
Log:
22compat
Modified: pypy/dist/pypy/module/builtin/app_functional.py
==============================================================================
--- pypy/dist/pypy/module/builtin/app_functional.py (original)
+++ pypy/dist/pypy/module/builtin/app_functional.py Sat Feb 26 10:14:14 2005
@@ -2,7 +2,7 @@
Plain Python definition of the builtin functions oriented towards
functional programming.
"""
-
+from __future__ import generators
def sum(sequence, total=0):
# must forbid "summing" strings, per specs of built-in 'sum'
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic