[Sqlalchemy-tickets] Issue #2968: Syntax error in WindowedRangeQuery example code (zzzeek/sqlalchem
Brought to you by:
zzzeek
|
From: Julian O <iss...@bi...> - 2014-02-20 13:47:57
|
New issue 2968: Syntax error in WindowedRangeQuery example code https://bitbucket.org/zzzeek/sqlalchemy/issue/2968/syntax-error-in-windowedrangequery-example Julian O: The code in: http://www.sqlalchemy.org/trac/wiki/UsageRecipes/WindowedRangeQuery contains the line: ``` #!python intervals = [for id, in q](id) ``` That's not valid Python 2.7 syntax. I don't think it is valid Python 3.x either. What expression is missing? |