23 Jul
2003
23 Jul
'03
5:16 p.m.
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