Re: Re: [Prothon-commits] rev 232 - trunk/src
Greg Ewing <[email protected]> Thu, 01 Apr 2004 15:56:12 +1200
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
Mark Hahn <[email protected]>: > This dict generator should return a tuple of key,value pairs. Then to > use it you have to say: > > for key,value in dict: Note that this is different from Python, which just returns the keys in this case. Do you have particular reasons for doing this differently? Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | [email protected] +--------------------------------------+