Philipp von Weitershausen writes:
 > Why wouldn't that be possible with "a_list/index:?i"?

I think making it "a_list/index:i" is fine.  The adapter for "index:"
will get the index as a string and convert that to an integer and
return a_list[i].  The index: adapter simply represents a namespace in
which all names look like integers.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to