Get dictionary-keys used to format a string
moshez at math.huji.ac.il
Thu Mar 2 20:32:54 CET 2000
On Thu, 2 Mar 2000 cgw at alum.mit.edu wrote:
> class KeyKeeper:
> def __init__(self):
> def __getitem__(self,key):
> return m
Change this to self.m, and you're in business
Moshe Zadka <mzadka at geocities.com>.
INTERNET: Learn what you know.
Share what you don't.
More information about the Python-list