Does this make sense to you?

In [1]: fields = list()

In [2]: f = db.item.id

In [3]: f in fields
Out[3]: False

In [4]: fields.append(f)

In [5]: f in fields
Out[5]: True

In [6]: f = db.item.headline

In [7]: f in fields
Out[7]: True

I mean, the last value of 'f' is a fields object but a different one.

-- 
Yoel Benítez Fonseca
http://redevil.cubava.cu/
$ python -c "import this"

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to