Problem with Lexical Scope
jslowery at gmail.com
jslowery at gmail.com
Fri Dec 16 22:42:55 EST 2005
More information about the Python-list mailing list
Fri Dec 16 22:42:55 EST 2005
- Previous message (by thread): Problem with Lexical Scope
- Next message (by thread): Problem with Lexical Scope
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>def lt(*fields): >> return collect(fields, lambda x, y: x < y) >>def gt(*fields): >> return collect(fields, lambda x, y: x > y) >>def gte(*fields): >> """ gte(field, ...) -> rule >> """ >> return collect(fields, lambda x, y: x >= y) >>etc... >DRY ? ;-) Do you mean by the doc string or the fact that I'm having to redeclare built-in operations?
- Previous message (by thread): Problem with Lexical Scope
- Next message (by thread): Problem with Lexical Scope
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list